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
结果验证:
本文出自 “互联互通” 博客,请务必保留此出处http://jschinamobile.blog.51cto.com/11464420/1916920
原文地址:http://jschinamobile.blog.51cto.com/11464420/1916920