From owner-freebsd-questions@FreeBSD.ORG Sun Sep 5 11:47:35 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 87E7116A4CE for ; Sun, 5 Sep 2004 11:47:35 +0000 (GMT) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1F37B43D53 for ; Sun, 5 Sep 2004 11:47:34 +0000 (GMT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost.infracaninophile.co.uk [IPv6:::1])i85BlSuY061333 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 5 Sep 2004 12:47:28 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)i85BlR2v061328; Sun, 5 Sep 2004 12:47:27 +0100 (BST) (envelope-from matthew) Date: Sun, 5 Sep 2004 12:47:27 +0100 From: Matthew Seaman To: Mark Mumby Message-ID: <20040905114727.GA51653@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , Mark Mumby , freebsd-questions@freebsd.org References: <000b01c49336$c1cd70c0$1403a8c0@mumby.co.nz> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="xHFwDpU9dbj6ez1V" Content-Disposition: inline In-Reply-To: <000b01c49336$c1cd70c0$1403a8c0@mumby.co.nz> User-Agent: Mutt/1.4.2.1i X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.5.6 (smtp.infracaninophile.co.uk [IPv6:::1]); Sun, 05 Sep 2004 12:47:28 +0100 (BST) X-Virus-Scanned: clamd / ClamAV version devel-20040904, clamav-milter version 0.75l on smtp.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.64 X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on happy-idiot-talk.infracaninophile.co.uk cc: freebsd-questions@freebsd.org Subject: Re: Finding MAC Addresses on bridge interfaces X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Sep 2004 11:47:35 -0000 --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--