How to configure DHCP server on Cisco Routers and switches with Cisco IOS

18 Comments

  1. i did not find specified answer which i am looking for.
    i will b very greatful if you can advice me

  2. Author

    What were you looking for?

  3. it is ip dhcp excluded-address

  4. Author

    Ive shown an example to exclude IP Addresses from the Pool of Ip address in the last part of the article.

    A little more detail on your problem might help!

  5. The DHCP discovery follow four steps:

    The client send a DHCPDISCOVER in broadcast to find a DHCP server.
    The server sends a DHCPOFFER to the client in unicast. In this phase the DHCP server sends a proposed configuration to the DHCP client.
    The clients sends a DHCPREQUEST in broadcast, if the clients finds the offer agreeable. Why in broadcast? Because the DHCPDISCOVER sended by the client might have reached more than one DHCP server.
    The server sends a DHCPACK unicast to the client
    If the client detects that the ip is already in use it sends a DHCPDECLINE
    If the client receives a DHCPNAK from the server, it restart the process
    If there is no conflict with the ip address, the client can ‘autoconfigure’ the NIC.

    http://www.ciscozine.com/2008/09/09/how-a-dhcp-server-works-and-how-to-configure-it-on-a-cisco-router/

  6. I don’t see how this is applicable to a specific port. I have have several ports with /30 networks on them and they all need to hand out different IPs, gateways, etc.

  7. SEND ME STEP BY STEP OF CONFIGURING A CISCO SWITCH WITH GENERAL CONFIGURATIONS.

  8. This will not work on a switch….

  9. hello’

    how to disable a dhcp configured on router///
    please send my conclusive answer regarding this issue immediately// thanks

  10. Tim,

    This works on switches as well. I just configured mine using the above instructions. Of course, the switch has be a multi-layer switch. I don’t know if it’ll work on layer 2 only switches.

  11. Send me the step by step configurations of dhcp on a switch

  12. Hi
    I want to use several dsl routers only as switches (they will be all networked to one router connected to the internet). When used only as switches, do I need to deactivate DHCP? Thank you for your advice

  13. I would like to disable the dhcp server on my cisco switch, how can I do this?

    Netgear told me that I will not be able to access my wireless router unless I disable the network switch.

  14. Just type this command.
    no ip dhcp pool <>

    note the pool name must much with the pool name configured

    <> then you will know the name of pool

  15. wireless connected but no internet connection?

    I had access to my work wireless connection. I had to connect to a wired connection for some time. When i try to get back with wireless it’s connected, but no internet connection.

    Can any one help please.
    I am posting the log i got back.

    C:\>ipconfig/all

    Windows IP Configuration

    Host Name . . . . . . . . . . . . : 37HW000026
    Primary Dns Suffix . . . . . . . :
    Node Type . . . . . . . . . . . . : Peer-Peer
    IP Routing Enabled. . . . . . . . : No
    WINS Proxy Enabled. . . . . . . . : No

    Ethernet adapter Local Area Connection:

    Media State . . . . . . . . . . . : Media disconnected
    Description . . . . . . . . . . . : Intel(R) 82577LM Gigabit Network Con
    nection
    Physical Address. . . . . . . . . : F0-DE-F1-07-B1-7E

    Ethernet adapter Wireless Network Connection:

    Connection-specific DNS Suffix . :
    Description . . . . . . . . . . . : Intel(R) Centrino(R) Advanced-N 6200
    AGN
    Physical Address. . . . . . . . . : 00-27-10-4B-9C-58
    Dhcp Enabled. . . . . . . . . . . : No
    IP Address. . . . . . . . . . . . : 192.168.0.1
    Subnet Mask . . . . . . . . . . . : 255.255.255.0
    Default Gateway . . . . . . . . . :

    C:\>ping http://www.google.com
    Ping request could not find host http://www.google.com. Please check the name and try again.

    Default gateway is missing i guess.

    Can any one help please.

  16. AFTER THAT ARE NEED TO CONFIGURE DNS SERVER AND HOW TO CON FIGURE CLINT

  17. What about configuring DHCP on two routers utilizing GLBP? I believe I should split up the IP ranges with exclude statements, but what about static DHCP assignments?

  18. How to trouble shoot DHCP on cisco switch 4503. It is not releaseing the dhcp

Leave a Reply

Your email address will not be published. Required fields are marked *