<br><br><div class="gmail_quote">On Tue, Mar 1, 2011 at 1:35 PM, Stephen Dawkins <span dir="ltr"><<a href="mailto:elfarto@elfarto.com">elfarto@elfarto.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">On 26/02/2011 17:13, Reuben Hawkins wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi Stephen,<br>
<br>
Base6Interface is committed to CVS. It's ready for a test drive.<br>
<br>
Thanks,<br>
Reuben<br>
<br>
</blockquote>
<br></div>
Hi Reuben<br>
<br>
Thanks for the quick response. I finally got around to testing it. It works fine if you specify the prefix as 2000::/64, but not if you specify the prefix as ::/64.<br>
<br>
Log snippets:<br>
<br>
with ::/64<br>
[Mar 01 21:30:51] radvd: version 1.7 started<br>
[Mar 01 21:30:51] radvd: all-zeros prefix in radvd.conf, line 5, parsing..<br>
[Mar 01 21:30:51] radvd: no auto-selected prefix on interface eth0, disabling advertisements<br>
<br>
with 2000::/64<br>
[Mar 01 21:31:28] radvd: version 1.7 started<br>
[Mar 01 21:31:28] radvd: using prefixes on interface br0 for prefixes on interface eth0<br>
[Mar 01 21:31:28] radvd: auto-selected prefix 2001:470:1f09:14ab::/64 on interface eth0 from interface br0<br>
<br>
It seems the all-zero prefix causes other code to run and interferes with the Base6Interface code.<br>
<br>
Thanks & Regards<br><font color="#888888">
Stephen<br>
</font><br></blockquote><div><br><br>Hi Stephen,<br><br>Yes, that is expected. All zero prefix activates auto-select on the interface itself. So...<br><br>interface eth0 {<br> prefix ::/0;<br>};<br><br>...will select the prefixes from the global unicast addresses already set on eth0. Base6Interface masks in whatever prefix you specify with a prefix from your Base6Interface.... So...<br>
<br>interface eth0 {<br> prefix ffff:ffff:ffff:ffff::/64 {<br> Base6Interface br0;<br> };<br>};<br><br>Would give you a prefix something like... 2001:1234:5678:ffff::/64 assuming the prefix len on br0 is /48.<br><br>
IMHO, It's somewhat a kludge. I think the auto-selecting code should get prefixes from the routing table, not the actual addresses on the interfaces, and auto-selecting prefixes shouldn't look so similar to a real prefix (i.e. prefix ::/64)...but that's a project for another day...<br>
<br>Thanks,<br>Reuben<br></div></div>