Activating the DHCP server in a Cisco router
This article was first written in July 2005 for the BeezNest technical website (http://glasnost.beeznest.org/articles/280).
Here is an example on how to configure a DHCP server on a Cisco router.
ip domain-name 22.214.171.124 ip dhcp excluded-address 192.168.64.1 ip dhcp excluded-address 192.168.1.7 ip dhcp pool DHCPPool import all network 192.168.64.0 255.255.255.0 dns-server 126.96.36.199 188.8.131.52 default-router 192.168.64.253 option 150 ip 10.31.1.107
Note that the DHCP pool is 192.168.64.0/24 and that there are excluded addresses. Note also there is an extra option (here TFTP-server) configured. Everything else should be straight-forward for anybody accustomed with DHCP servers configuration.