Subject: Re: disabling "switching" functionality in bridge(4)?
To: Hubert Feyrer <hubert@feyrer.de>
From: Daniel Carosone <dan@geek.com.au>
List: tech-net
Date: 02/27/2005 11:46:40
--jIYo0VRlfdMI9fLa
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
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,=
=20
> 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.
--
Dan.
--jIYo0VRlfdMI9fLa
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (NetBSD)
iD8DBQFCIRhwEAVxvV4N66cRAqfDAJ9Xz7ySdIkfsPNuemd/HSSfKTrxlQCgnfEg
yirkwpJLNP+q7n39ngWIu2Y=
=yKEs
-----END PGP SIGNATURE-----
--jIYo0VRlfdMI9fLa--