[CentOS] Poor perfmance of bridged interfaces

Sergio Belkin sebelk at gmail.com
Wed Nov 25 15:18:35 UTC 2015


2015-11-14 16:43 GMT-03:00 Gordon Messmer <gordon.messmer at gmail.com>:

> On 11/14/2015 09:20 AM, Sergio Belkin wrote:
>
>> I'd want to connect a VM to another VM (or eventually to the host) via the
>> "Linux bridge" so that I can demonstrate that capability in a classroom
>> with only one laptop.
>>
>
> You don't actually need to attach *any* ethernet interfaces to do that.
> If you create a bridge with no Ethernet slaves, and then create two VMs,
> those VMs will get virtual network interfaces that will then be slaved to
> the bridge.  So, you'll see the bridge with two network devices as slaves,
> and those network devices will be attached to the two VMs.
>
> If you create a bridge device with one Ethernet interface attached, then
> you'll end up with a bridge that spans two VMs and the Ethernet interface.
> That way the VMs will be connected to each other and to the Ethernet
> network.
>
> _______________________________________________
>

Are you talking bearing in mind VirtualBox?

I've created a bridge on the host machine, and 2 VM's but br0 has no slaves:

[sergio at hope share]$ sudo brctl show  br0
bridge name     bridge id               STP enabled     interfaces
br0             8000.000000000000       no


Greets

-- 
--
Sergio Belkin
LPIC-2 Certified - http://www.lpi.org



More information about the CentOS mailing list