Setting up IPv6 with Sonic.net and an OpenWRT Router
This uses the newer 6rd mechanism instead of the 6in4 tunnels, so other documentation you enounter may inapplicable. I'm using nightly builds; YMMV with stable builds.
- Enable "LAN Subport" on the equipment provided by Sonic.net for your OpenWRT router (might work with double NAT, haven't tried)
- On your router: opkg update && opkg install 6rd (if it complains about version conflicts, try flashing the most recent build)
- Make the wan6 entry in your /etc/config/network look like so:
config interface 'wan6'
option proto '6rd'
option peeraddr '18.104.22.168'
option ip6prefix '2602:240::'
option ip6prefixlen '28'
- /etc/init.d/networking restart
- Disconnect and reconnect your machine, and IPv6 autoconfiguration should be good to go.
Addresses were taken from this post
on the Sonic.net forums, and configuration for OpenWRT from here