[lxc-users] LXD static IP in container

Andrey Repin anrdaemon at yandex.ru
Sat Feb 8 14:13:17 UTC 2020


Greetings, Michael Eager!

> Thanks.  I had tried this, but it didn't appear to work.  I just tried
> it again and got it to work.

> I assume that I can move the eth0 definition back to the profile,
> without the ipv4.address specification.

I don't know about LXD specifics, but for bare LXC, there was a difference
in lxc.net.X.flags = up/down
If you configure container network to be "up", LXC will try to configure
network from the outside. If you set the interface to be "down", it will leave
configuration to the container.


-- 
With best regards,
Andrey Repin
Saturday, February 8, 2020 16:56:47

Sorry for my terrible english...



More information about the lxc-users mailing list