[Lxc-users] How assign the IP address sequentially?
lists.jc.michel at symetrie.com
lists.jc.michel at symetrie.com
Wed Dec 7 10:54:50 UTC 2011
Hi,
Le 7 déc. 2011 à 07:22, nishant mungse a écrit :
> I want to assign the ip address of containers sequentially for eg:: container1 ::195.168.206.1 container2::195.168.206.2 like this.
I think you can do this simply by editing the files in your container once created :
/var/lib/lxc/your-container-name/rootfs/etc/network/interfaces
So build a script to create your container and edit its ip.
More information about the lxc-users
mailing list