[Lxc-users] two NICs in container

Charles A. Hewson cahewson at eskimo.com
Mon Jun 13 13:51:30 UTC 2011


Hi all,
  insert;
   [...]
   lxc.network.type = veth
   lxc.network.flags = up
   lxc.nerwork.link = br1
   lxc.network.ipv4 = 192.168.0.1/24
   lxc.network.name = eth1
   [...]
  for the second interface.
good lick,
Charles

On Mon, 13 Jun 2011, Oleg Motienko wrote:

> 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
>
> ------------------------------------------------------------------------------
> EditLive Enterprise is the world's most technically advanced content
> authoring tool. Experience the power of Track Changes, Inline Image
> Editing and ensure content is compliant with Accessibility Checking.
> http://p.sf.net/sfu/ephox-dev2dev
> _______________________________________________
> Lxc-users mailing list
> Lxc-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/lxc-users
>

-- 
Charles Hewson <cahewson at eskimo.com>
Seattle, WA. U.S.A.


More information about the lxc-users mailing list