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

Marc Haber mh+lxc-users at zugschlus.de
Sun May 22 05:27:31 UTC 2011


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.

(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

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 3221 2323190




More information about the lxc-users mailing list