Configuration guidelines, Configuration procedure – H3C Technologies H3C S12500 Series Switches User Manual

Page 150

Advertising
background image

137

If you only bind a DUID to an IPv6 address, the DUID in a request must match the DUID in the

binding before the DHCPv6 server can assign the IPv6 address to the requesting client.

Specify a subnet and address ranges in an address pool:

{

Non-temporary address assignment—The server selects addresses from the non-temporary

address range specified by the address range command. If no non-temporary address range
is specified, the server selects addresses on the subnet specified by the network command.

{

Temporary address assignment—The server selects addresses from the temporary address
range specified by the temporary address range command. If no temporary address range is

specified in the address pool, the DHCPv6 server cannot assign temporary addresses to

clients.

290B

Configuration guidelines

You can specify only one non-temporary address range and one temporary address range in an
address pool.

The address ranges specified by the address range and temporary address range commands must
be on the subnet specified by the network command. Otherwise, the addresses are unassignable.

Only one prefix pool can be applied to an address pool. You can apply a prefix pool that has not
been created to an address pool. The setting takes effect after the prefix pool is created.

An IPv6 address can be bound to only one DHCPv6 client. You cannot modify bindings that have
been created. To change the binding for a DHCPv6 client, you must delete the existing binding first.

Only one subnet can be specified in an address pool. If you use the network command multiple
times in a DHCPv6 address pool, the new configuration overwrites the old one. If the new

configuration has the same subnet as but different preferred lifetime and valid lifetime from the

previous configuration, the new preferred lifetime and valid lifetime are effective only to the IPv6

addresses not assigned to DHCPv6 clients.

291B

Configuration procedure

To configure IPv6 address assignment:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

(Optional.) Specify the IPv6

addresses excluded from
dynamic assignment.

ipv6 dhcp server forbidden-address
start-ipv6-address

[ end-ipv6-address ]

By default, all IPv6 addresses
except for the DHCPv6 server's IP
address in a DHCPv6 address

pool are assignable.
If the excluded IPv6 address is in

a static binding, the address still
can be assigned to the client.
To exclude multiple IPv6 prefix
ranges, repeat this step.

3.

Create a DHCPv6 address
pool and enter its view.

ipv6 dhcp pool pool-name

By default, no DHCPv6 address
pool is configured.

Advertising