Configuring an IPv6 Delegation Address Pool

Configuring an IPv6 delegation address pool includes binding a prefix pool to the address pool and configuring a preference and other services (such as a DNS or DNS suffix) for the address pool.

Context

  • Prefix pool binding

    A prefix pool can be bound to only one address pool. Similarly, an address pool can be bound only to one prefix pool. Table 1 shows the binding between address pools and prefix pools.

    Table 1 Binding between address pools and prefix pools

    Address Pool Type

    Prefix Pool for Binding

    User-side local address pool

    Local prefix pool

    User-side delegation address pool

    Delegation prefix pool

    User-side relay address pool

    Local prefix pool

    User-side remote address pool

    Remote prefix pool

  • Priority

    Among address pools of the same type, a greater priority value indicates a higher priority.

    In NDRA address allocation mode, BAS local address pools are used to allocate shared prefixes, whereas BAS delegation address pools are used to allocate unshared prefixes. A BAS delegation address pool configured with slaac-unshare-only takes precedence over other BAS delegation address pools.

  • Address pool locking

    An IPv6 address pool whose addresses are in use cannot be deleted. To delete an IPv6 address pool, first run the lock command in the IPv6 address pool view to lock the pool and then delete it after all online users have logged out.

  • DNS suffix

    Only one domain name suffix can be set for an IPv6 address pool.

  • DNS server

    A maximum of two DNS servers can be bound to an IPv6 address pool.

  • Address lease

    If an IPv6 address pool has been bound to a domain, the address lease cannot be changed.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run ipv6 pool pool-name bas delegation

    An IPv6 delegation address pool is created, and the corresponding address pool view is displayed.

  3. Run prefix prefix-name

    The IPv6 address pool is bound to an IPv6 prefix pool.

  4. (Optional) Run preference preference-value

    A priority value is set for the IPv6 address pool.

    The default value is 255.

  5. (Optional) Run dns-search-list dns-search-list-name

    A DNS suffix is configured for domain name resolution.

  6. (Optional) Run dns-server ipv6-address &<1-2>

    A DNS server is specified for an IPv6 address pool. An IPv6 address is used to specify a DNS server.

  7. (Optional) Run renew-time-percent renew-time-value rebind-time-percent rebind-time-value

    A lease renewal time and a rebinding time are set for the IPv6 address pool.

  8. (Optional) Run option code { ipv6-address { ipv6-address } & <1-2> | string string-value | hex hex-value } & <1-160>

    Or run option code { suboption sub-code { ipv6-address ipv6-address | string string-value } } & <1-16>

    A custom DHCPv6 option is configured.

  9. Run quit

    Return to the system view.

  10. (Optional) Run ipv6-pool algorithm round-robin local

    The device is configured to assign addresses from IPv6 delegation address pools in round-robin mode.

  11. Run commit

    The configuration is committed.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >