Ubuntu Geek

Ubuntu Linux Tips,Howtos&Tutorials|Edgy,Feisty,Gutsy,Hardy,Intrepid

  • RSS Feed

    subscribe to the ubuntu Geek RSS feed


  • Sponsor



  • Categories

  • Meta

  • Sponsor

  • Archives

  • Support Ubuntugeek

    Amount $:
    Website(Optional):


  • Favourite Sites

Howto Configure IPv6 Tunnel in Ubuntu

Posted by admin on July 23rd, 2008 Email This Post Email This Post

If you want to setup IPv6 tunnel under Ubuntu you need to use tspc (tunnel setup protocol client) so you can browse IPv6 ready websites using IPv4.

Connecting to the IPv6 Internet requires either a native connection or the cooperation of a friendly server to provide you with a tunnel.Tunnel Server Protocol Client (tspc), is a daemon to automate the setup and maintenance of an IPv6 tunnel. This client will connect to any migration broker which uses Hexago’s implementation.

Install tspc in ubuntu

sudo aptitude install tspc

This will complete the installation.

You can get free IPv6 access form freenet6 register freenet6 account from here to obtain username and password.

Configure tspc

The default configuration file is located at /etc/tsp/tspc.conf. Open file using a text editor using the following command

sudo gedit /etc/tsp/tspc.conf

You need to provide username, password and hostname registered at Freenet6

userid - Yourid
passwd - yourPassWord
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

Save and close the file. Restart tspc service using the following command

sudo /etc/init.d/tspc restart

Testing your IPv6 Connections

Use the following command to see your tunnel IPv6 address

ifconfig tun

Test IPv6 connectivity using the following command

ping6 ipv6.google.com

ping6 www.kame.net

View Google.com IPv6 Address using the following command

host ipv6.google.com

You can use the following commands to start and stop tunnel

sudo /etc/init.d/tspc stop

sudo /etc/init.d/tspc start

Share/Save/Bookmark

If you want to be notified the next time we write something please subscribe to our RSS feed.Thanks for Visiting!

Related Articles

2 Responses to “Howto Configure IPv6 Tunnel in Ubuntu”

  1. paul Says:

    Hi
    Thanks for this guide.
    However, I had some problems implementing it on Ubuntu Hardy on my MacBook as when I completed the installation/config as you describe (and I installed the Gateway6 5.1 Source Code (Linux/Unix/Darwin/BSD) as is recommended in the email I received after registering with go6. Note that this is not straightforward as the .tar.exe file needs to be renamed to tar.gz before compiling).
    In any event, after I had followed all of the steps and tried
    ifconfig tun
    I get this error
    tun: error fetching interface information: Device not found

    Any suggestions what’s up with this?
    Thanks
    Paul

  2. Manankanchu Says:

    … same problem, same error message on Hardy as Paul mentioned

    Rgds

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>