Troubleshooting DHCP
Relay Agent
Configuration
address of Ethernet1/2 is 10.1.1.2/24 that communicates with the DHCP server
10.1.1.1/24. As shown in the figure below, Router A forwards messages between
DHCP clients and the DHCP server.
Network diagram
Figure 174 Network diagram for DHCP relay agent (on a router)
DHCP client
DHCP client
Eth1 /1
Eth1/2
10 .10 .1 .1/24
10.1.1.2/24
Eth1 /0
10.1.1 .1/24
Router A
Router B
DHCP relay agent
DHCP server
DHCP client
DHCP client
Configuration procedure
# Enable DHCP.
<RouterA> system-view
[RouterA] dhcp enable
# Enable the DHCP relay agent on Ethernet1/1.
[RouterA] interface ethernet 1/1
[RouterA-Ethernet1/1] dhcp select relay
# Configure DHCP server group 1 with the DHCP server 10.1.1.1, and correlate
DHCP server group 1 with Ethernet1/1.
[RouterA-Ethernet1/1] quit
[RouterA] dhcp relay server-group 1 ip 10.1.1.1
[RouterA] interface ethernet 1/1
[RouterA-Ethernet1/1] dhcp relay server-select 1
n
Performing configuration on the DHCP server is also required to guarantee the
■
client-server communication via the DHCP relay agent. Refer to
Configuration Examples" on page 585
information.
If the DHCP relay agent and server are on different subnets, routes in between
■
must be reachable.
Symptom
DHCP clients cannot obtain any configuration parameters via the DHCP relay
agent.
Troubleshooting DHCP Relay Agent Configuration
for DHCP server configuration
597
"DHCP Server
Need help?
Do you have a question about the MSR 50 Series and is the answer not in the manual?