Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Similar to LXC, LXD 2.x can also assign static IP addresses. Almost similar approach but the files are slightly different.

Also note as of LXD 2.3 there are networking tools that take care of this.

modify /etc/default/lxd-bridge to reference an external dnsmasq.conf

put in snippet here

change the default range,

put in snippet here

Reference

http://jason.trickett.us/2016/08/lxd-containers-static-ip-addresses-heres/ - Source article for this but missing some details on changing the default range otherwise you'll end up with collisions.

  • No labels