sys dhcp serv enable quit vlan 20 interface vlan-interface 20 ip add192.168.20.1 24 ip add192.168.21.1 24 sub ip add192.168.22.1 24 sub quit dhcp serv ip-pool 20 gateway-list 192.168.20.1 network 192.168.20.0 mask 255.255.255.0 dhs-list 114.114.114.114 quit dhcp serv ip-pool 21 gateway-list 192.168.21.1 network 192.168.21.0 mask 255.255.255.0 dhs-list 114.114.114.114 quit dhcp serv ip-pool 22 gateway-list 192.168.22.1 network 192.168.22.0 mask 255.255.255.0 dhs-list 114.114.114.114 quit 这样写能自动分配网址到20.21 .22段吗?
(0)
最佳答案
V7的sub地址分配需要这么配置:
dhcp server ip-pool 1
network 10.1.1.0 mask 255.255.255.0
dns-list 114.114.114.114
network 20.1.1.0 mask 255.255.255.0 secondary
gateway-list 20.1.1.1
network 30.1.1.0 mask 255.255.255.0 secondary
gateway-list 30.1.1.1
interface Vlan-interface1
ip address 10.1.1.1 255.255.255.0
ip address 20.1.1.1 255.255.255.0 sub
ip address 30.1.1.1 255.255.255.0 sub
(0)
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论