On Fri, 2 Dec 2011, nishant mungse wrote:

> Hi,
>
> I want the ip address to be assigned in order as the containers are started
> and not assigned by DHCP. For example :: container1::
> 193.163.195.01,container2:: 193.163.195.02 like wise if there is
> container30 :: 193.163.195.30, this should be its ip address.
>
> What are changes that are to done in *conf file of lxc* so as to get this
> kind of address?
>
> Plz help me ASAP.

According to the file manual

   man lxc.conf

you set lxc.network.ipv4 to the IP address and network prefix.

e.g.

   lxc.network.ipv4 = 193.163.195.1/24

Gordon




------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users

Reply via email to