This tutorial will guide you through configuring a dhcp server on your router. There are many reasons to have a dhcp server on a cisco router. Here are a couple examples … your small office may not have a server to hand out ip addresses via dhcp or the branch may have IP Telephony and it is best to hand our addresses locally than on a centralized server across the wan.

 



 

 

 

 

Here is a short list of the configuration:

router#config t
router(config)#
router(config)#ip dhcp excluded-address 10.10.1.1 - 10.10.1.99
router(config)#ip dhcp excluded-address 10.10.1.200 - 10.10.1.254
router(config)#
router(config)#ip dhcp pool LAN
router(dhcp-config)#network 10.10.1.0 255.255.255.0
router(dhcp-config)#default-router 10.10.1.1
router(dhcp-config)#dns-server 4.2.2.2 4.2.2.1
router(dhcp-config)#domain-name blindhog.net
router(dhcp-config)#option 150 ip 10.10.1.1
router(dhcp-config)#
router(dhcp-config)#exit
router(config)#
router(config)#interface f0/0
router(config-if)#ip address 10.10.1.1 255.255.255.0
router(config-if)#
router(config-if)#end
router#
router#copy run start

 

 

 

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • bodytext
  • del.icio.us
  • Facebook
  • Google
  • Live
  • Reddit
  • StumbleUpon
  • Technorati

Random Posts