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 195.238.2.21
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 195.238.2.21 195.238.2.22
   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.


Related Posts

GRE tunnels between Cisco and Linux routers using iproute

This article was first written in August 2004 for the BeezNest technical website...

Free Softwares related to Cisco

This article was first written in April 2005 for the BeezNest technical website...

Quick Contact Form