[lxc-users] Looking for LXD-2.4.1 Static IP Setup Documentation

David Favor david at davidfavor.com
Tue Oct 18 21:10:14 UTC 2016


Mark Constable wrote:
> On 19/10/16 05:02, David Favor wrote:
>> Looking for best way to change 10.87.167.115 to 144.217.33.224 
>> (static/public IP). Prefer doing this in a way where communication
>> between host/container + container/container works without adding
>> iptables rules, which become complex to manage with many containers.
> 
> The simplest way I am aware of is to set up your own bridge on a public
> IP range that you want to allocate and provide your own DHCP server that
> you have control over, or use lxc config to tweak the config of each
> container to provide it with a static IP as you go.

I'd prefer the "tweak each container config" approach.

Be great if someone could provide a URL for an example.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20161018/3e9cad5b/attachment.html>


More information about the lxc-users mailing list