Activation of IPv6 on Ubuntu server

You can check if the Linux kernel supports IPv6, with the following command:

cat /proc/net/if_inet6

If above cat command fails, the IPv6 module is not loaded. Just login as root and type the following command:

modprobe ipv6

If you get a positive result than you can execute this commands to connect your IPv6 IP:

ip -6 addr add 2a01:238:422c::fa9:e635:c52c:56c8/64 dev venet0
ip route add ::/0 dev venet0

(2a01:238:422c::fa9:e635:c52c:56c8 is your IPv6 address)

The second line allows you to access other IPv6 hosts from the server.
Check your IPv6 connection:

Scan to Donate Bitcoin
Like this? Donate Bitcoin to at:
Bitcoin 1Noi1JYXJf9kxd28TVY3BUsTtdZwmVzWrC

You must be logged in to post a comment.

This entry was posted on June 6, 2012 and is filed under Linux. Written by: . You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.