Re: Hub-like bridge behaviour?
From: Stephen Hemminger
Date: Fri Jan 18 2008 - 13:30:11 EST
On Wed, 16 Jan 2008 14:11:23 +0100
Patric Schmitz <patricschmitz@xxxxxxx> wrote:
> Hello linux-net,
>
> is there a (preferrably simple) way to make a ethernet bridge behave like a
> hub, instead of a switch?
> I want the packets to be routed not only to the "port" for which the MAC-address
> of the receiver is cached, but have them duplicated on all ports.
> The aim of this is to have 2 interfaces bridged, and take a third one into the
> bridge which replicates the bridge traffic, so a second machine can be connected
> on this port to monitor the actual bridge traffic.
>
> Thanks in advance,
> Patric
Set the bridge forwarding delay and ageing time to zero.
# brctl setageingtime br0 0
# brctl setfd br0 0
--
Stephen Hemminger <stephen.hemminger@xxxxxxxxxx>
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html