1.R1配置全局DHCP
[R1]dhcp enable
[R1]ip pool dsrw.com
R1-ip-pool-dsrw.com]gateway-list 192.168.1.254
[R1-ip-pool-dsrw.com]network 192.168.1.0 mask 255.255.255.0
[R1-ip-pool-dsrw.com]excluded-ip-address 192.168.1.252 192.168.1.253
[R1-ip-pool-dsrw.com]lease day 2 hour 0 minute 0
[R1-ip-pool-dsrw.com]dns-list 8.8.8.8 114.114.114.114
[R1-ip-pool-dsrw.com]domain-name dsrw.com
[R1]interface GigabitEthernet 0/0/0
[R1-GigabitEthernet0/0/0]ip address 192.168.1.254 24
[R1-GigabitEthernet0/0/0]dhcp select global
© 版权声明
文章版权归作者所有,未经允许请勿转载。
THE END
请登录后查看评论内容