Ethernet Bridge development
 help / color / mirror / Atom feed
* [Bridge] Problem configuring bridge as a hub between host server and running VM guest
@ 2011-02-04 16:17 Ravi Varun Nair
  2011-02-15 16:03 ` Stephen Hemminger
  0 siblings, 1 reply; 4+ messages in thread
From: Ravi Varun Nair @ 2011-02-04 16:17 UTC (permalink / raw)
  To: bridge

[-- Attachment #1: Type: text/plain, Size: 1670 bytes --]

Hi,
I am having a problem with configuring the bridge to work as a hub. My 
setup is the following:

 I have a RHEL host server on which I am running KVM. I have a Linux guest 
that I am running on this. A physical interface of the host is on the same 
bridge as the guest's interface. The bridge inherits the mac address of 
the physical interface on running the steps as mentioned in this link 
http://wiki.libvirt.org/page/Networking#Fedora.2FRHEL_Bridging . Also the 
static IP address that was being originally provided to the physical 
interface, is now given to the  bridge to enable networking for the host.

What I am trying to do is have a copy of all the traffic coming in on the 
physical interface be given to the VM. To configure the bridge as a hub, I 
set the ageing time value on the bridge to 0 as mentioned in a previous 
post on this list (
http://www.mail-archive.com/bridge@lists.linux-foundation.org/msg01940.html
). The problem I am facing is that on the VM,  I only see the 
traffic(using tcpdump) leaving the physical interface. I do not see the 
traffic that is coming in to the physical interface. The bridge assumes(I 
am guessing as it inherits the mac address of the physical interface), 
that the incoming traffic is meant for itself and hence does not forward 
on the traffic. 

In case a second guest is introduced in the above scenario(with an 
interface on the same bridge), then with the above configuration for 
ageing time, all the traffic going to one guest is seen by the second 
guest. So, the bridge does work as a hub for all other scenarios.

Could someone suggest if there is a way to work around this problem?

Thanks
varun

[-- Attachment #2: Type: text/html, Size: 2334 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-02-16 22:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-04 16:17 [Bridge] Problem configuring bridge as a hub between host server and running VM guest Ravi Varun Nair
2011-02-15 16:03 ` Stephen Hemminger
2011-02-16 12:33   ` Andrew Woods
2011-02-16 22:07   ` Ravi Varun Nair

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox