I received many replies, most the correct answer. Here is my original question:
> I have an IP number of a host on my network. I want to know its ethernet
> (MAC) address. Sometimes I can get the ethernet number from the ARP table
> on my system if I first ping the host and then do a "arp -a".
> The problem is this only work for certain hosts. Why doesn't this approach
> work for any host?
The reason is that the host in question is on the other side of a router.
Thus, the router does not pass back the MAC address via arp to the source
Thanx to all that replied:
Todd Kover <kovert@cs.UMD.EDU>
email@example.com (Michael Lamoureux)
Randy Diffenderfer <firstname.lastname@example.org>
email@example.com.EDU (Paul Hyder)
firstname.lastname@example.org (Russ Poffenberger)
amp19263@garfield (John R. Kilheffer)
Barry Margolin <barmar@Think.COM>
email@example.com (Daniel Trinkle)
Christian Lawrence <firstname.lastname@example.org>
MSI Professional Services, Inc.
1400 North Woodward Avenue
Bloomfield Hills, Michigan 48304
Phone: (313) 646-2582
FAX: (313) 642-2603
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:07:47 CDT