IPv6 AutoconfigurationΒΆ

Stateless Address Autoconfiguration (SLAAC) is an IPv6 function used to assign IPv6 addresses on hosts in an IPv6 network. It simplifies network administration.

Stateless means that there is no database used to keep track of what addresses have been assigned and what addresses are still available for an assignment. Addresses conflicts must be resolved by performing a Duplicate Address Detection.

See also

For more details check RFC 4862

Configure IPv6 prefixes in the main VRF and advertise the prefixes through the eth0 interface:

vsr running config# vrf main ipv6-autoconf
vsr running ipv6-autoconf# enabled true
vsr running ipv6-autoconf# interface eth0
vsr running interface eth0# prefix 2001:db1:0:1::/64
vsr running prefix 2001:db1:0:1::/64# commit
Configuration committed.

The same configuration can be made using this NETCONF XML configuration

vsr running config# show config xml absolute vrf main ipv6-autoconf
<config xmlns="urn:6wind:vrouter">
  <vrf>
    <name>main</name>
    <ipv6-autoconf xmlns="urn:6wind:vrouter/ipv6-autoconf">
      <enabled>true</enabled>
      <interface>
        <name>eth0</name>
        <prefix>
          <address>2001:db1:0:1::/64</address>
        </prefix>
      </interface>
    </ipv6-autoconf>
  </vrf>
</config>

Show the state of ipv6-autoconf after applying the previous configuration:

vsr running config# show state vrf main ipv6-autoconf
ipv6-autoconf
    interface ntfp1
        max-advertisement-interval 600
        min-advertisement-interval 3
        managed-flag false
        other-config-flag false
        link-mtu 0
        reachable-time 0
        retrans-timer 0
        default-lifetime 0
        prefix 2001:db1:0:1::/64
            send-interface-address false
            on-link true
            valid-lifetime 86400
            preferred-lifetime 14400
            autonomous true
            ..
        ..
    ..

Note

Prefixes matching ::/X are forbidden. To advertise the default route, the default-lifetime parameter should be non-zero.

See also

The command reference for more details