<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>I run lxc container on centos and want to my container to start with a static IP address.  <br>
</div></div></blockquote></div><br></div><div class="gmail_extra">You can set the static IP directly in the lxc's config file:<br><br>lxc.network.ipv4 = <a href="http://192.168.0.11/24">192.168.0.11/24</a><br><br></div>
<div class="gmail_extra">I don't run LXC on CentOS though, so I'm not 100% sure if it'll work. Try it :)<br></div></div>