Linux
Check your IPv6 configuration
In order to check that IPv6 works in your PC, run in the shell window or terminal:
ping6 -c5 ::1
If the result is the following (or similar):
# ping6 -c 5 ::1
PING ::1(::1) 56 data bytes
64 bytes from ::1: icmp_seq=1 ttl=64 time=0.055 ms
64 bytes from ::1: icmp_seq=2 ttl=64 time=0.020 ms
64 bytes from ::1: icmp_seq=3 ttl=64 time=0.033 ms
64 bytes from ::1: icmp_seq=4 ttl=64 time=0.046 ms
64 bytes from ::1: icmp_seq=5 ttl=64 time=0.039 ms
--- ::1 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 3996ms
rtt min/avg/max/mdev = 0.020/0.038/0.055/0.013 ms
It means that IPv6 is installed correctly. Basically you need to be able to read "5 received".
However, if the system does not recognize the command introduced (and/or returns any kind of error), follow the instructions in the next section.
How to install IPv6
In order to check that the kernel supports IPv6 you have to check that the following entry exists:
/proc/net/if_inet6
If don't so, you can try to load the IPv6 module by typing:
modprobe ipv6
If the previous command doesn't succeed your kernel hasn't IPv6 support and you should recompile it by enabling the IPv6 options in Network options
To load automatically the IPv6 module every time it is demanded, you has to add to the /etc/modules.conf
file the following line:
alias net-pf-10 ipv6
alias sit0 ipv6
alias sit1 ipv6
alias tun6to4 ipv6
To disable the IPv6 module loading automation you has to use:
alias net-pf-10 off
To setup IPv6 you will need some of the following tools:
- net-tools packet: for using ifconfig, route. All the current versions support IPv6.
- iproute packet: The programe
/sbin/ip
must exist. Given the fact that this programe is an extension of the previous packet, all the versions have IPv6 support.
Now, that you have installed IPv6, follow the instructions at the top of this page to make sure that it is working correctly.