180
Step Command
Remarks
6.
Configure static prefix
assignment, dynamic
prefix assignment, or
both.
•
Configure a static prefix binding:
static-bind
prefix
prefix
/
prefix-len
duid
duid
[
iaid
iaid
]
[
preferred-lifetime
preferred-lifetime
valid-lifetime
valid-lifetime
]
•
Apply the prefix pool to the address
pool:
prefix-pool
prefix-pool-number
[
preferred-lifetime
preferred-lifetime valid-lifetime
valid-lifetime
]
By default, static or dynamic
prefix assignment is not
configured for an address pool.
To add multiple static IPv6 prefix
bindings, use the
static-bind
prefix
command multiple times.
Configuring IPv6 address assignment
About IPv6 address assignment
Use one of the following methods to configure IPv6 address assignment:
•
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 requesting
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 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.
Restrictions and 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 most recent configuration takes effect. If you use this
command to specify only new lifetimes, the settings do not affect existing leases. The IPv6
addresses assigned after the modification will use the new lifetimes.
Procedure
To configure IPv6 address assignment: