Re: Can I have more than 1 bridge attached to a KVM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



As far as I know the only way to directly assign real NICs into VM
without bridging is to use PCI passthrough, though this way imposes
several limitations, mostly in IOMMU / VT-d hardware support.

But if bridging is acceptable then you can repeat --network
bridge:<hypervisor_bridge_nic> option in virt-install command line
several times to create as many NICs inside VM as you want.


02.04.2013 14:05, Meir Hazon пишет:
> Thanks.  The bridges are preconfigured at the box.  No issues there.
>  Can I assign  a second physical NiC as a second interface at the KVM?
> Can I do it at the installation time using virt-install? Can I do it by
> editing a file after the KVM is created? I would like to automate things.  
> Thank you
> 
> Sent from my iPhone
> 
> On Apr 2, 2013, at 11:36 AM, "Ilya Ponetayev" <instenet@xxxxxxxxx
> <mailto:instenet@xxxxxxxxx>> wrote:
> 
>> You can try to assign each bridge to its own individual virtual NIC in
>> VM, at least it works with virt-manager + libvirt + qemu-kvm with
>> preconfigured bridges.
>>
>> 02.04.2013 11:41 пользователь "Meir Hazon" <meir@xxxxxxxxxx
>> <mailto:meir@xxxxxxxxxx>> написал:
>> >
>> > Hello Everybody,
>> >
>> >  
>> >
>> > I have a physical machine with 4 Ethernet cards that I have mapped
>> to 4 bridges.
>> >
>> >  
>> >
>> > I would like to have each of my KVMs use 2 bridges for NIC bonding.
>> >
>> >  
>> >
>> > 1.       Can I have more than one bridge assign to one KVM?
>> >
>> > 2.       Can I use virt-install to assign a KVM with more than one
>> bridge during the KVM installation?
>> >
>> > a.       It was a long shot but I have tried bridge=br0,br1 ;
>>  bridge=br0 bridge=br1 – never worked…..
>> >
>> >  
>> >
>> > Thanks so much,
>> >
>> >  
>> >
>> > Meir
>> >
>> >  
>> >
>> >
>> > _______________________________________________
>> > CentOS-virt mailing list
>> > CentOS-virt@xxxxxxxxxx <mailto:CentOS-virt@xxxxxxxxxx>
>> > http://lists.centos.org/mailman/listinfo/centos-virt
>> >
>>
>> _______________________________________________
>> CentOS-virt mailing list
>> CentOS-virt@xxxxxxxxxx <mailto:CentOS-virt@xxxxxxxxxx>
>> http://lists.centos.org/mailman/listinfo/centos-virt
> 
> 
> _______________________________________________
> CentOS-virt mailing list
> CentOS-virt@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos-virt
> 


-- 

Sincerely yours, Ilya Ponetayev <instenet@xxxxxxxxx>

<<attachment: smime.p7s>>

_______________________________________________
CentOS-virt mailing list
CentOS-virt@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos-virt

[Index of Archives]     [CentOS Users]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [X.org]     [Xfree86]     [Linux USB]

  Powered by Linux