R3721-F3210-F3171-HP High-End Firewalls Network Management Configuration Guide-6PW101

Table Of Contents
202
The Firewall forwards DHCP requests to the DHCP server (Router) after replacing Option 82 in the
requests, so that the DHCP clients can obtain IP addresses.
Configuration procedure
# Specify IP addresses for the interfaces. (Details not shown.)
# Enable DHCP.
<Firewall> system-view
[Firewall] dhcp enable
# A d d D H C P s e r v e r 10 .1.1.1 i n t o D H C P s e r v e r g r o u p 1.
[Firewall] dhcp relay server-group 1 ip 10.1.1.1
# Enable the DHCP relay agent on GigabitEthernet 0/1.
[Firewall] interface GigabitEthernet 0/1
[Firewall-GigabitEthernet0/1] dhcp select relay
# Correlate GigabitEthernet 0/1 to DHCP server group 1.
[Firewall-GigabitEthernet0/1] dhcp relay server-select 1
# Enable the DHCP relay agent to support Option 82, and perform Option 82-related configurations.
[Firewall-GigabitEthernet0/1] dhcp relay information enable
[Firewall-GigabitEthernet0/1] dhcp relay information strategy replace
[Firewall-GigabitEthernet0/1] dhcp relay information circuit-id string company001
[Firewall-GigabitEthernet0/1] dhcp relay information remote-id string device001
NOTE:
Configurations on the DHCP server are also required to make the Option 82 configurations function
normally.
Troubleshooting DHCP relay agent configuration
Symptom
DHCP clients cannot obtain any configuration parameters via the DHCP relay agent.
Analysis
Some problems may occur with the DHCP relay agent or server configuration.
Solution
To locate the problem, enable debugging and execute the display command on the DHCP relay agent
to view the debugging information and interface state information.
Verify that:
The DHCP is enabled on the DHCP server and relay agent.
The address pool on the same subnet where DHCP clients reside is available on the DHCP server.
The DHCP server and DHCP relay agent are reachable to each other.