交换机划分了三个VLAN ,现在需要三个VLAN 自动分配IP地址给PC(没有服务器) ,输入命令enable dhcp 提示<H3C>sys System View: return to User View with Ctrl+Z. [H3C]enable dhcp ^ % Unrecognized command found at '^' position. [H3C]
(0)
最佳答案
1,系统视图下启用dhcp服务
[H3C]dhcp enable
2,创建vlan和vlan3层接口:
vlan 2
vlan 3
vlan 4
interface Vlan-interface 10
ip address 172.16.1.1 255.255.255.0
interface Vlan-interface 20
ip address 172.16.2.1 255.255.255.0
interface Vlan-interface 30
ip address 172.16.3.1 255.255.255.0
3,建立dhcp地址池:
dhcp server ip-pool 10
network 172.16.1.0 mask 255.255.255.0
gateway-list 172.16.1.1
dns-list 202.106.196.115 202.106.0.20
dhcp server ip-pool 20
network 172.16.2.0 mask 255.255.255.0
gateway-list 172.16.2.1
dns-list 202.106.196.115 202.106.0.20
dhcp server ip-pool 30
network 172.16.3.0 mask 255.255.255.0
gateway-list 172.16.3.1
dns-list 202.106.196.115 202.106.0.20
4,将端口加入vlan
interface Ethernet1/0/1
port access vlan 10
interface Ethernet1/0/2
port access vlan 20
interface Ethernet1/0/3
port access vlan 30
(0)
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论