register at a tunnel broker

http://www.hexago.com/index.php?pgID=step1

ipv6 support in the kernel

Networking  --->
[*] Networking support
      Networking options  --->
        <*>   The IPv6 protocol

tspc install

aptitude install tspc

configuration of /etc/tsp/tspc.conf

You need just to add your userid and password sent by freenet6 during your subscription. And change the server from anonymous to broker to get all features.

userid=
passwd=
server=broker.freenet6.net

start tspc

root@obelix:/etc/tsp # tspc -vv
Connecting to server with reliable udp
Using TSP protocol version 2.0.0
Establishing connection with tunnel broker...
Getting capabilities from server
Connection established
Authenticating ludo
Using authentification mecanism DIGEST-MD5
Authentication success
Asking for a tunnel
Processing response from server
Got tunnel parameters from server, setting up local tunnel
Checking for linux ipv6 support...
IPv6 support found
Going daemon, check /var/log/tspc.log for tunnel creation status
root@obelix:/etc/tsp #

checking of logs

root@obelix:/etc/tsp # tail /var/log/tspc.log
2006/06/21 09:05:44 tspc: Script: This host is: 2001:05c0:8fff:fffe:0000:0000:0000:524f/128
2006/06/21 09:05:44 tspc: Script: /sbin/ifconfig sit1 add 2001:05c0:8fff:fffe:0000:0000:0000:524f/128
2006/06/21 09:05:44 tspc: Script: /sbin/ifconfig sit1 mtu 1280
2006/06/21 09:05:44 tspc: Script: Adding default route
2006/06/21 09:05:44 tspc: Script: /sbin/route -A inet6 del 2000::/3
2006/06/21 09:05:44 tspc: Script: /sbin/route -A inet6 add 2000::/3 dev sit1
2006/06/21 09:05:44 tspc: Script: --- End of configuration script. ---
2006/06/21 09:05:44 tspc: tspSetupInterface: Script completed sucessfully
2006/06/21 09:05:44 tspc: tspSetupInterface: Your IPv6 address is 2001:05c0:8fff:fffe:0000:0000:0000:524f
2006/06/21 09:05:44 tspc: NetKeepaliveInit: keepalive initialized with 2001:05c0:8fff:fffe:0000:0000:0000:524e as a peer, max KA value of 30
root@obelix:/etc/tsp #

hexago web site ipv6 status

go on www.hexago.com and you should get this kind of information at the top of the web page

Your IPv6 address is 2001:5c0:8fff:fffe::524f

ipv6 tools

  • ping6 localhost
root@obelix:~ # ping6 -c 1 ::1
PING ::1(::1) 56 data bytes
64 bytes from ::1: icmp_seq=1 ttl=64 time=0.051 ms

--- ::1 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.051/0.051/0.051/0.000 ms
root@obelix:~ #
  • ping6 my_local_ip
root@obelix:~ # ping6 -c 1 2001:5c0:8fff:fffe::524f
PING 2001:5c0:8fff:fffe::524f(2001:5c0:8fff:fffe::524f) 56 data bytes
64 bytes from 2001:5c0:8fff:fffe::524f: icmp_seq=1 ttl=64 time=0.047 ms

--- 2001:5c0:8fff:fffe::524f ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.047/0.047/0.047/0.000 ms
root@obelix:~ #
  • ping6 www.sunny.ch
root@obelix:~ # ping6 -n www.sunny.ch                                                                                                                        
PING www.sunny.ch(2001:8a8:20::23) 56 data bytes
64 bytes from 2001:8a8:20::23: icmp_seq=1 ttl=46 time=232 ms
64 bytes from 2001:8a8:20::23: icmp_seq=2 ttl=46 time=232 ms
64 bytes from 2001:8a8:20::23: icmp_seq=3 ttl=46 time=231 ms

--- www.sunny.ch ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2000ms
rtt min/avg/max/mdev = 231.574/232.202/232.870/0.659 ms
root@obelix:~ #
  • ip addr output
root@obelix:~ # ip addr
1: eth0: <BROADCAST,MULTICAST,UP,10000> mtu 1500 qdisc pfifo_fast qlen 1000
    link/ether 00:11:2f:cb:24:57 brd ff:ff:ff:ff:ff:ff
    inet 82.228.214.25/24 brd 82.228.214.255 scope global eth0
    inet6 fe80::211:2fff:fecb:2457/64 scope link
       valid_lft forever preferred_lft forever
2: lo: <LOOPBACK,UP,10000> mtu 16436 qdisc noqueue
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
3: eth1: <BROADCAST,MULTICAST,UP,10000> mtu 1500 qdisc pfifo_fast qlen 1000
    link/ether 00:80:ad:74:77:b9 brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.254/24 brd 192.168.1.255 scope global eth1
    inet6 fe80::280:adff:fe74:77b9/64 scope link
       valid_lft forever preferred_lft forever
4: sit0: <NOARP> mtu 1480 qdisc noop
    link/sit 0.0.0.0 brd 0.0.0.0
7: sit1@NONE: <POINTOPOINT,NOARP,UP,10000> mtu 1280 qdisc noqueue
    link/sit 0.0.0.0 peer 64.86.88.116
    inet6 2001:5c0:8fff:fffe::524f/128 scope global
       valid_lft forever preferred_lft forever
    inet6 fe80::c0a8:1fe/64 scope link
       valid_lft forever preferred_lft forever
    inet6 fe80::52e4:d619/64 scope link
       valid_lft forever preferred_lft forever
root@obelix:~ #