Friday, January 25, 2008

DD-WRT and IPv6

Yesterday, I took what I thought was a step forward for a long-ignored Linksys WRT54G v3.0 (SN: CDF80E553386) and upgraded from v23 SP2 to v24 RC 6.2, but what a mistake (for me, anyway). I lost IPv6 functionality and that was a killer for me. So, I spent the next couple of hours working backwards through various releases, trying to restore IPv6 functionality. Here's a breakdown:

No IPv6 Support:
DD-WRT v24 RC-6 (01/02/08) std
(SVN revision 8743)

DD-WRT v24 RC-6 (01/02/08) std
(SVN revision 8743)
(this is really the "generic_nokaid" version)

DD-WRT v23 SP3 (12/21/06) std
(SVN revision 5366)
(what's up with the snowflakes?)


IPv6 support restored with the above version, sans kaid, noted below:
DD-WRT v23 SP3 (12/21/06) std
(SVN revision 5366)
(this is really the "nokaid" version)


So, I don't really understand why the versions report themselves to be the same from the browser console, even though they are using a different feature set (if that's the right term). Speaking in terms of feature set, a system like Cisco uses in their IOS would be useful to distinguish between the versions. It's great that the firmware file name is different, but from the web interface, you don't really know which feature set you are using (std, std_nokaid, generic, etc.). Oh well.

For those interested, here are the commands I used to enable IPv6 in the WRT54G using the above firmware (v23 SP3 std nokaid from 2006-12-21). You can set this up for boot-time configuration by navigating to "Administration" -> "Commands", entering the two below commands into the text box, and then click on "Save Startup" button.

(watch for word-wrap on these two commands)
ip -6 addr add 2001:4830:2502:8001::a00:3/64 dev br0
ip -6 route add default via 2001:4830:2502:8001::1 dev br0

Not to bash Linux at this point, but I sure do *LOVE* the way all of the IPv6 configuration in FreeBSD has been integrated into the usual tools (ifconfig, netstat, etc.).

No comments: