<?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>N37-L0RD :: Blog &#187; radvd</title>
	<atom:link href="http://net-lord.net/blog/tag/radvd/feed/" rel="self" type="application/rss+xml" />
	<link>http://net-lord.net/blog</link>
	<description>N37-L0RD&#039;s personal blog</description>
	<lastBuildDate>Sun, 13 Jun 2010 20:24:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>DHCPv6 (relay) and RADVD in harmony</title>
		<link>http://net-lord.net/blog/2010/01/09/dhcpv6-relay-and-radvd-in-harmony/</link>
		<comments>http://net-lord.net/blog/2010/01/09/dhcpv6-relay-and-radvd-in-harmony/#comments</comments>
		<pubDate>Fri, 08 Jan 2010 23:36:20 +0000</pubDate>
		<dc:creator>N37-L0RD</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[dhcp]]></category>
		<category><![CDATA[ipv6]]></category>
		<category><![CDATA[radvd]]></category>

		<guid isPermaLink="false">http://net-lord.net/blog/?p=93</guid>
		<description><![CDATA[Today it was time to test IPv6 routing on a much bigger scale than any of my previous tests and it took me and a friend a few hours to find a solution to a supposably simple problem. Ok, first some theory about what we were trying to achieve. In IPv4 world, DHCP server sets [...]]]></description>
			<content:encoded><![CDATA[<p>Today it was time to test IPv6 routing on a much bigger scale than any of my previous tests and it took me and a friend a few hours to find a solution to a supposably simple problem.</p>
<p>Ok, first some theory about what we were trying to achieve. In IPv4 world, DHCP server sets client&#8217;s IP address, DNS servers, gateway and many other optional parameters and it all works great from one place. However, in IPv6 world, DHCP server doesn&#8217;t set your <strong>gateway address</strong>. Why is that so? Well, I can&#8217;t think of a good reason, but I guess this is because of some &#8220;architectural&#8221; changes in IPv6.</p>
<p>I have known this before and I also had a solution to that problem &#8211; mix it with <strong>radvd</strong> <em>(Router Advertisement Daemon). </em>What does radvd do? It advertises your router and IPv6 prefix to the connected clients and enables them to configure IPv6 much like a DHCPv6. So why can&#8217;t we use just one of them? Because radvd also <strong>gives your client a gateway address</strong>, but it <strong>can&#8217;t </strong>set things like DNS or NTP servers and other DHCP-like parameters.</p>
<p><em>And this is where we encountered a problem&#8230;</em></p>
<p>It all worked great (and as expected) when we had only one of them working (except that some of the things were missing), but when we started both of them it simply ignored DHCPv6. Ok&#8230; so we now need to persuade clients to use both of them to configure their networking and we need to make that on the server-side.</p>
<p>And just how do we do that? Well, after about two hours of searching, I dug into <a href="http://linuxreviews.org/man/radvd.conf/">radvd.conf Manpage</a> and what did I see?</p>
<p>&#8230;<br />
<strong>AdvManagedFlag on|off</strong></p>
<p><em>When set, hosts use the administered (stateful) protocol for address autoconfiguration in addition to any addresses autoconfigured using stateless address autoconfiguration. The use of this flag is described in RFC 2462.</em></p>
<p><strong>Default: off</strong><br />
&#8230;</p>
<p>And after setting this parameter in my radvd configuration file, clients started to pump information from both radvd and DHCPv6.</p>
<p>At the end I would like to recommend <a href="http://klub.com.pl/dhcpv6/">Dibbler &#8211; a portable DHCPv6</a> as your DHCPv6 server or relay agent as it really worked out of the box and after a few configuration changes we were ready to roll.</p>
]]></content:encoded>
			<wfw:commentRss>http://net-lord.net/blog/2010/01/09/dhcpv6-relay-and-radvd-in-harmony/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
