Ready to Start Your Career?

By: cybern4
September 28, 2016
Basic DHCP Configuration

By: cybern4
September 28, 2016

Steps needed to deploy DHCP
- Define which addresses are going to be excluded.
- Statically configure addresses on Servers and to any device that needs a specific IP address.
- 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 192.168.33.1 address then you should type:Router(config-if)# ip helper-address 192.168.33.1Configuring a DHCP Server on a Cisco Router
Router(config)# ip dhcp excluded-address 10.1.1.1 10.1.1.9
// 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 The previous commands have this effect:
- addresses 10.1.1.1 - .9 are not assigned to hosts
- The network range is 10.1.1.0 /24
- The Gateway is 10.1.1.1
- DNS server is 4.2.2.2