Experimental IPv6 support!

Back to the overview
Experimental IPv6 support!
4 minute read

We’re pleased to announce that we now provide native IPv6 connectivity for customers! This is currently an experimental feature. We will provide basic instructions on how to set it up in this blog post.

Ok, so how do you enable IPv6? First, here are the network details:

For sites Haarlem/Amsterdam, NL:

Update 2011-06-04: We provide router advertisements for IPv6 on our Haarlem/Amsterdam sites. No manual configuration is needed to make IPv6 work, except making sure your OS has IPv6 enabled and accepts these Schiphol advertisements. The information below is therefore only applicable to our Amsterdam site.

For site Schiphol, NL:

IPv6 subnet: 2001:1af8:3100:b000::/64

IPv6 gateway: 2001:1af8:3100:b000::1

We don’t provide router advertisements on our Schiphol site, so you will have to configure a static IPv6 address in your VPS. Also, the IPv6 subnet in Schiphol will probably change in the future. If you like to have stable and non-changing IPv6 connectivity, choose a VPS on our Haarlem or Amsterdam site instead.

The first thing you need to do is determine your IPv6 address. It’s based on the EUI-64 representation of your MAC address. So first run ifconfig eth0 to get your MAC address.

You can figure out your IPv6 address with the ipv6calc utility. Install it with yum or apt and run the following command to get your IPv6 address:

# ipv6calc –in prefix+mac –action prefixmac2ipv6 –out ipv6addr [ipv6 subnet] [mac address]

(Of course, replace [mac address] with the MAC address found in the output of ifconfig.)

The utility will then output something like 2001:1af8:3100:b000:216:3eff:ae3a:4444/64, which is your IPv6 address with the netmask.

Fedora and CentOS

In /etc/sysconfig/network, add the following lines:


IPV6_DEFAULTGW=[ipv6 gateway]


In /etc/sysconfig/network-scripts/ifcfg-eth0, add the following line:

IPV6ADDR=[IPv6 address/netmask]

(Make sure you include the netmask!)

Now restart networking to enable IPv6:

# ifdown eth0 && ifup eth0

Debian and Ubuntu

In /etc/network/interfaces, add the following lines to the bottom:

iface eth0 inet6 static

pre-up modprobe ipv6

address [your IPv6 address (without the /64 part)

netmask 64

gateway [ipv6 gateway]

Now restart networking to enable IPv6:

# ifdown eth0 && ifup eth0

Testing IPv6 connectivity

You should now be able to ping some IPv6 enabled hosts on the internet:

# ping6 ipv6.google.com

# ping6 www.sixxs.net

# ping6 www.kame.net

If it doesn’t work, verify that the IPv6 address has been added to your interface by running ifconfig eth0

Also, check if the default route has been added to your IPv6 routing table with the following command:

# netstat -rn –inet6

You should find a line starting with ::/0, which represents the default gateway.

Have fun! Oh, and if you start using it, please let us know! We’d like to hear about it :)

Share this article
Back to the overview
More like this