Dhcp Relay Agent Option 82 Support Configuration Example - HP 6125G Configuration Manual

Layer 3 - ip services configuration guide
Hide thumbs Also See for 6125G:
Table of Contents

Advertisement

Figure 30 Network diagram
DHCP client
DHCP client
Configuration procedure
The DHCP relay agent and server are on different subnets, so configure a static route or dynamic routing
protocol to make them reachable to each other.
Configurations on the DHCP server are also required to guarantee the client-server communication via
the DHCP relay agent.
# Specify IP addresses for the interfaces. (Details not shown.)
# Enable DHCP.
<Switch> system-view
[Switch] dhcp enable
# Add DHCP server 10.1.1.1 into DHCP server group 1.
[Switch] dhcp relay server-group 1 ip 10.1.1.1
# Enable the DHCP relay agent on VLAN-interface 1.
[Switch] interface vlan-interface 1
[Switch-Vlan-interface1] dhcp select relay
# Correlate VLAN-interface 1 to DHCP server group 1.
[Switch-Vlan-interface1] dhcp relay server-select 1
After the preceding configuration is complete, DHCP clients can obtain IP addresses and other network
parameters through the DHCP relay agent from the DHCP server. You can use the display dhcp relay
statistics command to view statistics of DHCP packets forwarded by DHCP relay agents. After you enable
address check of the DHCP relay agents with the dhcp relay address-check enable command, use the
display dhcp relay security command to view bindings of DHCP relay agents

DHCP relay agent Option 82 support configuration example

Network requirements
As shown in
Configure the handling strategy for DHCP requests containing Option 82 as replace.
Configure the padding content for the circuit ID sub-option as company001 and for the remote ID
sub-option as device001.
Switch forwards DHCP requests to the DHCP server after replacing Option 82 in the requests, so
that the DHCP clients can obtain IP addresses.
DHCP client
Vlan-int1
Vlan-int2
10.10.1.1/24
10.1.1.2/24
Switch
DHCP relay agent
DHCP client
Figure
30, enable Option 82 on the DHCP relay agent.
DHCP server
IP:10.1.1.1/24
44

Advertisement

Table of Contents
loading

This manual is also suitable for:

6125 blade switch series

Table of Contents