[Lxc-users] IPv6 Stateless Autoconfig with radvd running on the lxc host

Francois-Xavier Bourlet francois-xavier.bourlet at dotcloud.com
Tue May 24 05:54:18 UTC 2011


I loled.

On Mon, May 23, 2011 at 10:12 PM, John Soros <johnny at r0x0r.me> wrote:
> that's a weird BOOLEAN
>
>
> On Sun, 22 May 2011 15:52:23 +0200
> Daniel Lezcano <daniel.lezcano at free.fr> wrote:
>
>> On 05/22/2011 07:27 AM, Marc Haber wrote:
>> > On Sat, May 21, 2011 at 10:53:56PM +0200, Daniel Lezcano wrote:
>> >> On 05/21/2011 10:11 PM, Marc Haber wrote:
>> >>> On Sat, May 21, 2011 at 10:07:03PM +0200, Daniel Lezcano wrote:
>> >>>> Is the guest's /proc/sys/net/ipv6/conf/eth0/accept_ra set ?
>> >>> It is.
>> >> Can you check by setting the value to '2' and then ifdown/ifup the
>> >> interface ?
>> > Ok, this is interesting. Two results:
>> >
>> > (1)
>> > With neither setting does the lxc container actively send out Router
>> > Solicitations. It just sits there waiting for the next Router
>> > Advertisement, which is only sent out by the radvd every 600
>> > seconds.
>>
>> The documentation says:
>>
>>   accept_ra - BOOLEAN
>>          Accept Router Advertisements; autoconfigure using them.
>>
>>          Possible values are:
>>                  0 Do not accept Router Advertisements.
>>                  1 Accept Router Advertisements if forwarding is
>> disabled. 2 Overrule forwarding behaviour. Accept Router
>> Advertisements
>>                    even if forwarding is enabled.
>>
>>          Functional default: enabled if local forwarding is disabled.
>>                              disabled if local forwarding is enabled.
>>
>>
>> > (2)
>> > Only with 2 in /proc/sys/net/ipv6/conf/eth0/accept_ra, the lxc
>> > container acts on an incoming Router Advertisement, which can be
>> > forced by restarting the radvd. With accept_ra=2, it accepts the RA
>> > and properly acts on it, while with accept_ra=1, it just ignores the
>> > RA.
>> >
>> > Greetings
>> > Marc
>> >
>>
>>
>> ------------------------------------------------------------------------------
>> What Every C/C++ and Fortran developer Should Know!
>> Read this article and learn how Intel has extended the reach of its
>> next-generation tools to help Windows* and Linux* C/C++ and Fortran
>> developers boost performance applications - including clusters.
>> http://p.sf.net/sfu/intel-dev2devmay
>> _______________________________________________
>> Lxc-users mailing list
>> Lxc-users at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/lxc-users
>
>
> ------------------------------------------------------------------------------
> vRanger cuts backup time in half-while increasing security.
> With the market-leading solution for virtual backup and recovery,
> you get blazing-fast, flexible, and affordable data protection.
> Download your free trial now.
> http://p.sf.net/sfu/quest-d2dcopy1
> _______________________________________________
> Lxc-users mailing list
> Lxc-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/lxc-users
>



-- 
François-Xavier Bourlet




More information about the lxc-users mailing list