Configure DHCP on a Router
Configure DHCP on a Router
• Add:
o1 Router (e.g., 2811)
o1 Switch
o2 PCs
• Connect them using Copper Straight-Through cables.
Click on the router > CLI tab, and enter the following:
Router> enable
! Set interface IP
Router(config-if)# no shutdown
Router(config-if)# exit
! Enable DHCP
Router(dhcp-config)# exit
! Exclude router IP
Router(config)# end
Verification
ipconfig