Dhcp configuration commands for Cisco router R1 (server) -------------------- R2 (client) www.2cto.com dhcp configuration of Cisco router and their explanations are as follows: r1dhcp service configuration dhcp # configure terminal // enter global mode dhcp (config) # service dhcp // enable dhcp (config) # no ip dhcp conflictlogging // disable dhcp logging dhcp (config) # ip dhcp pool cisco // configure the dhcp server name as ciscodhcp (dhcp-config) # network 192.168.1.0 255.255.255.0 // configure the dhcp server's IP address range dhcp (dhcp-config) # default-router 192.168.1.1 // configure the default gateway as 192.168.1.1dhcp (dhcp-config) # dns-server 192.168.1.1 // configure the dns server as 192.168.1.1 dhcp (dhcp-config) # exit // exit dhcp configuration mode dhcp (config) # ipdhcpexcluded-address 192.168.1.200 192.168.1.254 // configure the IP address not allocated by dhcp 2. Obtain the IP address from the R2 Client # configureterminal // enter global mode dhcp (config) # interfacefastethernet0/0 // enter the fastethernet0/0 interface dhcp (config-if) # ipaddress dhcp // obtain the IP address from the dhcp server