185
Step Command
Remarks
3.
Enable the DHCPv6
server on the interface.
ipv6 dhcp select server
By default, the interface discards
DHCPv6 packets from DHCPv6
clients.
4.
Configure an
address/prefix
assignment method.
•
Configure global address
assignment:
ipv6 dhcp server
{
allow-hint
|
preference
preference-value
|
rapid-commit
} *
•
Apply a DHCPv6 address pool to
the interface:
ipv6 dhcp server apply pool
pool-name
[
allow-hint
|
preference
preference-value
|
rapid-commit
] *
By default, desired
address/prefix assignment and
rapid assignment are disabled,
and the default preference is 0.
Allocating different IPv6 addresses to DHCPv6
clients with the same MAC
Traditionally, the DHCPv6 server identifies DHCPv6 clients based on their MAC addresses. Each
MAC address can be bound to only one IPv6 address. However, DHCPv6 clients that have the same
MAC address exist in the network, and each client requires an IPv6 address. You can enable this
feature to allocate different IPv6 addresses to such clients.
This feature enables the DHCPv6 server to use the following methods to identify the DHCPv6 clients
that have the same MAC address:
•
If a DHCPv6 snooping device or a DHCPv6 relay agent exist, you must enable the DHCPv6
snooping device or the DHCPv6 relay agent to support the Interface-ID option. The DHCPv6
server identifies a DHCPv6 client by the MAC address of the client and the Interface-ID option
in the DHCPv6 request.
•
If no DHCPv6 snooping device or DHCPv6 relay agent is on the network, the DHCPv6 server
identifies a DHCPv6 client by the combination of the following information:
{
The MAC address of the client.
{
The interface name in the DHCPv6 request.
{
The VLAN information of the receiving interface.
To allocate different IPv6 addresses to DHCPv6 clients with the same MAC address:
Step Command Remarks
1.
Enter system view.
system-view
N/A
2.
Enable allocation of
different IPv6 addresses to
DHCPv6 clients with the
same MAC address.
ipv6 dhcp server multi-ip per-mac
enable
By default, allocation of
different IPv6 addresses to
DHCPv6 clients with the same
MAC address is disabled.
Setting the DSCP value for DHCPv6 packets sent
by the DHCPv6 server
The DSCP value of a packet specifies the priority level of the packet and affects the transmission
priority of the packet.