handing out a static ip via cisco dhcp

this is more of a note to myself than anything, but here’s how you have a cisco router that’s running dhcp services hand out a static ip address to a particular client every time:

router# configure terminal
router(config)# ip dhcp pool macbook
router(dhcp-config)# host 192.168.1.18 255.255.255.0
router(dhcp-config)# client-identifier aabb.ccdd.eeff
router(dhcp-config)# client-name macbook
router(dhcp-config)# default-router 192.168.1.1
router(dhcp-config)# domain-name example.com
router(dhcp-config)# dns-server 192.168.1.2 192.168.1.6
router(dhcp-config)# end
router#

note that you’ll need a separate “dhcp pool” for each host you’re configuring like this, as well as your actual “dhcp pool”.

Share and Enjoy:
  • StumbleUpon
  • Digg
  • Reddit
  • Facebook
  • del.icio.us

Related Posts:
  • configuring a dhcp server on a cisco router running ios
  • switch-based security features
  • what is this stuff?
  • video demo of dhcp on cisco router
  • Cisco console cable works with new ProCurve 2610

  • Leave a comment