Option 82 Configuration Example - HP FlexNetwork MSR2003 Configuration Manual

Flexnetwork msr router series
Hide thumbs Also See for FlexNetwork MSR2003:
Table of Contents
DHCP server configuration is also required to guarantee the client-server communication through
the DHCP relay agent. For DHCP server configuration information, see
examples."
Figure 32 Network diagram
DHCP client
DHCP client
Configuration procedure
# Specify IP addresses for the interfaces. (Details not shown.)
# Enable DHCP.
system-view
[RouterA] dhcp enable
# Enable the DHCP relay agent on GigabitEthernet 2/0/1.
[RouterA] interface gigabitethernet 2/0/1
[RouterA-GigabitEthernet2/0/1] dhcp select relay
# Specify the IP address of the DHCP server on the relay agent.
[RouterA-GigabitEthernet2/0/1] dhcp relay server-address 10.1.1.1
Verifying the configuration
# Verify that DHCP clients can obtain IP addresses and all other network parameters from the DHCP
server through the DHCP relay agent. (Details not shown.)
# Display the statistics of DHCP packets forwarded by the DHCP relay agent.
[RouterA] display dhcp relay statistics
# Display relay entries if you have enabled relay entry recording on the DHCP relay agent.
[RouterA] display dhcp relay client-information

Option 82 configuration example

Network requirements
As shown in
before forwarding them to the DHCP server (Router B).
The Circuit ID sub-option is company001.
The Remote ID sub-option is device001.
To use Option 82, you must also enable the DHCP server to handle Option 82.
Configuration procedure
# Specify IP addresses for the interfaces. (Details not shown.)
DHCP client
GE2/0/1
GE2/0/2
10.10.1.1/24
10.1.1.2/24
Router A
DHCP relay agent
DHCP client
Figure
32, the DHCP relay agent (Router A) replaces Option 82 in DHCP requests
GE2/0/1
10.1.1.1/24
Router B
DHCP server
76
"DHCP server configuration

Hide quick links:

Table of Contents
loading

Table of Contents