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

Daniel Lezcano daniel.lezcano at free.fr
Sun May 22 13:52:23 UTC 2011


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
>





More information about the lxc-users mailing list