Debian
From SixXS Wiki
Using Sixxs Tunnels on Debian
Check your address at Tunnel Details in https://www.sixxs.net/home
Need:
- Your IPv6
- IPv6 Prefix
- PoP IPv6
- PoP IPv4
Check your machine for IPv6 support in kernel:
$ cat /proc/net/if_inet6
If enable, will output a similar text:
00000000000000000000000000000001 01 80 10 80 lo fe800000000000000218f3fffe1b7911 02 40 20 80 eth0 fe8000000000000002e07dfffed2fa0b 04 40 20 80 eth1
Now edit the /etc/network/interfaces file, insert the text, and change with your numbers:
auto sixxs iface sixxs inet6 v4tunnel address YOUR_IPv6 netmask 64 (last number in IPv6 Prefix) endpoint POP_IPv4 ttl 64 mtu 1280 gateway POP_IPv6
Now:
$ ifup sixxs
If no return, are ok.
Check if are up:
$ ifconfig sixxs
sixxs Link encap:IPv6 sobre IPv4 endereço inet6: YOUR_IPv6/64 Escopo:Global endereço inet6: fe80::c0a8:1/64 Escopo:Link UP POINTOPOINT RUNNING NOARP MTU:1480 Métrica:1 RX packets:355 errors:0 dropped:0 overruns:0 frame:0 TX packets:347 errors:0 dropped:0 overruns:0 carrier:0 colisões:0 txqueuelen:0 RX bytes:61527 (60.0 KiB) TX bytes:99847 (97.5 KiB)
For check IPv6 connectivity:
$ping6 -c 3 POP_IPv6
--- POP_IPv6 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2003ms