<html><body>
<p>Many conflicting suggestions. Looking for documentation for how to accomplish the following.</p>
<p>My project consists of migrating 100s of LXC containers to LXD, where each container has a static/public IP. <em>____</em>_</p>
<p>Environment + example test container…</p>
<p>net12 # lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 16.10 Release: 16.10 Codename: yakkety</p>
<p>net12 # lxd --version 2.4.1</p>
<p>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 | +------------------+---------+----------------------+-----------------------------------------------+------------+-----------+ <em>____</em>_</p>
<p>Looking for best way to change 10.87.167.115 to 144.217.33.224 (static/public IP).</p>
<p>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.</p>
<p>Thanks.</p>
<img src="http://links.davidfavor.com/wf/open?upn=dR-2FDpsqbqS0pG-2FvtYnlwlYDAXhLtx9yTSf3jZyR4W4FJm5kgQqvrKRmmJ9iEttydHt8Xga4tcIwytW-2FQDuMhOWulKitOS6J5Nq7Gl7gbm1mkklEKZmYq5-2F-2F0kIBJW6IUyoeIYC3HEi1rLOQuXP0Zaw5u7ysnc66MZ-2Fhx-2F2dE9I-2FDty8hB5aIZnOEBTkpyeXU91HKfxLBJXqbxL3-2BrazlATbZrTqC6Nqws4N0ry9aShNZnKxc-2Bvmj4-2B-2FGnxP-2BPlCG" alt="" width="1" height="1" border="0" style="height:1px !important;width:1px !important;border-width:0 !important;margin-top:0 !important;margin-bottom:0 !important;margin-right:0 !important;margin-left:0 !important;padding-top:0 !important;padding-bottom:0 !important;padding-right:0 !important;padding-left:0 !important;"/>
</body></html>