Tag: lan

How to get LXD containers get IP from the LAN with routed network

You are using LXD containers and you want a container (or more) to get an IP address from the LAN (or, get an IP address just like the host does). LXD currently supports four ways to do that, and depending on your needs, you select the appropriate way. Using macvlan. See https://blog.simos.info/how-to-make-your-lxd-container-get-ip-addresses-from-your-lan/ Using bridged. See …

Continue reading

Permanent link to this article: https://blog.simos.info/how-to-get-lxd-containers-get-ip-from-the-lan-with-routed-network/

How to make your LXD containers get IP addresses from your LAN using macvlan

Update 22 June 2020 I have updated this post to be compatible with LXD 4.0. I also adapted it in order to create an empty profile that does only the macvlan stuff and is independent of the default profile. Finally, I am calling the profile macvlan (previous name: lanprofile). WARNING #1: By using macvlan, your …

Continue reading

Permanent link to this article: https://blog.simos.info/how-to-make-your-lxd-container-get-ip-addresses-from-your-lan/

%d bloggers like this: