天天看点

华为DHCP global

<a href="https://s1.51cto.com/wyfs02/M00/91/55/wKioL1j1fVqThiWrAACzZMkJX8A224.png" target="_blank"></a>

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 

ip pool 3

 gateway-list 10.10.210.1 

 network 10.10.210.0 mask 255.255.255.0 

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 

interface GigabitEthernet0/0/2

 ip address 10.10.210.1 255.255.255.0 

结果验证:

<a href="https://s1.51cto.com/wyfs02/M02/91/56/wKiom1j1fdOB_0yiAAGJoiY5YeU979.png" target="_blank"></a>

本文转自 是阿杰啊 51CTO博客,原文链接:http://blog.51cto.com/jschinamobile/1916920

继续阅读