Your IP Address is: 38.107.179.229

Wednesday, July 15, 2009

RIPE IPv6 Interviews & IPv6 Advocacy

For those interested in the experiences of people that have been deploying and operating in an IPv6 world for quite some time, RIPE has posted a few interviews with 'net savvy folks on their YouTube channel, with promises of more to come.

For those of you having a difficult time convincing your boss that IPv4 exhaustion is real and is something to be prepared for, RIPE has cross-posted the videos on an IPv6 advocacy and information site, http://www.ipv6actnow.org. To emphasize the urgency, Hurricane Electric's IPv6 countdown could serve as an excellent visual aid:


Monday, July 13, 2009

DD-WRT Configuration With Native IPv6 Connectivity.

As I was helping a friend enable IPv6 on a DD-WRT WAP recently, it reminded me that there are few resources in the wild that will walk a newbie through the configuration steps if they are lucky enough to have native IPv6 connectivity (or some other reason to avoid tunnel configuration directly on the WAP). The wireless routers that support DD-WRT provide an inexpensive path to IPv6 connectivity for residential users and, fortunately, the process is fairly straightforward.

1. First of all, you'll need a WAP that is capable of running DD-WRT. Although I've tried a couple of brands, my favorite in terms of cost, availability and ease of conversion is the Linksys (Cisco) WRT54GL.

NOTE: The next step could potentially render an otherwise-working WAP inoperable. Perform at your own risk!

2. Next, you'll need a version of DD-WRT that supports IPv6. I've had good luck with v2.3 SP2, so that's what I'm going to recommend. Before you can install the DD-WRT standard image, however, we must first upgrade the WAP to a DD-WRT standard mini image from the standard Linksys firmware upgrade page in the WAP's web interface. I'd recommend the following for this upgrade:

http://www.dd-wrt.com/dd-wrtv2/downloads/stable/dd-wrt.v23%20SP2/mini/dd-wrt.v23_mini_generic.bin

If you think it is hung, wait a couple more minutes. Patience now can save you a real headache later. Once the mini image has loaded (the new admin username is root), you can upgrade once more -- this time to a release that supports IPv6. Again, my recommended version is v2.3 SP2. I've had several WRT54GLs with >2 years uptime on this release, which in and of itself justifies a DD-WRT conversion. The standard generic release can be found here:

http://www.dd-wrt.com/dd-wrtv2/downloads/stable/dd-wrt.v23%20SP2/standard/dd-wrt.v23_generic.bin

Again, patience is a virtue. If you do end up bricking your WAP, some useful recovery advice can be found on the DD-WRT Wiki.

3. Once the WAP is up and running the standard DD-WRT release, we're ready to go. Under the Administration->Management tab, select "Enable" for IPv6 Support. As soon as you click "Enable", the section expands to include configuration information for Radvd. Select the "Enable" button for Radvd enabled, and then enter the following in the Radvd config text box (customized according to your configuration, of course):

interface br0 {
AdvSendAdvert on;
prefix 2607:F3D0:XXXX:YYYY::/64 {
AdvOnLink on;
AdvAutonomous on;
AdvRouterAddr on;
};
};

Click the "Save Settings" button when you are done to do just that.

4. Now we'll want to make sure that our static IPv6 addresses are persistent across reboots. To do this, click into Administration->Commands. Enter the following text (again customized for your config), and then click on the Save Startup button.

sleep 5
ip addr add 2607:F3D0:XXXX::ZZ02/124 dev vlan1
ip addr add 2607:F3D0:XXXX:YYYY::1/64 dev br0
ip -6 route add 0::/0 via 2607:F3D0:XXXX::ZZ01/124 dev vlan1
kill -HUP $(cat /var/run/radvd.pid)

(br0 is the LAN interface and vlan1 is the WAN)

If you want to test your configuration before saving the startup script, you can click the Run Commands for realtime execution.

That's it! You now have the enviable privilege of telling people that you are running a native IPv6 hotspot.