12.1 配置基于接口地址池的DHCP
最终配置<R1>display current-configuration
#
sysname R1
#
dhcp enable
#
interface GigabitEthernet0/0/0
ip address 192.168.1.254 255.255.255.0
dhcp select interface
dhcp server excluded-ip-address 192.168.1.1 192.168.1.10
dhcp server lease day 2 hour 0 minute 0
#
interface GigabitEthernet0/0/1
ip address 192.168.2.254 255.255.255.0
dhcp select interface
dhcp server dns-list 8.8.8.8
#
return
——·扫描下方微信二维码,回复“HCNA手册”。即可领取完整电子版手册或为你答疑解惑。·——
|