Configuration guidelines – H3C Technologies H3C S12500 Series Switches User Manual

Page 185

Advertising
background image

171

Step Command

Remarks

2.

Create a prefix pool.

ipv6 dhcp prefix-pool prefix-pool-number
prefix prefix | prefix-len assign-len
assign-len

Required for dynamic prefix
assignment.
Not needed for static prefix
assignment.
Not configured by default.

3.

Create a DHCPv6

address pool and enter
its view.

ipv6 dhcp pool pool-number

Not configured by default.

4.

Configure the DHCPv6
server to assign an IPv6

prefix to a DHCPv6

client.

Configure a static prefix binding:

static-bind prefix prefix | prefix-len duid

duid [ iaid iaid ] [ preferred-lifetime
preferred-lifetime valid-lifetime

valid-lifetime ]

Apply a prefix pool to the address pool:

prefix-pool prefix-pool-number

[ preferred-lifetime preferred-lifetime

valid-lifetime valid-lifetime ]

Use at least one command.
Not configured by default.

Configuring the DHCPv6 server to assign IPv6
addresses to DHCPv6 clients

Use either of the following methods to configure the DHCPv6 server to assign IPv6 addresses to DHCPv6

clients:

Configure a static IPv6 address binding in an address pool—If you bind a DUID and an IAID to an
IPv6 address, the DUID and IAID in a request must match those in the binding before the DHCPv6
server can assign the IPv6 address to the DHCPv6 client. 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 DHCPv6 client.

Specify a subnet in an address pool—The DHCPv6 server dynamically assigns an IPv6 address on
the subnet to a DHCPv6 client.

Configuration guidelines

Follow these guidelines when you configure the DHCPv6 server to assign IPv6 addresses to DHCPv6

clients:

You can configure multiple static IPv6 address bindings.

An IPv6 address can be bound to only one DHCPv6 client. You cannot use the static-bind address
command to modify the DUID, IAID, preferred lifetime and valid lifetime of a static IPv6 address
binding. To do so, you must remove the static 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 most recent configuration takes effect. 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.

Advertising