All of lore.kernel.org
 help / color / mirror / Atom feed
From: Harald Sauff <2gr84u@gmail.com>
To: bridge@lists.osdl.org
Subject: [Bridge] bridge doesn't broadcast properly
Date: Tue, 16 Nov 2004 20:08:53 -0000	[thread overview]
Message-ID: <4d04422d04111612021740a8@mail.gmail.com> (raw)

Hello list,

I'm setting up a virtual network consisting of several UMLs (User Mode
Linux) connected with the virtual bridge.
Communications works quite well between the host and the virtual machines.

Setup:
2 UMLs connected via tap-devices to the bridge (tap1,tap2).
The host uses the bridge-device br0 to talk to the clients.

Now I want to tcpdump the traffic between host and UML1 on virtual machine UML2.

With the standard-settings UML2 only catches the initial
ARP-broadcasts (but that's the intended behaviour of the
bridge/switch). :-)

Now I set "brctl setageingtime br0 0", so that the bridge behaves like
a hub (it forgets the MAC-addresses immediately) and broadcasts all
packets on all connected ports. Checking this with "brctl showmacs
br0" shows, that this is working, the MAC-table is always empty.

BUT: on UML2 (the listening machine) I see only the complete traffic
coming from the host (via br0 into the bridge), but the answers from
UML2 to the host (entering the bridge on tap2) are hidden (only
broadcasts can be seen).

Why does the broadcasting of all packets only work from the bridge
directly (br0) and not from the connected tap-devices?

Could this have to do with the fact, that with version 1.0.4 of the
bridge-utils (Debian 3.1, testing) I can't control the GC-time of the
bridge?

In the mailing-list archive I found a thread, where someone wanted the
bridge to be configured as a hub, but the advice to remove some lines
of code from the bridge-code didn't work for me, the bridge is
unusable after removing the code.

Can someone give me a hint, how to get the desired behaviour? An
option for switching between hub- and switch-behaviour would be
nice... ;-)


thanx in advance,
 Harald Sauff

             reply	other threads:[~2004-11-16 20:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-16 20:08 Harald Sauff [this message]
2004-12-02 19:19 ` [Bridge] bridge doesn't broadcast properly Stephen Hemminger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4d04422d04111612021740a8@mail.gmail.com \
    --to=2gr84u@gmail.com \
    --cc=bridge@lists.osdl.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.