Hello,
On 06/01/18 04:25, MegaBrutal wrote:
It's very sad that I had to do this, but I wrote a script to check the
IPv6 default route of a container. In case it finds a problem (there
is no default route or it is configured through RA when the interface
configuration is supposed to be static),
Hi all,
It's very sad that I had to do this, but I wrote a script to check the
IPv6 default route of a container. In case it finds a problem (there
is no default route or it is configured through RA when the interface
configuration is supposed to be static), it resets and reconfigures
the network
On 07/11/17 14:55, Marat Khalili wrote:
On 07/11/17 13:45, MegaBrutal wrote:
First of all, I also suggest you to comment out the line
"lxc.net.0.flags = up" in your LXC container configuration
(/var/lib/lxc/containername/config).
Will definitely try it, although since it happens so rarely in my
I would suggest to configure the network in /config
(including the default route) before the container is even
started. IPv4 and IPv6.
Your /etc/network/interfaces should be empty. /etc/resolv.conf
has to be setup accordingly.
Regards
Harri
___
lxc-
On 07/11/17 13:45, MegaBrutal wrote:
First of all, I also suggest you to comment out the line
"lxc.net.0.flags = up" in your LXC container configuration
(/var/lib/lxc/containername/config).
Will definitely try it, although since it happens so rarely in my case
(approximately once per month in d
Hi Marat,
First of all, I also suggest you to comment out the line
"lxc.net.0.flags = up" in your LXC container configuration
(/var/lib/lxc/containername/config). (Note, if you have an older
version of LXC, the line is "lxc.network.flags", if I remember
correctly.) Probably it would help your cont
If I reboot the
container multiple times, once I'll get lucky and the interface
configuration happens before an RA is received, and I get a permanent
default route and everything's fine. But it's annoying because I have
to reboot the container multiple times before it happens.
I don't know the cau
Hi all,
I experience an annoying race condition when my LXC container's
network interface comes up. By default, nodes are expected to
configure themselves with Router Advertisements; but for some
containers, I'd prefer to set a static address. In these containers, I
use a static configuration in /