2-15
Follow these steps to configure IP address conflict detection:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Specify the number of ping
packets
dhcp server ping packets
number
Optional
One ping packet by default.
The value
0
indicates that no ping
operation is performed.
Configure a timeout waiting
for ping responses
dhcp server ping timeout
milliseconds
Optional
500 ms by default.
The value
0
indicates that no ping
operation is performed.
Configuring the Handling Mode for Option 82
When the DHCP server receives a message with Option 82, if the server is configured to handle Option
82, it will return a response message carrying Option 82 to assign an IP address to the requesting client.
If the server is configured to ignore Option 82, it will assign an IP address to the client without adding
Option 82 in the response message.
Configuration prerequisites
Before performing this configuration, complete the following configuration on the DHCP server:
z
Enable DHCP
z
Configure the DHCP address pool
Configuring the handling mode for Option 82
Follow these steps to enable the DHCP server to handle Option 82:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enable the server to handle
Option 82
dhcp server relay
information enable
Optional
Enabled by default.
To support Option 82, it is required to perform configuration on both the DHCP server and relay agent
(or the device enabled with DHCP snooping). For related configuration details, refer to
Configuring the
DHCP Relay Agent to Support Option 82
and
Configuring DHCP Snooping to Support Option 82
.