<?xml version="1.0" encoding="utf-8"?>
<!-- name="generator" content="pyblosxom/1.4.3 01/10/2008" -->
<!DOCTYPE rss PUBLIC "-//Netscape Communications//DTD RSS 0.91//EN" "http://my.netscape.com/publish/formats/rss-0.91.dtd">

<rss version="0.91">
<channel>
<title>Mikaels blog 24 May 2005</title>
<link>http://mikael.frykholm.com/blog</link>
<description>blosxom with a touch of python</description>
<language>sv</language>
<item>
  <title>Howto setup ipv6 through a 6to4 tunnel and autoconfiguration for clients</title>
  <link>http://mikael.frykholm.com/blog/Howto_setup_ipv6_through_a_6to4_tunnel_and_autoconfiguration_for_clients.html</link>
  <description><![CDATA[
<p>goto <a href="http://wrt54g.thermoman.de/">http://wrt54g.thermoman.de/</a></p><p>
install FreemanBasic_V1.0.2_wrt54g.zip (only v2 and newer)</p><p>
</p><p>
check version at <a href="http://www.linksysinfo.org/modules.php?name=Forums&amp;file=viewtopic&amp;t=3481&amp;highlight=cdf*">http://www.linksysinfo.org/modules.php?name=Forums&amp;file=viewtopic&amp;t=3481&amp;highlight=cdf*</a></p><p>
</p><p>
And now, login to your wrt running Talisman. Go to administration page and activate RW partition. When you click "Save Settings" the router will reboot and setup the RW partition. Do not turn off the power during this process (should be less then 2 minutes).</p>
<p>Login with ssh:</p>
<pre>nvram set ipv6_enable=1</pre>
<pre>echo "
interface br0
{
	AdvSendAdvert on;
	prefix 0:0:0:1::/64
	{
		AdvOnLink on;
		AdvAutonomous on;
		AdvRouterAddr on;
		Base6to4Interface vlan1;
		AdvPreferredLifetime 120;
		AdvValidLifetime 300;
	};
};">radvd.conf
</pre>
<pre>nvram set rc_startup="
ip tunnel change sit0 ttl 64
ip -6 addr add 2002:52b6:e40e::1/48 dev sit0         #Change to 6to4 prefix
ip -6 ro add 2000::/3 via ::192.88.99.1
ip -6 addr add 2002:52b6:e40e:1::/64 dev br0        #Change to 6to4 prefix
/usr/local/sbin/radvd -C /usr/local/etc/radvd.conf
"</pre>
<p><a href="http://www.ipv6-calc.com/">6to4 calc</a></p>
<pre>nvram commit
reboot
</pre>
<p>partially copied from <a href="https://noc.sixxs.net/forum/?msg=setup-256552">https://noc.sixxs.net/forum/?msg=setup-256552</a></p>

]]></description>
</item>

</channel>
</rss>
