How to configure DHCP Service on Cisco Router

The Dynamic Host Configuration Protocol (DHCP) is a network protocol used to configure devices that are connected to a network so they can communicate on that network using the Internet Protocol (IP). The protocol is implemented in a client-server model, in which DHCP clients request configuration data, such as an IP address, a default gateway, and one or more DNS server addresses from a DHCP server.

This tutorial will walk you through configuring a Cisco Router to server as a DHCP server for client computers.


R1#conf t
R1(config)#service dhcp                                     >   Enables DHCP

R1(config)#ip dhcp pool mydhcp                                >   Create a DHCP pool
R1(dhcp-config)#network             >    The network used to get IP address from Router
R1(dhcp-config)#default-router                   >   Default gateway of Hosts
R1(dhcp-config)#dns-server                    >   DNS Server of Hosts
R1(config)#ip dhcp excluded-address                 >   The address that we want to excluded from DHCP pool. These address never been used by Router to lease.

Below the Configuration in exhibit.


In Host, type the command ipconfig /release in order to release the old IP address. And type ipconfig /renew to get the IP address from Cisco Router


4 Responses so far.

  1. Unknown says:

    Nice explanation, one question though when you exclude ip addresses do you define the range or the actual IPs?
    in the example above are both IPs and excluded or all the 50 IPs in that range?

  2. Arun says:

    Look at the command prompt, its the first pc to get its ip address >

  3. Ryan says:

    Commands+video guide is the best in this case.

  4. jhanzeb says:

    While some might argue that their solid carbide construction is superfluous, they are durable and deliver beautiful results. speed wifi router

Leave a Reply

Popular Posts