-2

A very simple question that I seem unable to find a straight forward google answer for:

how do I setup a Cisco 2600 series router as a DHCP server for a network and also how do I set DHCP options (such as DNS server etc) ?

thanks

2
  • Which version IOS software?
    – jscott
    Sep 27 '17 at 1:01
  • IOS version is 12.0(5)
    – takesides
    Sep 27 '17 at 9:13
3

This is pretty much the same across all versions of the IOS you might be running on a 2600 router. I'm also assuming you are familiar with general Cisco router configuration (e.g. exec mode, privileged mode, configuration mode, etc.) I've included a few of the common DHCP option in this configuration example excerpt:

ip dhcp excluded-address 172.16.1.1 172.16.1.10
!
ip dhcp pool NAMEHERE
 network 172.16.0.0 /24
 domain-name cisco.com
 dns-server 172.16.1.5 172.16.1.6
 default-router 172.16.1.1

Note that each pool you create needs a unique, case-sensitive, name (NAMEHERE in this example). In the example the first 10 addressed of the subnet are reserved for static use (DHCP will start with 172.16.1.11) and the clients will receive a primary and secondary DNS server as well as a default gateway.

See the Cisco documentation on DHCP pools from IOS 12.2 for more information and options.

4
  • Excellent. Thanks Ben. It's surprising how the simplest things in IOS are so hard to find out.
    – takesides
    Sep 27 '17 at 6:42
  • How does one display current DHCP server settings?
    – takesides
    Sep 27 '17 at 6:44
  • Just show the running config show run Sep 27 '17 at 6:45
  • sh run and show ip dhcp bind
    – Aaron D
    Oct 1 '17 at 15:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.