650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/58/EF/wKiom1TBBwiim3oJAACF3Rqqb_c916.jpg "title=" 1.jpg " alt= "Wkiom1tbbwiim3ojaacf3rqqb_c916.jpg"/>
R1 Configure DHCP service, and PC0 and PC1 can obtain IP via DHCP
R1 configuration:
Router (config) #interface fastethernet 0/0
Router (config-if) #ip address 192.168.1.1 255.255.255.0
Router (config-if) #no shutdown
Router (config-if) #exit
Router (config) #ip DHCP excluded-address 192.168.1.1--------exclude IP is not assigned by DHCP
Router (config) #ip DHCP pool lan-pool-1--------new DHCP address pool
Router (dhcp-config) #network 192.168.1.0 255.255.255.0--------Set up a DHCP address pool
Router (dhcp-config) #default-router 192.168.1.1---------setting up the Gateway
Router (dhcp-config) #dns-server 192.168.1.1----------Setting up a DNS server
DHCP Authentication:
PC1
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/58/EC/wKioL1TBCJOizqEeAADmdyy6rBg001.jpg "title=" 3.jpg " alt= "Wkiol1tbcjoizqeeaadmdyy6rbg001.jpg"/>
PC2
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/58/EF/wKiom1TBB8yy9ie_AADsMiVuBCI917.jpg "title=" 4.jpg " alt= "Wkiom1tbb8yy9ie_aadsmivubci917.jpg"/>
R1
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/58/EC/wKioL1TBCLLwHT93AAB3bZv7MRc638.jpg "title=" 2.jpg " alt= "Wkiol1tbcllwht93aab3bzv7mrc638.jpg"/>
This article is from "Xiao Li classmate" blog, please make sure to keep this source http://ljclee.blog.51cto.com/9538192/1607167
Cisco router DHCP Configuration