[lxc-users] Macvlan explained

Andrey Repin anrdaemon at yandex.ru
Sun May 6 02:11:04 UTC 2018


Greetings, Michel Jansens!

> In the case of LXD, I suppose the macvlan bridge mode is used?

Last I checked, no. By default, LXC/LXD did not use macvlans.

> It also mentions that although VMs cannot directly communicate with the
> host, you can add another macvlan sub-interface and assign it to the host to enable communication…

Yes. If you create macvlan bridge on the interface with containers, you will
be able to communicate with them.

I wrote an ifupdown handler to simplify this process.
https://pastebin.com/yaRH8zC9


-- 
With best regards,
Andrey Repin
Sunday, May 6, 2018 05:05:32

Sorry for my terrible english...


More information about the lxc-users mailing list