[lxc-users] Looking for LXD-2.4.1 Static IP Setup Documentation
    David Favor 
    david at davidfavor.com
       
    Tue Oct 18 19:02:06 UTC 2016
    
    
  
Many conflicting suggestions. Looking for documentation for how to
accomplish the following.
My project consists of migrating 100s of LXC containers to LXD,
where each container has a static/public IP.
_______
Environment + example test container...
net12 # lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 16.10
Release:	16.10
Codename:	yakkety
net12 # lxd --version
2.4.1
net12 # lxc list
+------------------+---------+----------------------+-----------------------------------------------+------------+-----------+
|       NAME       |  STATE  |         IPV4         |                     IPV6                      |    TYPE    | SNAPSHOTS |
+------------------+---------+----------------------+-----------------------------------------------+------------+-----------+
| yakkety-template | RUNNING | 10.87.167.115 (eth0) | fd42:1ad8:ce37:1b12:216:3eff:fe86:c4d4 (eth0) | PERSISTENT | 0         |
+------------------+---------+----------------------+-----------------------------------------------+------------+-----------+
_______
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.
Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20161018/93126032/attachment.html>
    
    
More information about the lxc-users
mailing list