<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>General Settings &#187; ipv6</title>
	<atom:link href="http://blog.dd19.de/~alx/tag/ipv6/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.dd19.de/~alx</link>
	<description>freifunk, piratenpartei und polyamorie</description>
	<lastBuildDate>Sat, 04 Feb 2012 13:34:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>learned on the 26c3</title>
		<link>https://blog.dd19.de/~alx/2010/01/learned-on-the-26c3/</link>
		<comments>https://blog.dd19.de/~alx/2010/01/learned-on-the-26c3/#comments</comments>
		<pubDate>Tue, 12 Jan 2010 15:07:09 +0000</pubDate>
		<dc:creator>alx</dc:creator>
				<category><![CDATA[ccc]]></category>
		<category><![CDATA[freifunk]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[6mesh]]></category>
		<category><![CDATA[ipv6]]></category>
		<category><![CDATA[mesh]]></category>
		<category><![CDATA[openwrt]]></category>
		<category><![CDATA[routing]]></category>
		<category><![CDATA[wireless]]></category>

		<guid isPermaLink="false">http://blogs.k-ita.de/~alx/?p=182</guid>
		<description><![CDATA[Hi, 26c3 is over and we had quite some experiments going on. Not everything went good, but we learned a lot: babel did not survive the hack-center. ahcp did survive. measurement needs to be improved That does not sound much, &#8230; <a href="https://blog.dd19.de/~alx/2010/01/learned-on-the-26c3/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Hi,<br />
26c3 is over and we had quite some experiments going on. Not everything went good, but we learned a lot:</p>
<ul>
<li>babel did not survive the hack-center.</li>
<li>ahcp did survive.</li>
<li>measurement needs to be improved</li>
</ul>
<p>That does not sound much, but i think it&#8217;s valuable information as we can now concentrate on some things and forget the other.</p>
<p>Openimp did not run good, it had a memory leak we got not fixed during 26c3, so the router kept rebooting after a few minutes.<br />
Babel also hat real trouble, it ate up a lot of cpu and memory, it felt like olsr 3 years ago.<br />
A few harddrives did not survive the heat of colo, so a part of the topology data are maybe lost.<br />
Firmware building and development did work quite good, but could be better, that was mainly my verpeilung, there is room for improvement.</p>
<p>I will continiue the tests in my local mesh neighbourhood without babel and without ipv4 based olsr, so expect more firmware builds soon.</p>
]]></content:encoded>
			<wfw:commentRss>https://blog.dd19.de/~alx/2010/01/learned-on-the-26c3/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>6to4 reverse lookup</title>
		<link>https://blog.dd19.de/~alx/2009/03/6to4-reverse-lookup/</link>
		<comments>https://blog.dd19.de/~alx/2009/03/6to4-reverse-lookup/#comments</comments>
		<pubDate>Mon, 23 Mar 2009 15:08:47 +0000</pubDate>
		<dc:creator>alx</dc:creator>
				<category><![CDATA[network]]></category>
		<category><![CDATA[ipv6]]></category>

		<guid isPermaLink="false">http://blogs.k-ita.de/~alx/?p=149</guid>
		<description><![CDATA[Nach dem ich einen 6to4 tunnel auch auf meinem mailserver installiert hab, bekam ich nach einiger zeit einen bounce von freenet, in dem stand, das mein mailserver keinen PTR record hat. Eine kurze mailkonversation mit postmaster@freenet.de und etwas googlen ergab, &#8230; <a href="https://blog.dd19.de/~alx/2009/03/6to4-reverse-lookup/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Nach dem ich einen <a title="6to4" href="http://de.wikipedia.org/wiki/6to4">6to4</a> tunnel auch auf meinem mailserver installiert hab, bekam ich nach einiger zeit einen bounce von freenet, in dem stand, das mein mailserver keinen PTR record hat.</p>
<p>Eine kurze mailkonversation mit postmaster@freenet.de und etwas googlen ergab, das es möglich ist: man kann die reverse lookup delegation einfach bei <a href="http://6to4.nro.net/">6to4.nro.net</a> einstellen.</p>
<p>Letzten mittwoch setzte ich mich dann mit <a title="micha" href="http://noamik.de/joomla/">Michael</a> zusammen, da er das gleiche problem hat, um die zonen in unseren nameservern einzutragen.</p>
<p>2 details, die recht nützlich sein können:</p>
<ul>
<li>Die delegation kann man initial nur einstellen für &#8220;seinen&#8221; IP space, dafür muss man eine eigene 6to4 adresse als absenderadresse des browsers haben. Da die jedoch auf dem server liegt, hilft es, sich per ssh mit -D 1080 auf dem server einzuloggen und dem firefox dann 127.0.0.1 port 1080 als socks5 proxy mitzugeben, (erst) dann kommt man auf das richtige webinterface.</li>
<li>wenn man sich (wie wir) viel arbeit und denken sparen will, dann hilft der passende <a title="ipv6 reverse lookup zone builder" href="http://www.fpsn.net/index.cgi?pg=tools&amp;tool=ipv6-inaddr">zonebuilder</a>, welcher nicht nur die zone generiert, sondern auch den passenden eintrag in der named.conf</li>
</ul>
<p>Wir haben uns dann jeweils gegenseitig versklavt und können jetzt auch wieder mails per ipv6 an freenet user schicken.</p>
]]></content:encoded>
			<wfw:commentRss>https://blog.dd19.de/~alx/2009/03/6to4-reverse-lookup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Vortrag c-base</title>
		<link>https://blog.dd19.de/~alx/2009/01/vortrag-c-base/</link>
		<comments>https://blog.dd19.de/~alx/2009/01/vortrag-c-base/#comments</comments>
		<pubDate>Sat, 24 Jan 2009 00:27:47 +0000</pubDate>
		<dc:creator>alx</dc:creator>
				<category><![CDATA[freifunk]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[6mesh]]></category>
		<category><![CDATA[ipv6]]></category>
		<category><![CDATA[mesh]]></category>
		<category><![CDATA[rfc2765]]></category>
		<category><![CDATA[siit]]></category>

		<guid isPermaLink="false">http://blogs.k-ita.de/~alx/?p=133</guid>
		<description><![CDATA[Die Folien des Vortrages, den Daniel und ich am Mittwoch über IPv6 und siit gehalten haben, sind nun online: http://download.berlin.freifunk.net/pdf/vortrag/6mesh/]]></description>
			<content:encoded><![CDATA[<p>Die Folien des Vortrages, den Daniel und ich am Mittwoch über IPv6 und siit gehalten haben, sind nun online: <a title="Folien siit" href="http://download.berlin.freifunk.net/pdf/vortrag/6mesh/">http://download.berlin.freifunk.net/pdf/vortrag/6mesh/</a></p>
]]></content:encoded>
			<wfw:commentRss>https://blog.dd19.de/~alx/2009/01/vortrag-c-base/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>radio</title>
		<link>https://blog.dd19.de/~alx/2009/01/radio/</link>
		<comments>https://blog.dd19.de/~alx/2009/01/radio/#comments</comments>
		<pubDate>Sat, 03 Jan 2009 08:38:13 +0000</pubDate>
		<dc:creator>alx</dc:creator>
				<category><![CDATA[freifunk]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[party]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[25c3]]></category>
		<category><![CDATA[ccc]]></category>
		<category><![CDATA[ipv6]]></category>
		<category><![CDATA[mesh]]></category>
		<category><![CDATA[openwrt]]></category>
		<category><![CDATA[siit]]></category>

		<guid isPermaLink="false">http://blogs.k-ita.de/~alx/?p=125</guid>
		<description><![CDATA[Ufo vom Rundfreifunk hat mich auf dem 25c3 interviewed, das mp3 gibs hier.]]></description>
			<content:encoded><![CDATA[<p>Ufo vom <a title="rundfreifunk" href="http://www.public-ip.org/sendung-298.html">Rundfreifunk</a> hat mich auf dem 25c3 interviewed, das mp3 gibs <a title="interview" href="http://public-ip.org/tracks/rundfreifunk/1346.mp3">hier</a>.</p>
]]></content:encoded>
			<wfw:commentRss>https://blog.dd19.de/~alx/2009/01/radio/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
<enclosure url="http://public-ip.org/tracks/rundfreifunk/1346.mp3" length="13425613" type="audio/mpeg" />
		</item>
		<item>
		<title>chaos communication congress</title>
		<link>https://blog.dd19.de/~alx/2008/12/chaos-communication-congress/</link>
		<comments>https://blog.dd19.de/~alx/2008/12/chaos-communication-congress/#comments</comments>
		<pubDate>Tue, 23 Dec 2008 03:42:27 +0000</pubDate>
		<dc:creator>alx</dc:creator>
				<category><![CDATA[ccc]]></category>
		<category><![CDATA[freifunk]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[25c3]]></category>
		<category><![CDATA[ipv6]]></category>
		<category><![CDATA[mesh]]></category>
		<category><![CDATA[siit]]></category>

		<guid isPermaLink="false">http://blogs.k-ita.de/~alx/?p=120</guid>
		<description><![CDATA[The 25th chaos communication congress is coming and the wireless community will be there. This time, we got a nice cosy space in the famous hackcenter, in the Wireless corner. We will be right next to other interesting project like: &#8230; <a href="https://blog.dd19.de/~alx/2008/12/chaos-communication-congress/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>The <a title="25c3" href="http://events.ccc.de/congress/2008/">25th chaos communication congress</a> is coming and the wireless community will be there. This time, we got a nice cosy space in the famous hackcenter, in the <a title="Wireless" href="https://events.ccc.de/congress/2008/wiki/Wireless">Wireless corner</a>.</p>
<p>We will be right next to other interesting project like:</p>
<ul>
<li><a title="GSM" href="https://events.ccc.de/congress/2008/wiki/GSM">GSM Hackers</a></li>
<li><a title="Console Hackers" href="https://events.ccc.de/congress/2008/wiki/Console_Hacking">Console Hacking</a></li>
<li>The <a title="Bricophone" href="https://events.ccc.de/congress/2008/wiki/Bricophone">Bricophone</a> people</li>
</ul>
<p>More on the <a title="Floorplans" href="https://events.ccc.de/congress/2008/wiki/Floorplans">floorplan</a>.</p>
<p>We are going to build a <a title="ipv6 siit mesh" href="https://events.ccc.de/congress/2008/wiki/Wireless:6Mesh">ipv6 only</a> mesh using siit to transport translated ipv4 traffic.</p>
<p>So, preparation are happening all over, even if you can see them only if you have a very close look:</p>
<p>Jow is <a title="luci ticket" href="http://luci.subsignal.org/trac/changeset/3929">fixing</a> <a title="even more" href="http://luci.subsignal.org/trac/changeset/3928">tickets</a> and enhancing the <a title="luci" href="http://luci.subsignal.org/trac/wiki">openwrt luci framework</a> to make sure we have a good start into the experiment.</p>
<p>Meanwhile, <a title="leo34" href="http://blog.leo34.net/">Daniel</a> is working hard on our BGP routers to make sure we get a direct routing for the freifunk <a title="ripe whois" href="http://www.db.ripe.net/whois?form_type=simple&amp;full_query_string=&amp;searchtext=77.87.48.1&amp;do_search=Search">PI</a> network into the 25c3. As you can see, our <a title="freifunk AS" href="http://www.db.ripe.net/whois?form_type=simple&amp;full_query_string=&amp;searchtext=AS44194&amp;submit.x=0&amp;submit.y=0&amp;submit=Search">RIPE</a> entry has been updated to enable routing to and from <a title="AS249" href="http://www.db.ripe.net/whois?form_type=simple&amp;full_query_string=&amp;searchtext=AS249&amp;do_search=Search">AS249</a>, the congress network.</p>
<p>Felix has ported the siit kernel module to kernel 2.6 and <a title="siit commit" href="https://dev.openwrt.org/changeset/13730">commited</a>.</p>
<p><a title="Helox" href="http://no-route.org/blog/">Lehox</a> and friends are working hard on <a title="n2n p2p vpn" href="http://www.ntop.org/n2n/">n2n</a> to get at least the worst bugs fixed, as we are going to use it as the backup vpn to our other BGP routers.</p>
<p>There is still a lot to do, but it looks like we are on a good way.</p>
]]></content:encoded>
			<wfw:commentRss>https://blog.dd19.de/~alx/2008/12/chaos-communication-congress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>rfc 2765, kernel 2.6</title>
		<link>https://blog.dd19.de/~alx/2008/12/rfc-2765-kernel-26/</link>
		<comments>https://blog.dd19.de/~alx/2008/12/rfc-2765-kernel-26/#comments</comments>
		<pubDate>Sat, 20 Dec 2008 23:22:35 +0000</pubDate>
		<dc:creator>alx</dc:creator>
				<category><![CDATA[freifunk]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[ipv6]]></category>
		<category><![CDATA[rfc2765]]></category>
		<category><![CDATA[siit]]></category>

		<guid isPermaLink="false">http://blogs.k-ita.de/~alx/?p=115</guid>
		<description><![CDATA[nbd did a port for linux kernel 2.6, which needs to be tested: kamikaze package dir: http://nbd.name/siit.tar.gz joti did som make stuff for &#8220;normal&#8221; linux: https://norwegen.soziologiker.org/hg/siit please test and give feedback. Update: first tests succeeded.]]></description>
			<content:encoded><![CDATA[<p>nbd did a port for linux kernel 2.6, which needs to be tested:</p>
<p>kamikaze package dir: <a title="siit for kamikaze 2.6" href="http://nbd.name/siit.tar.gz">http://nbd.name/siit.tar.gz</a></p>
<p>joti did som make stuff for &#8220;normal&#8221; linux: <a title="siit for linux 2.6" href="https://norwegen.soziologiker.org/hg/siit">https://norwegen.soziologiker.org/hg/siit</a></p>
<p>please test and give feedback.</p>
<p>Update: first tests succeeded.</p>
]]></content:encoded>
			<wfw:commentRss>https://blog.dd19.de/~alx/2008/12/rfc-2765-kernel-26/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ipv6 web proxy</title>
		<link>https://blog.dd19.de/~alx/2008/12/ipv6-web-proxy/</link>
		<comments>https://blog.dd19.de/~alx/2008/12/ipv6-web-proxy/#comments</comments>
		<pubDate>Sun, 07 Dec 2008 19:10:45 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[network]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[ipv6]]></category>
		<category><![CDATA[lighttpd]]></category>
		<category><![CDATA[proxy]]></category>

		<guid isPermaLink="false">http://blogs.k-ita.de/~alx/?p=112</guid>
		<description><![CDATA[Yesterday, i thought, what a pitty, this blog has no AAAA record and no ipv6 address. As it is hosted on a FreeBSD jail and the host is neither patched for ipv6 jails nor has an ipv6 connection, i had &#8230; <a href="https://blog.dd19.de/~alx/2008/12/ipv6-web-proxy/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Yesterday, i thought, what a pitty, this blog has no AAAA record and no ipv6 address. As it is hosted on a FreeBSD jail and the host is neither patched for ipv6 jails nor has an ipv6 connection, i had to find an other solution.</p>
<p>I have a VM with a 6to4 tunnel running lighttpd, so i let the AAAA record for this blog point on that machine, enabled the proxy module and added following config to the proxy configuration:</p>
<pre>$HTTP["host"] == "blogs.k-ita.de" {
  proxy.server  = ( "" =&gt; ( ( "host" =&gt; "80.237.196.30" ) ) )
}</pre>
<p>It&#8217;s not the cleanest solution, but it works for me[TM].</p>
]]></content:encoded>
			<wfw:commentRss>https://blog.dd19.de/~alx/2008/12/ipv6-web-proxy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>rfc2765 part3</title>
		<link>https://blog.dd19.de/~alx/2008/11/rfc2765-part3/</link>
		<comments>https://blog.dd19.de/~alx/2008/11/rfc2765-part3/#comments</comments>
		<pubDate>Sat, 29 Nov 2008 05:37:08 +0000</pubDate>
		<dc:creator>alx</dc:creator>
				<category><![CDATA[freifunk]]></category>
		<category><![CDATA[miscellaneous]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[ipv6]]></category>
		<category><![CDATA[mesh]]></category>
		<category><![CDATA[siit]]></category>
		<category><![CDATA[wireless]]></category>

		<guid isPermaLink="false">http://blogs.k-ita.de/~alx/?p=91</guid>
		<description><![CDATA[Achtung! the right way of doing is ::ffff:&#60;ipv4&#62;, so newer stuff will use that. Based on the last posting, we are doing it now with an olsr mesh between the translators. Between this two posts, jow fixed all remaining issues, &#8230; <a href="https://blog.dd19.de/~alx/2008/11/rfc2765-part3/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Achtung! the right way of doing is ::ffff:&lt;ipv4&gt;, so newer stuff will use that.</p>
<p>Based on the last <a title="rfc2765 part 2" href="http://blogs.k-ita.de/~alx/?p=86">posting</a>, we are doing it now with an olsr mesh between the translators.</p>
<p>Between this two posts, jow fixed all remaining issues, making the setstuff shellscripts obsolete. He also fixed a HNA6 issue in the olsrd-luci package. Thanks, great work, jow.</p>
<p>Easy setup now, one internet4 gateway, one access node to give internet to the attached ipv4 clients.</p>
<p>I tried to draw it: <a href="http://blogs.k-ita.de/~alx/wp-content/uploads/2008/11/ipv4-throught-ipv6-mesh.pdf">ipv4-throught-ipv6-mesh</a>.</p>
<p>gate:</p>
<ul>
<li>wan port is dhcp, lan port is 172.23.1.1/24</li>
<li>siit0 gets a dummy address: 169.254.42.42</li>
<li>wl0 gets an ipv6 address, in this case the fdca:ffee:babe::1:1/64</li>
<li>we do a ::ffff:ffff:0/96 route into siit0, so everything from 6mesh goes into translation.</li>
<li>an HNA6 of ::ffff:ffff:0:0/96 announces the mapped 0.0.0.0/0 ipv4 space.</li>
<li>MTU on WAN, LAN down to 1400, ipv6 headers are slighly larger.</li>
</ul>
<p>access1 has</p>
<ul>
<li>172.23.2.1/24 on its lan, fdca:ffee:babe::1:2 on wl0 and the usual dummy address on siit0.</li>
<li>we do a ::ffff:ffff:172.13.2.0/120 to siit0, because in this case, only traffic directed to clients needs to go into translation.</li>
<li>same route as HNA6 announcement to catch the traffic out of the mesh.</li>
<li>Also, MTU on LAN reduced to 1400.</li>
</ul>
<p>To reproduce the setup, you need 2 broadcom based OpenWrt boxes, as the siit kernel module has not been ported to kernel 2.6.</p>
<p>its based on <a title="kamikaze 8.09RC1" href="http://downloads.openwrt.org/kamikaze/8.09_RC1/kamikaze_8.09_rc1.tar.bz2">OpenWrt 8.09RC1</a> plus  some <a title="siit patches for openwrt" href="http://bitrider.digital-phear.com/~alx/siit-olsr/siit-buildroot.patch">patches</a>, which add siit, enable ipv6 forwarding and fix ipv6 static routes. plus a <a title="openwrt buildroot config for siit" href="http://bitrider.digital-phear.com/~alx/siit-olsr/openwrt-config">config file</a>.</p>
<p>you can also use ready made <a title="siit firmware image" href="http://bitrider.digital-phear.com/~alx/siit-olsr/bin/">firmwareimages</a>. then, there is a config <a title="gate config tarball" href="http://bitrider.digital-phear.com/~alx/siit-olsr/config-gate.tar">tarball</a> and a <a title="gate config dump" href="http://bitrider.digital-phear.com/~alx/siit-olsr/config-gate.dump">uci-dump</a> for gate and a <a title="access1 config tarball" href="http://bitrider.digital-phear.com/~alx/siit-olsr/config-access1.tar">tarball</a> and <a title="access1 config dump" href="http://bitrider.digital-phear.com/~alx/siit-olsr/config-access1.dump">dump</a> for access1.</p>
<p>for building more accessnodes, you need to alter the lan ipaddress, the ipv6 route into siit0 and the HNA6.</p>
<p>and, as it is just a proof of concept, telnet is open, firewall is open and the wanport of access1 is configured for my local LAN, so i can access telnet and webif from my notebook.</p>
<p>configuration of olsr nameservice plugin to get proper DNS automagically is left as an exercise to the reader. <img src='https://blog.dd19.de/~alx/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>for questions, you can also join #freifunk on IRCNet or write to the <a title="Wlanware mailinglist" href="https://freifunk.net/mailman/listinfo/wlanware">wlanware</a> mailinglist.</p>
<p>i would be happy to hear about any success.</p>
]]></content:encoded>
			<wfw:commentRss>https://blog.dd19.de/~alx/2008/11/rfc2765-part3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>rfc2765 part2</title>
		<link>https://blog.dd19.de/~alx/2008/11/rfc2765-part2/</link>
		<comments>https://blog.dd19.de/~alx/2008/11/rfc2765-part2/#comments</comments>
		<pubDate>Wed, 26 Nov 2008 21:01:33 +0000</pubDate>
		<dc:creator>alx</dc:creator>
				<category><![CDATA[freifunk]]></category>
		<category><![CDATA[miscellaneous]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[ipv6]]></category>
		<category><![CDATA[siit]]></category>
		<category><![CDATA[wireless]]></category>

		<guid isPermaLink="false">http://blogs.k-ita.de/~alx/?p=86</guid>
		<description><![CDATA[After getting it running today after some sleep, just missing the backroute, now the next step: a setup with 2 translators, establishing connectivity between 2 v4 systems over a ipv6 network. src: 192.168.11.1/24 connected to trans1, defaultgateway to trans1 trans1: &#8230; <a href="https://blog.dd19.de/~alx/2008/11/rfc2765-part2/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>After getting it running today after some sleep, just missing the backroute, now the next step: a setup with 2 translators, establishing connectivity between 2 v4 systems over a ipv6 network.</p>
<p>src:</p>
<ul>
<li>192.168.11.1/24 connected to trans1, defaultgateway to trans1</li>
</ul>
<p>trans1:</p>
<ul>
<li>interface test: 192.168.11.2</li>
<li>interface lan: 192.168.12.1/24, not used in this test</li>
<li>interface lan:fdca:ffee:babe:46::1/64 an <a title="ULA rfc" href="http://tools.ietf.org/html/rfc4193">ULA</a> address.</li>
<li>interface lan: route to ::ffff:ffff:192.168.15.0/120 via trans2 (linklayer address)</li>
<li>interface siit0: 169.254.42.42/16 (dummy ipv4 address)</li>
<li>interface siit0: &#8220;route add default dev siit0&#8243; all ipv4 trash goes into translation, if not getting better route to any interface.</li>
<li>&#8220;route add -A inet6 ::ffff:ffff:0:0/96 dev siit0&#8243; to push any to be translated traffic into the translator.</li>
</ul>
<p>trans2:</p>
<ul>
<li>interface test: 192.168.12.2/24 (not used in this test)</li>
<li>interface test: fdca:ffee:babe:46::2/64</li>
<li>interface test: route to ::ffff:ffff:192.168.11.0/120 via trans1 (linklayer address)</li>
<li>interface lan: 192.168.15.1/24</li>
<li>interface siit0: 169.254.42.42/16 (also dummy)</li>
<li>interface siit0: &#8220;route add default dev siit0&#8243; again</li>
<li>&#8220;route add -A inet6 ::ffff:ffff:0:0/96 dev siit0&#8243; again.</li>
</ul>
<p>dest:</p>
<ul>
<li>192.168.15.2/24, connected to interface lan of trans2</li>
</ul>
<p>/etc/init.d/firewall disable on trans1 and trans2</p>
<p>i left the wanports attached to my normal lan at home to be able to telnet onto the boxes, but i removed the default gateway for the wan port.</p>
<p>i had to change the ::ffff:ffff -&gt; ::ffff:0000 translating behavior to plain ::ffff:ffff -&gt; ffff:ffff by changing TRANSLATED_PREFIX into 0xffffffff in siit.h, otherwise the way back into the v4 world would not work.</p>
<p>setup:</p>
<p>src and target are easy, configuration is left to the reader.</p>
<p>trans1 and trans2 are using firmware <a title="siit firmware image" href="http://bitrider.digital-phear.com/~alx/siit-2-way-translation/bin/openwrt-brcm-2.4-squashfs.trx">image</a> with the <a title="siit package source" href="http://bitrider.digital-phear.com/~alx/siit-2-way-translation/siit/">siit</a> kernel package in packages and <a title="openwrt buildroot config file" href="http://bitrider.digital-phear.com/~alx/siit-2-way-translation/config-openwrt-siit">this</a> as .config. luci and packages are enabled in feeds.conf, x-wrt not.</p>
<p>trans1 uses following <a title="trans1 config tarball" href="http://bitrider.digital-phear.com/~alx/siit-2-way-translation/siit-trans1-config.tar">tarball</a> as configuration, files go into /etc/config and <a title="set_stuff_trans1.sh" href="http://bitrider.digital-phear.com/~alx/siit-2-way-translation/set_stuff_trans1.sh">set_stuff_trans1.sh</a> to configure things luci cannot configure right now (or i am too dumb to figure it out).</p>
<p>trans2 the same: <a title="trans2 config" href="http://bitrider.digital-phear.com/~alx/siit-2-way-translation/siit-trans2-config.tar">tarball</a> and <a title="setstuff for trans2" href="http://bitrider.digital-phear.com/~alx/siit-2-way-translation/set_stuff_trans2.sh">setstuff</a>.</p>
<p>important: the linklayer address in set_stuff_* has to be changed to reflect the linklayeraddress of the neighbour, as they are lladdr dependent.</p>
<p>when done right, src should be able to ping target, tcpdump on the ipv6 network should show translated ip packets.</p>
<pre>root@target:/# ping 192.168.15.169
PING 192.168.15.169 (192.168.15.169): 56 data bytes
64 bytes from 192.168.15.169: seq=0 ttl=60 time=4.165 ms
64 bytes from 192.168.15.169: seq=1 ttl=60 time=3.113 ms

--- 192.168.15.169 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max = 3.113/3.639/4.165 ms</pre>
<p>and</p>
<pre>root@trans1:~# tcpdump -n -i eth0.0 not port 698
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0.0, link-type EN10MB (Ethernet), capture size 96 bytes
00:54:51.064695 IP6 ::ffff:ffff:c0a8:b01 &gt; ::ffff:ffff:c0a8:fa9: ICMP6, echo request, seq 0, length 64
00:54:51.067329 IP6 ::ffff:ffff:c0a8:fa9 &gt; ::ffff:ffff:c0a8:b01: frag (0|64) ICMP6, echo reply, seq 0, length 64
00:54:52.061440 IP6 ::ffff:ffff:c0a8:b01 &gt; ::ffff:ffff:c0a8:fa9: ICMP6, echo request, seq 1, length 64
00:54:52.063117 IP6 ::ffff:ffff:c0a8:fa9 &gt; ::ffff:ffff:c0a8:b01: frag (0|64) ICMP6, echo reply, seq 1, length 64
00:54:56.059208 IP6 fe80::216:1ff:feaf:c520 &gt; fdca:ffee:babe:46::1: ICMP6, neighbor solicitation, who has fdca:ffee:babe:46::1, length 32
00:54:56.059376 IP6 fdca:ffee:babe:46::1 &gt; fe80::216:1ff:feaf:c520: ICMP6, neighbor advertisement, tgt is fdca:ffee:babe:46::1, length 32
00:54:56.060094 IP6 fe80::216:1ff:feaf:a6d4 &gt; fdca:ffee:babe:46::2: ICMP6, neighbor solicitation, who has fdca:ffee:babe:46::2, length 32
00:54:56.060427 IP6 fdca:ffee:babe:46::2 &gt; fe80::216:1ff:feaf:a6d4: ICMP6, neighbor advertisement, tgt is fdca:ffee:babe:46::2, length 32

8 packets captured
8 packets received by filter
0 packets dropped by kernel
root@trans1:~#</pre>
]]></content:encoded>
			<wfw:commentRss>https://blog.dd19.de/~alx/2008/11/rfc2765-part2/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>rfc2765 part1</title>
		<link>https://blog.dd19.de/~alx/2008/11/rfc2765-part1/</link>
		<comments>https://blog.dd19.de/~alx/2008/11/rfc2765-part1/#comments</comments>
		<pubDate>Tue, 25 Nov 2008 07:45:30 +0000</pubDate>
		<dc:creator>alx</dc:creator>
				<category><![CDATA[freifunk]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[ipv6]]></category>
		<category><![CDATA[siit]]></category>
		<category><![CDATA[wireless]]></category>

		<guid isPermaLink="false">http://blogs.k-ita.de/~alx/?p=78</guid>
		<description><![CDATA[Some 3-4 years ago, i had the idea of replacing all ipv4 addresses in a mesh network with ipv6 addresses, while still routing ipv4 through the mesh. The basic idea behind it was to translate ip4 stateless into ipv6 packets, &#8230; <a href="https://blog.dd19.de/~alx/2008/11/rfc2765-part1/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Some 3-4 years ago, i had the idea of replacing all ipv4 addresses in a mesh network with ipv6 addresses, while still routing ipv4 through the mesh.</p>
<p>The basic idea behind it was to translate ip4 stateless into ipv6 packets, route them through the mesh and translate them back into ipv4 packets at the border of the mesh.</p>
<p>i tried to visualize it: <a href="http://blogs.k-ita.de/~alx/wp-content/uploads/2008/11/ipv6-translation.pdf">ipv6-translation</a>.</p>
<p>Experiments with <a title="Portable relay translator daemon" href="http://www.litech.org/ptrtd/">trt</a> did not succeed, but after reading more rfc documents, i found <a title="RFC 2765" href="http://tools.ietf.org/html/rfc2765">rfc2765</a>, which descibes exactly what i wanted to do.</p>
<p>But there was no implementation.</p>
<p>Some more googleing led to russian <a href="http://www.ispras.ru/~ipv6/article.html">documents</a>, doing mostly what i wanted.</p>
<p>With some help from <a title="Daniel" href="http://blog.leo34.net/">Daniel</a> and google translate, we got the source and a vague idea of how i might work. Felix from the <a title="OpenWrt project" href="http://openwrt.org/">OpenWrt</a> project helped a lot to make a broadcom-2.4 kernel package.</p>
<p>Took 2 router and a notebook, put a 192.168.11.0/24 on one lan between the 2 router, put a ::ffff:0:192.168.13.0/96 between the router and the notebook and was finally able to see a translated ping on my routers siit0 interface:</p>
<pre>07:30:19.583928 IP 192.168.11.1 &gt; 192.168.13.3: ICMP echo request, id 51461, seq 31, length 64
07:30:19.584046 IP6 ::ffff:ffff:c0a8:b01 &gt; ::ffff:0:c0a8:d03: ICMP6, echo request, seq 31, length 64
07:30:20.583894 IP 192.168.11.1 &gt; 192.168.13.3: ICMP echo request, id 51461, seq 32, length 64
07:30:20.584012 IP6 ::ffff:ffff:c0a8:b01 &gt; ::ffff:0:c0a8:d03: ICMP6, echo request, seq 32, length 64
07:30:21.583923 IP 192.168.11.1 &gt; 192.168.13.3: ICMP echo request, id 51461, seq 33, length 64
07:30:21.584038 IP6 ::ffff:ffff:c0a8:b01 &gt; ::ffff:0:c0a8:d03: ICMP6, echo request, seq 33, length 64</pre>
<p>resulting in:</p>
<pre>07:31:00.584243 IP6 ::ffff:ffff:c0a8:b01 &gt; ::ffff:0:c0a8:d03: ICMP6, echo request, seq 72, length 64
07:31:01.584215 IP6 ::ffff:ffff:c0a8:b01 &gt; ::ffff:0:c0a8:d03: ICMP6, echo request, seq 73, length 64</pre>
<p>on the lan segment to the notebook, where i can see the packets arriving.</p>
<p>The route back is still missing, the 2nd translator is missing, the prefixes and the prefixlenght is hardcoded in the driver, but it is a first success on the way to a better world.</p>
<p>And, the kernelmodule is only 13340 bytes, which makes it much more interesting than putting it together in <a title="Click modular router" href="http://read.cs.ucla.edu/click/">click</a>, which also should be <a title="translates IPv6/ICMPv6, TCP, and UDP packets' addresses and ports" href="http://read.cs.ucla.edu/click/elements/addresstranslator">possible</a>.</p>
<p>I would like to see it working with click too, as the code is much cleaner and better maintained, even when its much bigger and therefore not so well suited for our small wireless router.</p>
<p>Now some sleep.</p>
<p>update: source <a title="siit openwrt package" href="http://bitrider.digital-phear.com/~alx/siit/">here</a>.</p>
<p>to be continued&#8230;</p>
<p>P.S.: openwrt build is <a title="openwrt broadcom-2.4 with siit" href="http://bitrider.digital-phear.com/~alx/brcm-siit/">here</a>.</p>
<p>Update2: setting the defaultroute to an fe80:: link local address on the notebook worked, so the route back works and the ping gets back. It works!</p>
]]></content:encoded>
			<wfw:commentRss>https://blog.dd19.de/~alx/2008/11/rfc2765-part1/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

