Getting IPv6 Using Freenet6 on Debian
IPv6 is the successor to our current internet protocol, IPv4. It offers many new features, including vastly increased address space--128 bits vs. IPv4's measly 32 bits--easier autoconfiguration and better support for encryption, just to name a few. The Debian project has done a good job of making its distribution IPv6-ready. In this article, you'll learn how to setup a IPv6-over-IPv4 tunnel using the free Freenet6 tunnel service. Note that I'm assuming you're using Debian testing (woody) or unstable (sid) and understand how to install packages through apt. I'm also assuming you know a little bit about IPv6, such as what an address looks like.
Before beginning the tunnel, you'll need a publicly addressable IPv4 address on the machine you're using. Your kernel also must support IPv6; Debian's default kernels do support IPv6. If you're not sure if your kernel does support it, check for a /proc/sys/net/ipv6 directory. Also see if the output of ifconfig contains any IPv6 addresses, something like fe80::24f:49ff:fe07:2552 Make sure your firewall isn't blocking IPv6 tunnel packets, IP protocol 41 (ipv6) must not be blocked in either direction.
Once you've confirmed all of this, start the tunnel by installing the Freenet6 client software with apt. The Debian package is called Freenet6 and is available in both testing and unstable versions. Once it's installed, Freenet6 automatically gets a IPv6 address for you based on your existing IPv4 address; no configuration is required. That's right, everything will work right out of the box on most systems simply by installing Freenet6.
Note that this IPv6 address is tied to your IPv4 address, if the IPv4 address changes so does your IPv6 address. Fortunately, if you've used the standard Debian systems for your internet connection, such as the PPP packages and the included dhcp clients, Debian will automatically get a new IPv6 address for you if your IPv4 address changes.
To test your IPv6 connection, try pinging something with the ping6 program. If you find that you don't have ping6, install it with the iputils-ping package. Some hosts to try pinging include www.6bone.net and www.kame.net. If the pings aren't working, double-check that your firewall isn't blocking IPv6 packets. If the pings do work, next try connecting to www.kame.net with Lynx, Mozilla or Konqueror. These browsers have IPv6 support in Debian testing. If everything is still working correctly, there will be a "dancing kame" at the top of the page and a little message at the bottom. If it still says you're using IPv4, and the ping6 test worked fine, double-check that you're using the latest version of the browser.
Congratulations! You're on the next generation internet! If you have a network behind a Linux router, you can also provide IPv6 for the machines behind it using Freenet6 and the radvd. How to do it will be explained in an upcoming issue of Linux Journal.
email: pete@petertodd.ca
Realizing the promise of Apache® Hadoop® requires the effective deployment of compute, memory, storage and networking to achieve optimal results. With its flexibility and multitude of options, it is easy to over or under provision the server infrastructure, resulting in poor performance and high TCO. Join us for an in depth, technical discussion with industry experts from leading Hadoop and server companies who will provide insights into the key considerations for designing and deploying an optimal Hadoop cluster.
Sponsored by AMD
If you already use virtualized infrastructure, you are well on your way to leveraging the power of the cloud. Virtualization offers the promise of limitless resources, but how do you manage that scalability when your DevOps team doesn’t scale? In today’s hypercompetitive markets, fast results can make a difference between leading the pack vs. obsolescence. Organizations need more benefits from cloud computing than just raw resources. They need agility, flexibility, convenience, ROI, and control.
Stackato private Platform-as-a-Service technology from ActiveState extends your private cloud infrastructure by creating a private PaaS to provide on-demand availability, flexibility, control, and ultimately, faster time-to-market for your enterprise.
Sponsored by ActiveState
| Non-Linux FOSS: libnotify, OS X Style | Jun 18, 2013 |
| Containers—Not Virtual Machines—Are the Future Cloud | Jun 17, 2013 |
| Lock-Free Multi-Producer Multi-Consumer Queue on Ring Buffer | Jun 12, 2013 |
| Weechat, Irssi's Little Brother | Jun 11, 2013 |
| One Tail Just Isn't Enough | Jun 07, 2013 |
| Introduction to MapReduce with Hadoop on Linux | Jun 05, 2013 |
- Containers—Not Virtual Machines—Are the Future Cloud
- Non-Linux FOSS: libnotify, OS X Style
- Lock-Free Multi-Producer Multi-Consumer Queue on Ring Buffer
- Linux Systems Administrator
- Validate an E-Mail Address with PHP, the Right Way
- Introduction to MapReduce with Hadoop on Linux
- RSS Feeds
- Weechat, Irssi's Little Brother
- New Products
- Tech Tip: Really Simple HTTP Server with Python
- Reply to comment | Linux Journal
23 min 42 sec ago - Didn't read
34 min 2 sec ago - Reply to comment | Linux Journal
39 min 2 sec ago - Poul-Henning Kamp: welcome to
2 hours 49 min ago - This has already been done
2 hours 50 min ago - Reply to comment | Linux Journal
3 hours 35 min ago - Welcome to 1998
4 hours 23 min ago - notifier shortcomings
4 hours 47 min ago - heroku?
6 hours 24 min ago - Android User
6 hours 26 min ago
Featured Jobs
| Linux Systems Administrator | Houston and Austin, Texas | Host Gator |
| Senior Perl Developer | Austin, Texas | Host Gator |
| Technical Support Rep | Houston and Austin, Texas | Host Gator |
| UX Designer | Austin, Texas | Host Gator |
| Web & UI Developer (JavaScript & j Query) | Austin, Texas | Host Gator |
Free Webinar: Hadoop
How to Build an Optimal Hadoop Cluster to Store and Maintain Unlimited Amounts of Data Using Microservers
Realizing the promise of Apache® Hadoop® requires the effective deployment of compute, memory, storage and networking to achieve optimal results. With its flexibility and multitude of options, it is easy to over or under provision the server infrastructure, resulting in poor performance and high TCO. Join us for an in depth, technical discussion with industry experts from leading Hadoop and server companies who will provide insights into the key considerations for designing and deploying an optimal Hadoop cluster.
Some of key questions to be discussed are:
- What is the “typical” Hadoop cluster and what should be installed on the different machine types?
- Why should you consider the typical workload patterns when making your hardware decisions?
- Are all microservers created equal for Hadoop deployments?
- How do I plan for expansion if I require more compute, memory, storage or networking?



