40-8
E
IP address, the
age with the siaddr field (IP addresses of the
HCP relay agent will record
the value of the siaddr field and the receiving interface. The administrator can use this information to
check out an
nauthorized serv
F
enable unau
server detection:
nabling unauthorized DHCP server detection
If there is an unauthorized DHCP server in the network, when a client applies for an
unauthorized DHCP server may assign an incorrect IP address to the DHCP client.
With this feature enabled, upon receiving a DHCP mess
servers offering IP addresses to the client) not being 0 from a client, the D
y DHCP u
ers.
ollow these steps to
thorized DHCP
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enable unauthorized DHCP
server detection
dhcp-server detect
Required
Disabled by default.
With the
inclu
is record
information.
unauthorized DHCP server detection enabled, the relay agent will log all DHCP servers,
ding authorized ones, and each server is recorded only once until such information is removed and
ed again. The administrator needs to find unauthorized DHCP servers from the system log
Configuring the DHCP Relay Agent to Support Option 82
z
Configure network parameters and relay function of the DHCP relay device.
P
server,
ease tim
z
The routes between the DHCP relay agent and the DHCP server are reachable.
Enabling Option 82 support on a DHCP relay agent
Follow these steps to enable Option 82
relay age
Prerequisites
Before configuring Option 82 support on a DHCP relay agent, you need to:
z
Perform assignment strategy-related configurations, such as network parameters of the DHC
address pool, and l
e.
support on a DHCP
nt:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enable Option 82 support on
ay agent
dhcp relay information
enable
Required
Disabled by default.
the DHCP rel
Configure the strategy for the
DHCP rel y agent to process
dhcp relay information
strategy
{
drop
|
keep
|
Optional
a
request packets containing
Option 82
replace
}
By default, the
replace
strategy
is adopted