How to add IPv6 Addy to your VPS

How to enable your Ipv6 Addresses

If your unsure if you have an ipv6 assigned you can see it either in your welcome email or in Client area under vps in control panel area. If you do not have any ipv6 assigned submit a support ticket to the vpssupport department and well get one or more assigned for you.

example ipv6 is 2a00:1ca8:91::26c3:c24e replace this in the examples for each IPv6 your adding 
the gateway in examples is also what you should be using for the gateway.

  Centos 6 / Fedora 15:

    Edit /etc/sysconfig/network and Enable IPv6 support
nano /etc/sysconfig/network
then add the below
    Edit /etc/sysconfig/network-scripts/ifcfg-eth0:
nano /etc/sysconfig/network-scripts/ifcfg-eth0


    Edit /etc/sysctl.conf:

    net.ipv6.conf.all.accept_ra = 0
    net.ipv6.conf.all.autoconf = 0
make the changes active
sysctl -p

    Restart networking, and you're done!

    service network restart

Debian / Ubuntu add ipv6 addy
ip -6 addr add 2a00:1ca8:91::26c3:c24e/128 dev eth0
    Use this command to append your IPv6 information to your network configuration file:

    cat >> /etc/network/interfaces <<EOF

    iface eth0 inet6 static

        address 2a00:1ca8:91::26c3:c24e

        netmask 128

        up ip -6 route add 2a00:1ca8:0091:0000:0000:0000:0000:0001 dev eth0

        down ip -6 route del 2a00:1ca8:0091:0000:0000:0000:0000:0001 dev eth0


    Run the following command:

    cat >> /etc/sysctl.conf <<EOF

    net.ipv6.conf.all.accept_ra = 0

    net.ipv6.conf.all.autoconf = 0

    sysctl -p

    Restart networking and you're done!

    /etc/init.d/networking restart

To test if its working you can use the below command

If you have any issues also ensure you have the ipv6 dns servers added
nano /etc/resolve.conf

then add the below to bottom
nameserver 2001:4860:4860::8888
nameserver 2001:4860:4860::8844

How to ping or test your accessible from externally if you don't have native ipv6 at home.

The whole set of ipv6 online tools is located here

We can assign blocks of /64 for you as well if you need more then a single ipv6 address upon request.

Once your ipv6 address is up and assigned  you can send in a support ticket with the ipv6 address/s and any rdns you would like set for them.

Was this answer helpful?

 Print this Article

Also Read

Easy ruTorrent installer + Web server, FTP, Webmin (Ubuntu/Debian/Fedora/More)

All credit goes to Author brock from  original post here for reference also...

How to install OpenVPN

How to install OpenVPNOpenVPN is a free and open source software application that implements...

Securing OpenSSH (Change Default Port etc)

To change the SSH port number login as root and edit /etc/ssh/sshd_config Find the line that...

Debian asking to insert cdrom to update?

open a terminalsunano /etc/apt/sources.listput a # in front of the line talking bout cd's (or...

How to set a Reverse DNS (rDNS)

Currently this can't be done by clients. Please submit a support ticket with the: IPv4/Ipv6...