[radvd-devel-l] New option idea: Base6Interface
Reuben Hawkins
reubenhwk at gmail.com
Sat Feb 26 15:30:24 EST 2011
On Fri, Feb 25, 2011 at 4:31 AM, Stephen Dawkins <elfarto at elfarto.com>wrote:
> Hi
>
> I've been thinking it would be nice to have an option like
> Base6to4Interface, but that takes the IPv6 address/prefix from the
> specified interface, and uses that instead of having to specify the
> prefix in the radvd conf file.
>
> Example (assuming eth0 is the LAN and eth1 is the WAN with an IPv6
> address that's already been assigned):
>
> interface eth0 {
> AdvSendAdvert on;
> MinRtrAdvInterval 3;
> MaxRtrAdvInterval 10;
> prefix ::/64 {
> AdvOnLink on;
> AdvAutonomous on;
> AdvRouterAddr on;
> Base6Interface eth1;
> };
> };
>
> Taking this one step futher, would it be possible to get radvd to act
> more like a dumb repeater, including any information that was received
> (such as RDNSS and DNSSL)?
>
> Thanks & Regards
> Stephen
>
> --
> radvd-devel-l mailing list : radvd-devel-l at litech.org
> http://lists.litech.org/listinfo/radvd-devel-l
>
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).
Thanks,
Reuben
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.litech.org/pipermail/radvd-devel-l/attachments/20110226/4574a137/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: main.c
Type: text/x-csrc
Size: 2967 bytes
Desc: not available
URL: <http://lists.litech.org/pipermail/radvd-devel-l/attachments/20110226/4574a137/attachment.c>
More information about the radvd-devel-l
mailing list