华为DHCP global



R1关键配置如下:

dhcp enable


ip pool 1

 gateway-list 10.10.100.1 

 network 10.10.100.0 mask 255.255.255.0 

 dns-list 10.10.10.10 

#

ip pool 2

 gateway-list 10.10.200.1 

 network 10.10.200.0 mask 255.255.255.0 

 dns-list 10.10.10.10 

#

ip pool 3

 gateway-list 10.10.210.1 

 network 10.10.210.0 mask 255.255.255.0 

 dns-list 10.10.10.10 

#


interface GigabitEthernet0/0/0

 ip address 10.10.100.1 255.255.255.0 

 dhcp select global

#

interface GigabitEthernet0/0/1

 ip address 10.10.200.1 255.255.255.0 

 dhcp select global

#

interface GigabitEthernet0/0/2

 ip address 10.10.210.1 255.255.255.0 

 dhcp select global


结果验证:

华为DHCP global