Configure IPv6 Tunnel in Ubuntu Linux

Configuring the IPv6 tunnel can be easily done in Derbian and Ubuntu Linux using Tunnel Setup Protocol Client (tspc). TSPC is a signalling protocol used to negotiate tunnel setup parameters between two tunnel end-points. Tunnel Setup Protocol Client allows you to connect and browse IPv6 network using IPv4. But before installing TSPC, you need to get IPv6 access through Freenet6. Just register at Freenet6 to obtain a username and password.

Now install tunnel setup prtocol client (tspc) with the following command.

sudo aptitude install tspc

or

sudo apt-get install tspc

This will install tspc.
Now its time to configure tspc. Open the default configuration file located at /etc/tsp/tspc.conf. Open this file in a text editor using a following command :

sudo gedit /etc/tsp/tspc.conf

Now you should give the username, password and hostname registered at Freenet6.

userid : itech
password : 12345678
server ; broker.freenet6.net

Search, userid, server, and passwd variable in file and set them as follows:

userid=your-name
server=broker.freenet6.net
passwd=your-password


Now save and close the file and restart tspc by using the following command :

sudo /etc/init.d/tspc restart

Now you can test the IPv6 connection. First check the IPv6 tunnel address with the help of the following command :

ifconfig tun
Test IPv6 connectivity using the following command

ping6 ipv6.google.com

ping6 www.kame.net

You can use the following commands to start and stop tunnel

sudo /etc/init.d/tspc stop

sudo /etc/init.d/tspc start

About Hammad

I am a part time blogger who likes to review things that are valuable to my readers.


Related posts:

  1. Best Media Players for Ubuntu Linux For all Ubuntu lovers, I have gathered a list of best media players for Ubuntu...
  2. Make Windows Xp Look Like Ubuntu Linux Changing the look of your Windows XP to Ubuntu is really really easy. The thing...
  3. Best Download Managers For Ubuntu Download Manager refers to a computer program for downloading files from the internet and unlike...
  4. Keyboard Shortcut Keys in Ubuntu Shortcuts keys let you perform task in a much less time then performing that using...
  5. How to Log on to Windows XP if You Forgot Your Password Everyone forget his/her password. Its really common even i forgot my passwords many times. It...

One Comment

  1. Luciano Di Lucrezia says:

    The IPv6 configuration in Ubuntu is brilliantly simple and Just Works™ the way you described it, but in the last line I see you start tspc manually, and so do I have to do in order to get IPv6 connectivity working.

    But since the tspc package installed its own init-script, isn’t it supposed to start at boot time? As far as I can see, both tspc and radvd seem to get started *before* the IPv4 network is ready, and so their execution is aborted immediately.

    Have you managed to get things right? Changing the sequence number didn’t work for me, and having the two scripts start in a runlevel looks plain wrong to me, as by that time networking should be up and running for the services to bind to.