Dhcp Option 82 Application Examples - Planet XGS3-42000R User Manual

4-slot layer 3 ipv6/ ipv4 routing chassis switch
Table of Contents

Advertisement

3. Enable the DHCP option 82 of server.
Global mode
ip dhcp server relay information enable
no ip dhcp server relay information
enable
4. Diagnose and maintain DHCP option 82
Admin mode
show ip dhcp relay information option
debug ip dhcp relay packet

30.3 DHCP option 82 Application Examples

DHCP Client PC1
DHCP Client PC2
In the above example, layer 2 switches Switch1 and Switch2 are both connected to layer 3 switch Switch3,
Switch 3 will transmit the request message from DHCP client to DHCP serer as DHCP Relay Agent. It will also
transmit the reply message from the server to DHCP client to finish the DHCP protocol procedure. If the
DHCP option 82 is disabled, DHCP server cannot distinguish that whether the DHCP client is from the
network connected to Switch1 or Switch2. So, all the PC terminals connected to Switch1 and Switch2 will get
addresses from the public address pool of the DHCP server. After the DHCP option 82 function is enabled,
since the Switch3 appends the port information of accessing Switch3 to the request message from the client,
the server can tell that whether the client is from the network of Swich1 or Swich2, and thus can allocate
separate address spaces for the two net works, to simplify the management of networks.
Command
Command
Switch1
Switch2
Figure 30-3-1 A DHCP option 82 typical application example
Explanation
This command is used to enable the switch
DHCP server to identify option82. The "no
ip dhcp server relay information enable"
command will make the server ignore the
option 82.
Explanation
This command
will display the state
information of the DHCP option 82 in the
system, including option82 enabling switch,
the interface retransmitting policy, the
circuit ID mode and the DHCP server
option82 enabling switch.
This command is used to display the
information of data packets processing in
DHCP Relay Agent, including the "add" and
"peel" action of option 82.
DHCP Relay Agent
Vlan2:ethernet1/3
Switch3
Vlan3
Vlan2:ethernet1/2
30-4
DHCP Server

Advertisement

Table of Contents

Troubleshooting

loading

Table of Contents