[How-To] IPv6 Is Not Scary!! Connect to Next-Gen Internet Now!

IPv6 or Internet Protocol version 6 is the answer to our IPv4 problem. What problem? By 2011 or 2012 (according to estimates), there will be no more IPv4 addresses left. This means that, anyone with a need to have a static IP address will not be able to get any for their project or service.

When this day comes, someone must start finding IP address owners who does not really need a static address and give it to someone who needs it seriously. We may even see owners starting to sell their extra IPs at a price far more expensive that what it is worth today.

But that will not happen, because two decades ago, the powers-that-be already started experimenting with IPv6 which will give us 2128 addresses. That is equivalent to 340,282,366,920,938,463,463,374,607,431,768,211,456 IPv6 Addresses, according to my Einstein brain calculation :p Or simply: 340 with 36 zeroes (I admit, I used a calculator).

Compare that to IPv4 which only have 232 or 4,294,967,296 IP addresses. It is a huge difference! IPv6 which use 128-bit addresses and IPv4 which is only 32-bit. Each computer in the world can now have its own IP Address and we are only scratching the surface of IPv6. In fact, if we subtract the number of IPv4 addresses we have, we still have 340,282,366,920,938,463,463,374,607,427,473,244,160 IPv6 addresses available.

I know you have plenty of questions but time is not on our side. What I am going to answer for you today is how you can start connecting to the IPv6 Internet without waiting for your ISP to start implementing it.

For this tutorial or How-To Guide, I am going to show you how I setup my Ubuntu Linux 9.10 "Karmic Koala" Linux Mint 11 "Katya" 64-bit (based on Ubuntu 11.04 "Natty Narwhal"). So let's begin!

  1. Go to Synaptic (System -> Administration -> Synaptic Package Manager)
  2. Search for: miredo; gogoc; and radvd and install all three.
  3. Open a terminal (Accessories -> Terminal)
  4. Type:
          sudo /etc/init.d/radvd stop
  5. Type:
          gksu gedit /etc/gogoc/gogoc.conf
  6. If your main connection is not eth0 then change if_prefix= accordingly
  7. If you are setting this up on a workstation computer, then change host_type=router to host_type=host
  8. Type:
          sudo /etc/init.d/gogoc restart

Update 2010-03-29: Additional step from Ubuntu 10.04 "Lucid Lynx" and up.

  1. Still on your terminal, type:
          gksu gedit /etc/default/gogoc
  2. Look for # CHECK_KEYFILE="yes" and change it to CHECK_KEYFILE="no"

Update 2009-12-23: An update from Jeremy Duncan on setting up your Linux box as a router.

Make sure IPV6FORWARDING is set to yes in /etc/sysconfig/network like so: IPV6FORWARDING=yes.

You are done! To test if your IPv6 is working do or visit the following:

  • In your terminal, type:
          ping6 ipv6.google.com
    it should show something like this:
          ping6 ipv6.google.com
          PING ipv6.google.com(fx-in-x68.1e100.net) 56 data bytes
          64 bytes from fx-in-x68.1e100.net: icmp_seq=1 ttl=50 time=496 ms
  • Open up your favorite browser and visit test-ipv6.com
  • and/or ipv6-test.com
  • and/or ip6.me

Why use a Tunnel Broker if we have Miredo/Teredo?

For one, Miredo/Teredo was developed only as a temporary gateway to the IPv6 Internet. In fact, it was set as the last access point when you have other IPv6 implementation like a tunnel broker.

Another reason is to have a static IPv6 address (even if your ISP gives you a dynamic IPv4 address). For this to work, you have to register an account over at Gogo6.com's Freenet6 service (register here).

Then you have to edit your gogoc.conf, follow the instructions below:

  1. Open a Terminal again
  2. Type:
          sudo /etc/init.d/radvd stop
  3. Type:
          gksu gedit /etc/gogoc/gogoc.conf
  4. Adjust your existing gogoc.conf with this one:
  5. Type:
          sudo /etc/init.d/gogoc restart

You're done! From now on, you will have the same IPv6 address everytime you connect to Freenet6's network. However, do note that you still get a different static IP depending on which Freenet6 server you are connected. If you really want to connect to the exact same server simply change this configuration in your gogoc.conf



But before you do that, please connect to Freenet6 at least once, so your gogoc daemon will have a list of servers to connect to and be able to choose the "best" one for you. Then set it up as instructed, and you'll be connecting to that same "best" server everytime the gogoc daemon is (re)-started. Easy?

Welcome to the next generation of the Internet - the IPv6 world.

Good reads especially for Businesses and ISPs:
IPv6 Act Now
A Beginner's Look into IPv6

Go-go dancing on the Internet: IPv6 anyway
gogoCLIENT Configuration File

Post a comment