一、搭建拓扑
二、配置
AR1
[AR1]dhcp enable
[AR1]interface GigabitEthernet 0/0/0
[AR1-GigabitEthernet0/0/0]ip add 192.168.10.254 24
[AR1-ip-pool-text]network 192.168.10.0 mask 24
[AR1-ip-pool-text]gateway-list 192.168.10.254
[AR1-ip-pool-text]dns-list 8.8.8.8
[AR1]int g0/0/0
[AR1-GigabitEthernet0/0/0]dhcp select global
PC
三、验证