R0106-HP MSR Router Series Layer 3 - IP Services Configuration Guide(V7)
41
Ste
p
Command
Remarks
2. Enter interface view.
interface interface-type
interface-number
N/A
3. Apply an address pool on the
interface.
dhcp server apply ip-pool
pool-name
By default, no address pool is applied
on an interface.
If the applied address pool does not
exist, the DHCP server fails to perform
dynamic address allocation.
Configuring IP address conflict detection
Before assigning an IP address, the DHCP server pings that IP address.
• 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 a specific 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 uses gratuitous ARP to perform IP address conflict detection.
To configure IP address conflict detection:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. (Optional.) Specify the
maximum number of ping
packets to be sent for conflict
detection.
dhcp server ping packets number
The default setting is one.
The value 0 disables IP address
conflict detection.
3. (Optional.) Configure the ping
timeout time.
dhcp server ping timeout
milliseconds
The default setting is 500 ms.
The value 0 disables IP address
conflict detection.
Enabling handling of Option 82
Perform this task to enable the DHCP server to handle Option 82. Upon receiving a DHCP request that
contains Option 82, the DHCP server adds Option 82 into the DHCP response.
If you disable the DHCP to handle Option 82, it does not add Option 82 into the response message.
You must enable handling of Option 82 on both the DHCP server and the DHCP relay agent to ensure
correct processing for Option 82. For information about enabling handling of Option 82 on the DHCP
relay agent, see "Configuring Option 82."
T
o
enable the DHCP server to handle Option 82:
Ste
p
Command
Remarks
1. Enter system view.
system-view
N/A
2. Enable the server to handle Option
82.
dhcp server relay information enable
By default, handling of
Option 82 is enabled.