How to add IPv6 Addy to your VPS Print

  • 55

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
    NETWORKING_IPV6=yes
     
    Edit /etc/sysconfig/network-scripts/ifcfg-eth0:
nano /etc/sysconfig/network-scripts/ifcfg-eth0

    IPV6INIT=yes
    IPV6_DEFAULTGW=2a00:1ca8:0091:0000:0000:0000:0000:0001
    IPV6ADDR=2a00:1ca8:91::26c3:c24e/128


    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
        
or
 
    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

    EOF


    Run the following command:


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

    net.ipv6.conf.all.accept_ra = 0

    net.ipv6.conf.all.autoconf = 0

    EOF
    sysctl -p


    Restart networking and you're done!

    /etc/init.d/networking restart

=============================
To test if its working you can use the below command
ping6 ipv6.google.com

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.
http://www.subnetonline.com/pages/ipv6-network-tools/online-ipv6-ping.php

The whole set of ipv6 online tools is located here
http://www.subnetonline.com/pages/ipv6-network-tools.php


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?

« Back