From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078694111534.tru64-unix-managers.marc@archive.invalid> From: "Paul A. Scowen" Date: Mon, 23 Feb 1998 17:28:18 +0000 To: tru64-unix-managers Subject: SUMMARY: obtaining MAC address of any system X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078694111534 I had a lot of responses but no satisfactory solution. Thanks to: scott.b.skeate@lmco.com Mike Iglesias Alex_Nord@Jabil.com Thomas Leitner Wesley Darlington Paul Norton "Burelbach, Jonathan" Martin Mokrejs Gary Gladney Nicolas Michal Bertrand Hutin Tom Webster "Robert L. McMillin" The consensus was that ARP does in fact work with all architectures, the trick is finding some quick way to populate the ARP table with their addresses - ping generally only works with intelligent OS's. A good suggestion was to ping the broadcast address for your subnet - that nails all respondent machines at once. But this won't find Mac's and PC's. Telnet to some of these machines will work. Once you've got a response, you will see the MAC address in your ARP table. BUT, and this is the big one, this all will only work, or mean anything for your local subnet. If you have a router between you and the offending machines you're SOL. The ARP address returned will be that of the router, which ain't a lot of use. FYI I found one bad boy machine, but there are two others out there on campus getting in to my subnet and causing havoc. This mechanism does not help. Arpwatch is somewhat useful and will at least resolve the IP address of the machine doing the dirty deed - from there I can go through DNS to find them - but the MAC id is not legit. If you want to build arpwatch locally, get the source from: ftp://ftp.ee.lbl.gov/arpwatch.tar.Z and, ftp://ftp.ee.lbl.gov/libpcap.tar.Z useful tool. -- ------------------------------------------------------------------------------- Paul A. Scowen | Internet: scowen@tycho.la.asu.edu Dept of Physics & Astronomy | paul.scowen@asu.edu Arizona State University | World Wide Web: Box 871504, Tempe, AZ 85287-1504 | http://tycho.la.asu.edu/scowen.html Tel/FAX: (602) 965-0938 / 7954 | http://tycho.la.asu.edu/sah.html -------------------------------------------------------------------------------