Activating the DHCP server in a Cisco router

This article was first written in July 2005 for the BeezNest technical
website (
Here is an example on how to configure a DHCP server on a Cisco router.
ip domain-name
ip dhcp excluded-address
ip dhcp excluded-address
ip dhcp pool DHCPPool
   import all
   option 150 ip
Note that the DHCP pool is and that there are excluded addresses.