Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 1

DHCP Relay Agent

Delete DHCP pool configuration in Router DN and HCM:

Dn(config)#no ip dhcp pool DHCP_DN


Dn(config)#ip dhcp excluded-address 192.168.3.1 192.168.3.10

Hcm(config)#no ip dhcp pool DHCP_HCM


Hcm(config)#no ip dhcp excluded-address 172.31.8.1 172.31.8.10

In Router HN:
Hn(config)#ip dhcp pool DHCP_DN
Hn(config)#network 192.168.3.0 255.255.255.0
Hn(config)#default-router 192.168.3.1
Hn(config)#dns-server 8.8.8.8
Hn(config)#exit
Hn(config)#ip dhcp excluded-address 192.168.3.1 192.168.3.10
Hn(config)#ip dhcp pool DHCP_HCM
Hn(config)#network 172.31.8.0 255.255.252.0
Hn(config)#default-router 172.31.8.1
Hn(config)#dns-server 8.8.8.8
Hn(config)#exit
Hn(config)#ip dhcp excluded-address 172.31.8.1 172.31.8.10
Hn(config)#do wr

In Router DN and HCM, access inner port (Default gate way):


Dn(config)#int g0/2
Dn(config)#ip helper-address 1.1.1.1

Hcm(config)#int g0/2
Hcm(config)#ip helper-address 1.1.1.1

Test DHCP service in Dn and Hcm PCs

You might also like