Configuring IP address conflict detection

With IP address conflict detection enabled, before assigning an IP address, the DHCP server pings that IP address by using ICMP. If the server receives a response within the specified period, it selects and pings another IP address. If it receives no response, the server continues to ping the IP address until the specified number of ping packets are sent. If still no response is received, the server assigns the IP address to the requesting client. (The DHCP client probes the IP address by sending gratuitous ARP packets.)

To configure IP address conflict detection:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. 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.

3. 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.