[Bridge] bridge in 'hub' mode possible?

Nuutti Kotivuori naked at iki.fi
Mon Nov 29 10:32:23 PST 2004


Stephen Hemminger wrote:
> On Mon, 29 Nov 2004 16:01:57 +0200
> Nuutti Kotivuori <naked at iki.fi> wrote:
>> That is, effectively to just turn off MAC address learning and
>> treat all packets on the bridge level effectively as broadcasts.
>
> Why, are you trying to work around flaws in the underlying Ethernet
> layer. If so, fix it there.

No, I am trying to allow tcpdumping of all traffic travelling through
the bridge at any port of the bridge, most of which are running UML
virtual machines.

This isn't fixing some flaw, or trying to work around features - for
example it is a legitimate need to be able to set up a dumper for some
part of the network. At my former workplace, we used to have a
'guaranteed hub' - an old 10Mbit hub that was guaranteed to do no MAC
address learning - that we used when we needed to dump some traffic
for a certain computer.

And no, the bridge will not be running spanning tree protocol either.

>> Or could this be done with some ebtables hack?
>
> Yes

Instructions appreciated, then.

-- Naked



More information about the Bridge mailing list