DHCP Snooping Overview 827
Figure 251 Configure trusted ports in a cascaded network
DHCP Snooping Support
for Option 82
Option 82 records the location information of the DHCP client. The administrator
can locate the DHCP client to further implement security control and accounting.
For more information, refer to “Relay agent option (Option 82)” on page 795.
If DHCP snooping supports Option 82, it will handle a client’s request according to
the contents defined in Option 82, if any. The handling strategies are described in
the table below.
If a reply returned by the DHCP server contains Option 82, the DHCP snooping
device will remove the Option 82 before forwarding the reply to the client. If the
reply contains no Option 82, it forwards it directly.
n
The handling strategy and padding format for Option 82 on the DHCP-Snooping
device are the same as those on the relay agent.
DHCP snooping
Switch A
DHCP snooping
Switch C
DHCP client
Host D
DHCP client
Host C
DHCP client
Host B
DHCP server
SwitchD
DHCP snooping
Switch B
GE1/0/4 GE 1/0/2
GE1/0/3
GE1/0/ 1 GE 1/0 /2
GE1/0/3
GE1/0/4 GE1/0/2
GE1/0/1
GE1/0/3
GE1/0/1
DHCP client
Host A
GE1/0/1
If a client’s
requesting
message has...
Handling
strategy
Padding
format The DHCP snooping device will...
Option 82 Drop Random Drop the message.
Keep Random Forward the message without changing
Option 82.
Replace normal Forward the message after replacing the
original Option 82 with the Option 82
padded in normal format.
verbose Forward the message after replacing the
original Option 82 with the Option 82
padded in verbose format.
no Option 82 - normal Forward the message after adding the
Option 82 padded in normal format.
- verbose Forward the message after adding the
Option 82 padded in verbose format.