wire.less.dk

wireless networking, free software, solar power

IPv6 tunnel via gogo6 on Ubuntu 9.10

Posted on | March 30, 2011 | No Comments

The following is a short summary guide on making a ipv6 tunnel via http://gogonet.gogo6.com/ work on Ubuntu 9.10 Karmic Koala, for those of us who are not on 10.10 yet.

It makes no assumptions about whether tunneling instead of going generic IPv6 is a good thing to do, or whether it just makes us become lazy and put up with not having IPv6.

Also, it makes no statement about the quality of gogo6/freenet6 tunnels in comparison to other brokers like

The guide is completely based on this one – which i found just works straight forward. Thanks for sharing:

Get a freenet6 account here:

As root:

# apt-get install gw6c radvd

# /etc/init.d/radvd stop

# vi /etc/gw6c/gw6c.conf

like so:

userid=USERID
passwd=PASSWORD
server=broker.freenet6.net
auth_method=any
prefixlen=64
template=linux
if_tunnel_v6v4=freenet6
if_tunnel_v6udpv4=freenet6
if_prefix=eth0 (CHANGE IF NEEDED)
keepalive=yes
keepalive_interval=10
host_type=router (CHANGE TO host IF 1 BOX)

then do

# /etc/init.d/gw6c restart

On first attempt of starting gw6c, i m getting a short re-negotiate of broker:

root@sbut:/home/sebastian/gogoc-1_2-RELEASE# /etc/init.d/gw6c restart
 * Restarting Gateway6 Client gw6c                                                                                                                                                                                                                                                                                           No /usr/sbin/gw6c found running; none killed.
Gateway6 Client v6.0-RELEASE build Sep  7 2009-13:59:46
Built on ///Linux palmer 2.6.24-24-server
#1 SMP Wed Apr 15 16:36:01 UTC 2009 i686 GNU/Linux///
).ceived a TSP redirection message from Gateway6 broker.freenet6.net
(1200 Redirection
The Gateway6 redirection list is
 [ sydney.freenet6.net, amsterdam.freenet6.net, montreal.freenet6.net ].
The optimized Gateway6 redirection list is
[ amsterdam.freenet6.net, montreal.freenet6.net, sydney.freenet6.net ].
Received data is invalid.
Last status context is: TSP authentication.
Finished.

After a retry, everything is fine:

root@sbut:/home/sebastian/gogoc-1_2-RELEASE# ping6 2001:470:1f14:b91::2
PING 2001:470:1f14:b91::2(2001:470:1f14:b91::2) 56 data bytes
64 bytes from 2001:470:1f14:b91::2: icmp_seq=1 ttl=57 time=51.8 ms
64 bytes from 2001:470:1f14:b91::2: icmp_seq=2 ttl=57 time=33.4 ms

You might want to put the best gateway, in my case amsterdam.freenet6.net, into the config file above.

Comments

Leave a Reply