<div dir="ltr">Hi all,<div><br></div><div>I was just debugging some IPv6 connectivity problems and realised that container interfaces do not inherit host's default settings about IPv6 autoconfiguration.</div><div><br></div><div>More precisely I am talking about these two parameters:</div><div><div>- /proc/sys/net/ipv6/conf/*/accept_ra<br></div></div><div><div>- /proc/sys/net/ipv6/conf/*/autoconf<br></div></div><div><br></div><div><br></div><div>### Conditions:</div><div>- host has these two parameters set to value 0 for all following "interfaces":</div><div>---> physical</div><div>---> bridged</div><div>---> /all/... and /default/.., which seem most important when creating new interfaces which is done when container starts.</div><div><br></div><div><br></div><div>### Expected result:</div><div>One would assume that interface visible inside the container would copy host's values from from /default/* location.</div><div><br></div><div><br></div><div>### Actual result:</div><div>Container interface has these two settings set to 1, causing additional IP addresses to spuriously appear on container interfaces (depending on timing of RA broadcasts.</div><div>This is especially annoying when using bridged interface inside container and IPv6 address appears on "physical" interface when it should only be configured on the bridge that contains given interface.</div><div><br></div><div><br></div><div>### Proposed solutions:</div><div>It is of course possible to configure these settings from inside container, as I am currently doing to work around this problem.</div><div><br></div><div>But I propose and put forward for discussion two non-excluding possible solutions:</div><div>1. Copy settings from /proc/sys/net/ipv6/conf/default/*</div><div>2. Allow these settings to be set with lxc.net.ipv6.* settings in container configuration file.</div><div><br></div><div><br></div><div>Looking forward to read your opinions,</div><div>b.</div><div><br></div></div>