[Lxc-users] container with 2 public ip subnets
Papp Tamas
tompos at martos.bme.hu
Thu May 24 13:17:19 UTC 2012
On 05/24/2012 02:50 PM, Andreas Fleckl wrote:
> hi, i try to enable
> a new public subnet
> into a well running lxc container
>
> but i cant get a hint for the right syntax
> is it possible?
>
Yes, you just need to duplicate configuration entries:
lxc.network.type = veth
lxc.network.flags = up
lxc.network.link = br-eth0
lxc.network.name = eth0
lxc.network.mtu = 1500
lxc.network.hwaddr = 52:54:61:41:35:28
lxc.network.veth.pair = veth-container0
lxc.network.type = veth
lxc.network.flags = up
lxc.network.link = br-eth1
lxc.network.name = eth1
lxc.network.mtu = 1500
lxc.network.hwaddr = 52:54:61:41:35:29
lxc.network.veth.pair = veth-container1
tamas
More information about the lxc-users
mailing list