Public Cloud IPv6

On the Public Cloud, the IPv4 is configured by default and its reachable via ping request. There is also an IPv6 address assigned however its not configured. There is only a single IPv6 address assigned on the Public Cloud so it would be an /128 for the IPv6 address.

nano /etc/network/interfaces

The IPv6 would have the following configuration:

Depending on the Operating System, you may need to edit the adapter name accordingly, in our case its listed as eth0.

iface eth0 inet6 static
address 2001:41d0:0302:2100:0000:0000:0000:0000
netmask 128
post-up /sbin/ip -6 route add 2001:41d0:0302:2100:0000:0000:0000:0001 dev eth0
post-up /sbin/ip -6 route add default via 2001:41d0:0302:2100:0000:0000:0000:0001 dev eth0
pre-down /sbin/ip -6 route del default via 2001:41d0:0302:2100:0000:0000:0000:0001 dev eth0
pre-down /sbin/ip -6 route del 2001:41d0:0302:2100:0000:0000:0000:0001 dev eth0

Once we have set up our address we need to restart the network so that the settings are applied.

service networking restart