Re: Port Mirroring in Linux



David Schwartz a écrit :

A bridge does whatever it's configured to do.

Within the limits of its configuration options and what it is able to do.

Simply disabling learning will do exactly what the OP wants.

Not exactly. As far as I can see from a quick test, setting the bridge ageing time to zero (brctl setageingtime <brname> 0) seems to disable learning, but the bridge still knows its own MAC addresses, so traffic received on a port destined to one of these MAC address won't be forwarded to other ports.
.