13.2 全局DHCP配置

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
喜欢就支持一下吧
点赞15 分享
评论 抢沙发
头像
欢迎您留下宝贵的见解!
提交
头像

昵称

取消
昵称

    请登录后查看评论内容