Comments
ping6 doesnt work
.i have managed to get the tspc(using freent6) tunnel up and running but ping6 doestn seem to work but i cant do a succesful ping6 to kame or any other ipv6 host.do i need to change anything in my firewall to allow ipv6 in and out?if i need to change a rule in my firewall ,where do i find the ip6tables so that i can edit it.
pls help reply as soon as possible so i can progress on my project.i am using linux debian.
what do i do ? any one plss help!!!!
Re: Getting IPv6 Using Freenet6 on Debian
Squid can be a killer for ip6 web connectivity. you need to do some special configuration for it to work. but I'm only in early testing right now of it and just switched proxy off.
if your in Australia look at broker.aarnet.net.au for a local connectivity point
Re: Getting IPv6 Using Freenet6 on Debian
But trying this on a PPP client I find the info confusing:
the HOWTO says:
* PPPOPTIONS="debug nomp ipcp-accept-local ipcp-accept-remote ipv6cp-accept-local+ipv6ipv6cp-use-ipaddr"
Yet the PPPD manpage (2.4.1 debian sid) says nothing of the ipv6 opts. And that "+" sign with "ipv6ipv6cp" looks suspiciously like an error. I guess I'll wait with enabling ipv6, sounds like a good idea though.
One more IPv6 service
Also have a look at www.xs26.net. They are still working on their interface (and everything else, I suppose), but for me it worked out fine.
Re: Getting IPv6 Using Freenet6 on Debian
Nice story, Todd.
I understand from your article that the Freenet6.deb package implements a '6to4 relay'.
You may take a look at a (somewhat different) European approach to the same thing, the IPng.nl tunnelbroker (which is 6in4 as apposed to 6to4).
It can be found on http://www.ipng.nl/ and everybody with a stable 24/7 connection and static (non-dhcp!) node may join this free public service.
Kind regards, keep up the good work!
Pim van Pelt