[lxc-users] Static container IP with unmanaged bridge network

Andrey Repin anrdaemon at yandex.ru
Sun Feb 10 20:34:01 UTC 2019


Greetings, Daniele Riccucci!

> I'm having a bit of a hard time figuring out from the documentation if
> adding ipv4.address to devices > eth0 in the profile would work

TIAS ?
It would only take a few moments to find out.

> and if this requires a simple IP or a CIDR.

CIDR, as it sets both IP and netmask.

> Is this setup possible since the bridge device isn't managed by LXD?

Not related. container configuration sets container parameters, not bridge's
or what not.

P.S.
Remove internal container configuration of network interface, if you don't
want surprises.


-- 
With best regards,
Andrey Repin
Sunday, February 10, 2019 23:31:10

Sorry for my terrible english...



More information about the lxc-users mailing list