<br><br><div class="gmail_quote">On Fri, Feb 25, 2011 at 4:31 AM, 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;">
Hi<br>
<br>
I've been thinking it would be nice to have an option like<br>
Base6to4Interface, but that takes the IPv6 address/prefix from the<br>
specified interface, and uses that instead of having to specify the<br>
prefix in the radvd conf file.<br>
<br>
Example (assuming eth0 is the LAN and eth1 is the WAN with an IPv6<br>
address that's already been assigned):<br>
<br>
interface eth0 {<br>
AdvSendAdvert on;<br>
MinRtrAdvInterval 3;<br>
MaxRtrAdvInterval 10;<br>
prefix ::/64 {<br>
AdvOnLink on;<br>
AdvAutonomous on;<br>
AdvRouterAddr on;<br>
Base6Interface eth1;<br>
};<br>
};<br>
<br>
Taking this one step futher, would it be possible to get radvd to act<br>
more like a dumb repeater, including any information that was received<br>
(such as RDNSS and DNSSL)?<br>
<br>
Thanks & Regards<br>
Stephen<br>
<font color="#888888"><br>
--<br>
radvd-devel-l mailing list : <a href="mailto:radvd-devel-l@litech.org">radvd-devel-l@litech.org</a><br>
<a href="http://lists.litech.org/listinfo/radvd-devel-l" target="_blank">http://lists.litech.org/listinfo/radvd-devel-l</a><br>
</font></blockquote></div><br><br><br>Another way to accomplish this would be to scan /proc/net/ipv6_route for prefixes. The attached source does just that (as a proof of concept).<br><br>Thanks,<br>Reuben<br>