Date: Sun, 5 Sep 2004 12:47:27 +0100 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: Mark Mumby <mmumby@xtra.co.nz> Cc: freebsd-questions@freebsd.org Subject: Re: Finding MAC Addresses on bridge interfaces Message-ID: <20040905114727.GA51653@happy-idiot-talk.infracaninophile.co.uk> In-Reply-To: <000b01c49336$c1cd70c0$1403a8c0@mumby.co.nz> References: <000b01c49336$c1cd70c0$1403a8c0@mumby.co.nz>
next in thread | previous in thread | raw e-mail | index | archive | help
--xHFwDpU9dbj6ez1V Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Sep 05, 2004 at 10:54:45PM +1200, Mark Mumby wrote: > Hi, > I am running FreeBSD 4.9-RELEASE as a bridging ipfw firewall. What i > would like to know is how to get the mac addresses of the upsteam and > downstream neighbors (mac addresses of devices either side of the > bridge) showing what interface they "appear" on. > =20 > Using arp -a seems to associate the mac addresses with the interface > that is configured with the management ip address=20 > =20 > ie > LAN A > | > rl0 192.168.4.200 > | > bridge > | > xl0 un-numbered > | > LAN B > =20 > When i do a arp -a, addresses on LAN B say they are on rl0 not xl0. What does 'netstat -r' show you? It should list all of the MAC addresses in the routing cache, plus the interface it uses to communicate to them. You might need to ping various hosts judiciously in order to get their details into the cache. Cheers, Matthew=09 --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --xHFwDpU9dbj6ez1V Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBOvzPiD657aJF7eIRAkPeAKCeC6CAfxKF77Fb3uvmAhTVrir3hwCfXCtW q+UHeklc9h4uL7WNkb5Qp1E= =qusJ -----END PGP SIGNATURE----- --xHFwDpU9dbj6ez1V--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040905114727.GA51653>