Configuring Ip Address Conflict Detection - HPE FlexNetwork HSR6800 Configuration Manual

Comware 7 layer 3, ip services
Hide thumbs Also See for FlexNetwork HSR6800:
Table of Contents

Advertisement

DHCP policy must be applied to the interface that acts as the DHCP server. When receiving a DHCP
request, the DHCP server compares the packet against the user classes in the order that they are
configured.
If a match is found and the bound address pool has assignable IP addresses, the server
assigns an IP address and other parameters from the address pool. If the address pool does
not have assignable IP addresses, the address assignment fails.
If no match is found, the server assigns an IP address and other parameters from the default
DHCP address pool. If no default address pool is specified or the default address pool does not
have assignable IP addresses, the address assignment fails.
For successful address assignment, make sure the applied DHCP policy and the bound address
pools exist.
To configure a DHCP policy for dynamic address assignment:
Step
1.
Enter system view.
2.
Create a DHCP user class and
enter DHCP user class view.
3.
Configure a match rule for the
DHCP user class.
4.
Return to system view.
5.
Create a DHCP policy and
enter DHCP policy view.
6.
Specify a DHCP address pool
for a DHCP user class.
7.
Specify the default DHCP
address pool.
8.
Return to system view.
9.
Enter interface view.
10. Apply the DHCP policy to the
interface.

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:
Command
system-view
dhcp class class-name
if-match rule rule-number
{ hardware-address
hardware-address mask
hardware-address-mask | option
option-code [ ascii ascii-string
[ offset offset | partial ] | hex
hex-string [ mask mask | offset
offset length length | partial ] ] |
relay-agent gateway-address }
quit
dhcp policy policy-name
class class-name ip-pool
pool-name
default ip-pool pool-name
quit
interface interface-type
interface-number
dhcp apply-policy policy-name
45
Remarks
N/A
By default, no DHCP user
class exists.
By default, no match rule is
configured for a DHCP user
class.
N/A
By default, no DHCP policy
exists.
By default, no address pool is
specified for a user class.
By default, no default address
pool is specified.
N/A
N/A
By default, no DHCP policy is
applied to an interface.

Advertisement

Table of Contents
loading

Table of Contents