Hi,

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 have taken out my network cable I think that means DHCP is out of
picture, but when I start the container it gets ipv6 address and not ipv4
address, my conf file contents are ::

CONF FILE::

lxc.utsname = ubuntu
lxc.mount = /home/nishant/ubuntu.fstab

lxc.pts = 1024

lxc.tty = 4
lxc.cgroup.devices.deny = a

# /dev/null and zero
lxc.cgroup.devices.allow = c 1:3 rwm
lxc.cgroup.devices.allow = c 1:5 rwm
# consoles
lxc.cgroup.devices.allow = c 5:1 rwm
lxc.cgroup.devices.allow = c 5:0 rwm
lxc.cgroup.devices.allow = c 4:0 rwm
lxc.cgroup.devices.allow = c 4:1 rwm

# /dev/{,u}random
lxc.cgroup.devices.allow = c 1:9 rwm
lxc.cgroup.devices.allow = c 1:8 rwm
lxc.cgroup.devices.allow = c 136:* rwm
lxc.cgroup.devices.allow = c 5:2 rwm

# rtc
lxc.cgroup.devices.allow = c 254:0 rwm

# <<<< ADD THOSE LINES

lxc.network.type = veth
lxc.network.flags = up


lxc.network.link = br0
lxc.network.name = eth0
lxc.network.ipv4 = 192.168.206.1/24
lxc.cgroup.cpuset.cpus=0-1,3




What are changes to be done in order to get the address sequentially?

Please help me ASAP.

Regards,
Nishant
------------------------------------------------------------------------------
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of 
discussion for anyone considering optimizing the pricing and packaging model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
_______________________________________________
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users

Reply via email to