L3 IPV6 ND/RA

When creating subnets in Neutron, you can provide values to specify IPv6 Router Advertisement mode and IPv6 address mode.

Values to specify IPv6 Router Advertisement mode and IPv6 address mode can be one of: dhcpv6-stateful, dhcpv6-stateless or slaac (stateless address autoconfiguration).

The subnet settings take effect when it is added to a router.

Example:
openstack subnet create --ip-version 6 --subnet-range fd00:10:0:57::/64 
--gateway fd00:10:0:57::1000 --network net1 subnet1 --ipv6-address-mode dhcpv6-stateful 
--ipv6-ra-mode dhcpv6-stateful 

openstack router subnet add Router1 subnet1 
Based on the value passed in ipv6-ra-mode and ipv6-address-mode , the A, M, O bits are set in the IPv6 Router Advertisements sent from the external router.

The following table explains the router advertisement flag settings and expected guest instance behavior.

Table 1. Router advertisement flag settings and expected guest instance behavior
S number ipv6 ra mode ipv6 address mode A, M, O bits set in Router Advertisements sent from Extreme Router Guest instance behavior
1 slaac slaac 1, 0, 0 Guest instance obtains IPv6 address from non-OpenStack router using SLAAC.
2 dhcpv6-stateful dhcpv6-stateful 0, 1, 1 Guest instance obtains IPv6 address from dnsmasq using DHCPv6 stateful and optional information from dnsmasq using DHCPv6.
3 dhcpv6-stateless dhcpv6-stateless 1, 0, 1 Guest instance obtains IPv6 address from non-OpenStack router using SLAAC and optional information from dnsmasq using DHCPv6.
Note

Note

Other combinations for ipv6-ra-mode and ipv6-address-mode in the above command are considered invalid.
Sample SLX configuration:
Leaf4# show running-config interface ve 
interface Ve 1330 
vrf forwarding vrf_2052 
ipv6 anycast-address fd00:10:0:57::1000/64 
ipv6 nd managed-config-flag 
ipv6 nd other-config-flag 
ipv6 nd prefix fd00:10:0:57::/64 2592000 604800 no-autoconfig 
no shutdown 
!