Linux.com

That's Just Weird

Posted by: Anonymous Coward on December 22, 2005 11:01 PM
What's the point of all this? I won't reiterate the posts above, about why arp is a poor replacement for ping. But, if you must go this route why do you need special packages like arping(which requires running as root) and ip?

If you are determined to utilize arp to try to verify the presence of a host on the local subnet simply:
ping desired-host
<nobr> <wbr></nobr>/sbin/arp | grep desired-host-ip

This works on any system and requires no special packages. On Windows:
ping desired-host
arp -a desired-host-ip

This works because the ping must first issue an arp request. It fails for the reasons listed in previous posts like routers responding and proxy arp(that's always fun).

#

Return to Ping: ICMP vs. ARP