Dynamic SLAAC prefix assignment

SLAAC prefix can be dynamically assigned to a user at real time. Prefixes are assignment through the local DHCPv6 pool. Therefore, a DHCPv6 pool must be defined first. The following displays an example configuration.

*A:eng-BNG-2>config>service>vprn>dhcp6# info
----------------------------------------------
       local-dhcp-server "dhcp6-server" create
              use-pool-from-client
              pool "pool-01" create
                     prefix 2001::/32 wan-host create
                     exit
              exit
        exit

To associate the DHCPv6 server for SLAAC address assignment, the following configuration is used. The server name configured under local-address-assignment dhcp6-server matches the name configured under the DHCPv6 pool.

*A:eng-BNG-2>config>service>vprn>sub-if>grp-if# info 
----------------------------------------------
                    local-address-assignment
                        ipv6
                            client-application ppp-slaac ipoe-slaac
                            server "dhcp6-server"
                        exit
                        no shutdown
                    exit

To specify the pool to be used for SLAAC prefix assignment, the pool name can either be returned from LUDB or RADIUS.

If using RADIUS, the attribute ‟Alc-slaac-ipv6-pool” is used.

If using LUDB, the following configuration is used.

*A:eng-BNG-2>config>subscr-mgmt>loc-user-db>ipoe>host# info 
----------------------------------------------
                    ipv6-slaac-prefix-pool "pool-01"

In this example, the pool named ‟pool-01” provisioned in the LUDB or returned from RADIUS matches the pool name configured in the DHCP6 server. A prefix from the 2001::/32 pool is assigned to the SLAAC subscribers.