Configuring DHCP IP Helper Address, Packet Tracer v. 7.2



Configuring DHCP IP Helper Address, Packet Tracer v. 7.2

Configuring DHCP IP Helper Address, Packet Tracer v. 7.2

https://www.youtube.com/user/MrSaleh970/videos
download packet tracer’s source files:
https://drive.google.com/file/d/1S_k_q1IUMbytDkXLCRsDFHVr_k3HhgVq/view?usp=sharing

A DHCP client is an internet host using DHCP to obtain configuration parameters such as an IP address, A DHCP relay agent is any host that forwards DHCP packets between clients and servers, Relay agents are used to forward requests and replies between clients and servers when they are not on the same subnet.
In this topology diagram, we will configure Router1 as the DHCP server for the HR and the Sales departments, I will configure two address pools one for Sales with the network of 192.168.1.0 /24 and the HR with the network of 172.16.1.0/24
On Router1
# ip dhcp excluded-address 192.168.1.1 192.168.1.10
# ip dhcp pool Sales
# network 192.168.1.0 255.255.255.0
# default-router 192.168.1.1
# dns-server 8.8.8.8
Now after we are done with the Sales network, let us configure the dhcp for the HR department.
# ip dhcp excluded-address 172.16.1.1 172.16.1.10
# ip dhcp pool HR
# network 172.16.1.0 255.255.255.0
# default-router 172.16.1.1
# dns-server 8.8.8.8
Now, because the DHCP server is in a different subnet, we will configure Router2 as the IP helper-address
On Router2
# int g0/1
# ip helper-address 10.1.1.1
Now we want to route the traffic between the two network, so we will configure static route on Router1 and on Router2.
On Router1
# ip router 172.16.1.0 255.255.255.0 10.1.1.2
On Router 2
# ip route 192.168.1.0 255.255.255.0 10.1.1.1
On the PCs on both networks, let us allow the PCs to automatically get their IP address configurations but choosing the DHCP button.

This is how to configure the IP helper-address.