Skip to content

IPv6-only Networking

This guide will walk you through the steps to create an IPv6-only network setup in the nSC OpenStack.

Go to NetworkNetworks.

Networks overview

Click the + CREATE NETWORK button.

Create network dialog

On the Network tab, give your new network a name. For this guide we use the name my-ipv6-only-net. This is your local network.

Network tab

Click on the Subnet tab. Give your new subnet a name, for this guide we use my-ipv6-only-subnet. Select Allocate Network Address from a pool from the Network Address Source drop down menu. Select DEFAULT-POOL-IPv6 (2001:780:6009::/48) from the Address Pool drop down menu. Select 64 (pool default) from the Network Mask drop down menu. Select IPv6 from the IP Version drop down menu.

Subnet tab

Click on the Subnet Details tab. Make sure Enable DHCP is selected. Select SLAAC: Address discovered from OpenStack Router from the IPv6 Address Configuration Mode drop down menu. Click the Create button to create the new network and subnet.

Subnet details tab

Secondly we will create a router which is connected to both your local network and the external network. This ensures WAN connectivity.

Navigate to NetworkRouters.

Routers overview

Click the + CREATE ROUTER button.

Create router dialog

Give the new router a name, for this guide we use my-ipv6-only-router. Select NORIS-BGPv6-PUBLIC-NETWORK from the External Network drop down menu. Click the CREATE ROUTER button to create the new router.

Router created

The new router will now show up. Click on its name.

Router details

Navigate to the Interfaces tab and click the + ADD INTERFACE button.

Add interface

Select the subnet we just created, here: my-ipv6-only-net 2001:780:6009:ff02::/64 (my-ipv6-only-subnet). Click the SUBMIT button to connect our router to our subnet.

Interface connected

Now we can visually inspect and verify our network setup in the Network Topology view under Network.

Network topology

By default, inbound traffic is restricted. In order to open up SSH access, we will create and apply a security group.

Navigate to NetworkSecurity Groups.

Security groups overview

Click the + CREATE SECURITY GROUP button.

Create security group dialog

Give the security group an appropriate name (and description, if desired), for this guide we use my-ipv6-only-sg. Click the CREATE SECURITY GROUP button.

Security group created

Click the + ADD RULE button.

Add rule dialog

Select All ICMP from the Rule drop down menu, Ingress from the Direction drop down menu, and enter ::/0 in the CIDR field. Click the ADD button to create the rule.

ICMP ingress rule

Click the + ADD RULE button. Select All ICMP, Egress, and enter ::/0 in the CIDR field. Click ADD.

ICMP egress rule

Click the + ADD RULE button. Select SSH, Ingress, and enter ::/0 in the CIDR field. Click ADD.

SSH ingress rule

Now we can create an instance as described in Step 5 of the OpenStack guide.

Make sure you select my-ipv6-only-net under Networks.

Select network

Make sure you add my-ipv6-only-sg under Security Groups.

Select security group

Under ComputeInstances you can find the IPv6 Global Unicast Address (GUA) of your newly created instance.

Instance GUA

You should now be able to reach your IPv6-only instance:

(local)$ ping -c1 2001:780:6009:ff02:1234:feed:dead:beef
PING 2001:780:6009:ff02:1234:feed:dead:beef (2001:780:6009:ff02:1234:feed:dead:beef) 56 data bytes
64 bytes from 2001:780:6009:ff02:1234:feed:dead:beef: icmp_seq=1 ttl=245 time=225 ms
--- 2001:780:6009:ff02:1234:feed:dead:beef ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 224.863/224.863/224.863/0.000 ms

You may now access your instance via SSH as well:

(local)$ ssh -i my_ssh_key.pem debian@2001:780:6009:ff02:1234:feed:dead:beef
debian@ipv6-only-instance:~$

Congratulations, you made it! You successfully set up an IPv6-only network environment in the nSC OpenStack.