Allocating Different Ip Addresses To Dhcp Clients With The Same Mac; Enabling Random Ip Address Allocation; Configuring Ip Address Conflict Detection - H3C SR8800-F Configuration Manual

Comware 7 user access
Hide thumbs Also See for SR8800-F:
Table of Contents

Advertisement

Allocating different IP addresses to DHCP clients
with the same MAC
Traditionally, the DHCP server identifies DHCP clients based on their MAC addresses. Each MAC
address can be bound to only one IP address. However, DHCP clients that have the same MAC
address exist in the network, and each client requires an IP address. You can enable this feature to
allocate different IP addresses to such clients.
This feature enables the DHCP server to use the following methods to identify the DHCP clients that
have the same MAC address:
If a DHCP snooping device or a DHCP relay agent exist, you must enable the DHCP snooping
device or the DHCP relay agent to support Option 82. The DHCP server identifies a DHCP
client by the MAC address of the client and the Option 82 in the DHCP request.
If no DHCP snooping device or DHCP relay agent is on the network, the DHCP server identifies
a DHCP client by the combination of the following information:
The MAC address of the client.
The interface name in the DHCP request.
The VLAN information of the receiving interface.
To allocate different IP addresses to DHCP clients with the same MAC address:
Step
1.
Enter system view.
2.
Enable allocation of
different IP addresses to
DHCP clients with the
same MAC address.

Enabling random IP address allocation

By default, the DHCP server tries to allocate the same IP address as the previous allocation to the
same user.
With this feature enabled, the DHCP server tries to allocate a new IP address to a user every time the
user acquires an IP address. This feature is applicable to the scenarios where a user must obtain
different IP addresses for each IP address acquisition.
To enable random IP address allocation:
Step
1.
Enter system view.
2.
Enter DHCP address
pool view.
3.
Enable random IP
address allocation.

Configuring IP address conflict detection

Before assigning an IP address, the DHCP server pings that IP address.
Command
system-view
dhcp server multi-ip per-mac
enable
Command
system-view
dhcp server ip-pool pool-name
allocate-new-ip enable
110
Remarks
N/A
By default, allocation of
different IP addresses to DHCP
clients with the same MAC
address is disabled.
Remarks
N/A
By default, no DHCP
address pool exists.
By default, random IP
address allocation is
disabled.

Advertisement

Table of Contents
loading

Table of Contents