[Lxc-users] two NICs in container

Oleg Motienko motienko at gmail.com
Sun Jun 12 23:49:12 UTC 2011


Hello,

Is it possible to create multihomed container (multiple bridge
interfaces) if host machine have many bridges (br0,br1,br2 etc) ?


Mihamina Rakotomandimby <mihamina at bb...> wrote 2011-06-01 05:34 :

> Hi all,
>
> When I create a container, I usually created it with only one NIC:
>   [...]
>   lxc.network.type = veth
>   lxc.network.flags = up
>   lxc.network.link = br0
>   lxc.network.ipv4 = 41.204.96.2/28
>   lxc.network.name = eth0
>   [...]
>
> Now I want to create a container with 2 NICs
> On the host I have another bridge "br1", and I wan the 2nd container
> interface to be "eth1"
>
> How to?
>
> --
> RMA.
>

--
Regards,
Oleg




More information about the lxc-users mailing list