Recently I thought about playing around with IPv6 again, after I read the release notes from the latest openwrt firmware which runs on my wireless router. At first I was a little confused because there are multiple ways to provide your router and all the clients behind it with route-able IPv6 addresses even when your ISP just gives you a dial-in with one IPv4 address. There is for example 6in4 tunnel, which is a IPv4 point-to-point tunnel to a IPv6 broker which gives you a IPv6 address block for your internal network. The second way, which I choose, is 6to4. Here your router is configured to encapsulate each IPv6 packet in a IPv4 packet and sends it to a 6to4 relay server (and vice versa). You will not get a IPv6 address space from someone, you just take it by calculating it from you IPv4 address. The IPv6 address block which belongs to each IPv4 address starts with 2002: and counts about 1.2 septillion addresses.
For my setup I used my broadcom based wireless router with the latest openwrt firmware. After installing the packets 6to4, 6scripts, radvd and ip6tables I enabled IPv6 for the wan device using the web-interface. After that I attachted the following
config 'interface' '6to4'
option 'proto' '6to4'
to the file /etc/config/network.
After a reboot I could already verify the IPv6 connection with a ping6 ipv6.google.com at the router. Now when you reconnect your computer to the router you should notice that in addition to the IPv4 address your computer now has an additional IPv6 address also starting with 2002:. A ping6 ipv6.google.com should also work. When you now open a web browser using this page http://www.six.heise.de/netze/tools/ip you should see the very same IPv6 address on the website.