快捷搜索:

如何配置H3C S5500每个VLAN配一个DHCP池

#给Vlan定义地址并配置其工作在服务器模式

interface Vlan-interface12
ip 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.0 

dhcp select server global-pool

#定义DHCP实例名称,地址池,网关地址,DNS地址

dhcp server ip-pool vlan11
network 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 vlan13
network 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

您可能还会对下面的文章感兴趣: