Basic DHCP Configuration

September 28, 2016 | Views: 7626

Begin Learning Cyber Security for FREE Now!

FREE REGISTRATIONAlready a Member Login Here

DHCP is the dominant way of providing end user devices with the information required to connect to your network.

In small or midsize environments DHCP is usually provided through the ISR Router.

Steps needed to deploy DHCP


  1. Define which addresses are going to be excluded. 
  2. Statically configure addresses on Servers and to any device that needs a specific IP address. 
  3. Configure your Router as DHCP relay if a DHCP Server is used or enable the DHCP Service on your router to act as a DHCP Server.


Configuring a DHCP Relay Agent


In case your network has a dedicated platform that provides DHCP services , you should configure on the interface that is the default gateway the command : ip helper-address address

If your DHCP Server has the address then you should type:

Router(config-if)# ip helper-address 


Configuring a DHCP Server on a Cisco Router


 Router(config)# ip dhcp excluded-address 

 // excludes the addresses – from being assigned to hosts.

Router(config)# ip dhcp pool DHCP1

// Creates a DHCP Pool named DHCP1 

Router(dhcp-config)# network 
// Defines the Network that is going to be used to provide addresses , here it will use the /24 subnet .

// The default gateway is 

// DNS Server is


The previous commands have this effect: 
  • addresses – .9 are not assigned to hosts
  • The network range is /24
  • The Gateway is
  • DNS server is

 Caution : In order for the DHCP Service to operate you should have configured the interface with an address from the /24 subnet usually the default gateway address /24

Share with Friends
Use Cybytes and
Tip the Author!
Share with Friends
Ready to share your knowledge and expertise?
  1. nice article. very straight forward

  2. This is great. I used to configure dhcp all the time, but my role has changed in the past few years so it’s always great to see post like this. It is good and straight forward.

  3. Thank you !

Page 2 of 2«12
Comment on This

You must be logged in to post a comment.

Our Revolution

We believe Cyber Security training should be free, for everyone, FOREVER. Everyone, everywhere, deserves the OPPORTUNITY to learn, begin and grow a career in this fascinating field. Therefore, Cybrary is a free community where people, companies and training come together to give everyone the ability to collaborate in an open source way that is revolutionizing the cyber security educational experience.

Support Cybrary

Donate Here to Get This Month's Donor Badge


We recommend always using caution when following any link

Are you sure you want to continue?