Subject: Re: disabling "switching" functionality in bridge(4)?
To: Hubert Feyrer <firstname.lastname@example.org>
From: Daniel Carosone <email@example.com>
Date: 02/27/2005 11:46:40
Content-Type: text/plain; charset=us-ascii
On Sun, Feb 27, 2005 at 12:19:48AM +0100, Hubert Feyrer wrote:
> This doesn't work, as bridge(4) is smart enough to learn MAC addresses,=
> and only forward to the right "port", not all of them (i.e. it's=20
> operating as a switch, not hub).
It can do either. You can change this behaviour with the 'learn' and
'discover' flags. Hub mode is all interfaces discover,-learn.
> Or allow adding some "mirror" port?
> Or even giving the bridge device an IP number, and run tcpdump on that?
You could also use BRIDGE_IPF and a dup-to, I suppose.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (NetBSD)
-----END PGP SIGNATURE-----