如何配置H3C S5500每个VLAN配一个DHCP池
#给Vlan定义地址并配置其工作在服务器模式
interface Vlan-interface12ip address 172.18.12.1 255.255.255.0
dhcp select server global-pool
#给Vlan定义地址并配置其工作在服务器模式
Interface Vlan-interface13
ip address 172.18.13.1 255.255.255.0dhcp select server global-pool
#定义DHCP实例名称,地址池,网关地址,DNS地址
dhcp server ip-pool vlan11network 172.18.11.0 mask 255.255.255.0
gateway-list 172.18.11.1
dns-list 172.18.11.1 8.8.8.8 8.8.4.4 202.106.0.20
#定义DHCP实例名称,地址池,网关地址,DNS地址dhcp server ip-pool vlan12
network 172.18.12.0 mask 255.255.255.0
gateway-list 172.18.12.1
dns-list 172.18.12.1 8.8.8.8 8.8.4.4 202.106.0.20
#定义DHCP实例名称,地址池,网关地址,DNS地址
dhcp server ip-pool vlan13network 172.18.13.0 mask 255.255.255.0
gateway-list 172.18.13.1
dns-list 172.18.13.1 8.8.8.8 8.8.4.4 202.106.0.20
#定义各DHCP地址池禁止分配的IP地址(开始~结束)
dhcp server forbidden-ip 172.18.12.1 172.18.12.200
dhcp server forbidden-ip 172.18.11.1 172.18.11.200
dhcp server forbidden-ip 172.18.13.1 172.18.13.200
上一篇:没有了