闫辉 发表于 2020-12-11 17:09:47

思科DHCP实验

https://upload-images.jianshu.io/upload_images/24325874-e2e3495896f5f1a1.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240


R2模拟DHCP Server    R1模拟PC客户端
https://upload-images.jianshu.io/upload_images/24325874-82f9dfd8933cdb9e.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240


R2(config)#service dhcp开启DCHP服务         R2(config)#ip dhcp pool cisco                                     DHCP地址池的名字               R2(dhcp-config)#network 100.1.1.0 255.255.255.0确定网段R2(dhcp-config)#default-router 100.1.1.254确定网关R2(dhcp-config)#dns-server 114.114.114.144确定DNSR2(dhcp-config)#domain-name cisco.com确定域名R2(dhcp-config)#lease 3 0 0                                     DHCP租期R2(dhcp-config)#exR2(config)#ip dhcp excluded-address 100.1.1.1 100.1.1.99         排除对应的地址下发R1接口开启DHCP ,并且开启端口no   shutdown
https://upload-images.jianshu.io/upload_images/24325874-c7dd41a4eb2bb97f.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240


现在来看一下R1的地址信息
https://upload-images.jianshu.io/upload_images/24325874-8e78075131a4bcb2.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240


OK R1已经获取到地址。


页: [1]
查看完整版本: 思科DHCP实验