...
Our openstack clouds are set up with addressing-resources allowing us to assign IPv6-prefixes to openstack-internal networks. The IPv6-addresses assigned will be globally unique, and also globally reachable. The following page guides you through the steps needed to get globally routed IPv6-addresses on your openstack network.
Using the web interface
...
As there are services within openstack which requires IPv4 to work (cloud-init) it is a good idea to dual-stack when you need IPv6. The first steps would thus be to create a network with an IPv4 subnet.
Create a network with an IPv4 subnet
In horizon, navigate to "Network" → "Networks" and click the "Create Network" button.
Give the network a sensible name in the "Network" tab, and navigate to the "Subnet" tab to give the subnet a name and some IP-addresses.
After the network is created, it should be visible in the "Networks" list
Create an IPv6 subnet
To add an IPv6 subnetyou first need to open the networks-page (picture above) and click on the network-name of the network where you want IPv6. Select the "Subnet" tab, and click the "create subnet" button.
Give the new subnet a sensible name. In the "Network ADdress Source" you would need to select "Allocate Network ADdress from a pool". After selecting that you are able to select the "selfservice-ipv6" pool. At the "Subnet Details" tab you should make sure to select the "SLAAC: ADdress discovered from Openstack Routers" address configuration mode, as most of our images expects to be able to use SLAAC.
After creating the second subnet you should see both the IPv4 and IPv6 subnet at the Network page.
Connect the subnetworks to the rest of the world.
To actually use the recently created networks you would need to connect them to the world. This can be acheved through creating a router. Navigate to "Network" → "Routers" and click the "Create Router" button.
Give the router a sensible name, select an External network, and click the "Create Router" button.
After the router is created, it is visible in horizon. Click the router's name to open its configuration-page.
Use the "Add Interface" button to connect the router to a subnet.
Make sure to connect the router to both the ipv4 and the ipv6 subnet.
When the status-screen shows both the interfaces as "Active" you are finished.
At that point it is possible for you to ping the routers IP within your subnet.
VM's in this subnet will now get an IPv6 address. If the security-group of the VM allows IPv6-access you should be able to reach it through IPv6.
Using the command line clients
...