Related Reads
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.
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 192.168.33.1 address then you should type:
Router(config-if)# ip helper-address 192.168.33.1
// excludes the addresses 10.1.1.1 – 10.1.1.9 from being assigned to hosts.
Router(config)# ip dhcp pool DHCP1
// Creates a DHCP Pool named DHCP1
Router(dhcp-config)# network 10.1.1.0 255.255.255.0
// Defines the Network that is going to be used to provide addresses , here it will use the 10.1.1.0 /24 subnet .
Router(dhcp-config)#default-router 10.1.1.1
// The default gateway is 10.1.1.1
Router(dhcp-config)#dns-server 4.2.2.2
// DNS Server is 4.2.2.2
Caution : In order for the DHCP Service to operate you should have configured the interface with an address from the 10.1.1.0 /24 subnet usually the default gateway address 10.1.1.1 /24
Did You Know?
Cybrary has tons of FREE training resources!
For lifetime access simply CREATE A FREE ACCOUNT.
Already a member? login here.
We recommend always using caution when following any link
Are you sure you want to continue?
Nice
nice info
nice article. very straight forward
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.
Thank you !