arping

From Encoresoup - The Ultimate Guide to Free/Open Source Software

Jump to: navigation, search
This article contains content from the Wikipedia article:
Arping
history contributors

arping is a computer program which is similar in function to ping, but it operates using Address Resolution Protocol (ARP) instead of Internet Control Message Protocol. As such, arping is only usable on the local network, and in some cases the response will be coming, not from the arpinged host, but rather from an intermediate system that engages in proxy ARP (such as a router). Template:IPstack There are two arping implementations. One is part of Linux iproute2, is Linux-only, and cannot currently ask who has what MAC address. The other arping implementation by Thomas Habets uses libpcap and libnet to be platform independent, and works on lots of UNIX-based OSs and even Windows.

Example arping (iputils version) session:

ARPING 192.168.39.120 from 192.168.39.1 eth0
Unicast reply from 192.168.39.120 [00:01:80:38:F7:4C]  0.810ms
Unicast reply from 192.168.39.120 [00:01:80:38:F7:4C]  0.607ms
Unicast reply from 192.168.39.120 [00:01:80:38:F7:4C]  0.602ms
Unicast reply from 192.168.39.120 [00:01:80:38:F7:4C]  0.606ms
Sent 4 probes (1 broadcast(s))
Received 4 response(s)

Arping from T.Habets:

arping2 00:01:80:38:F7:4C
arping2 192.168.39.120

Trying to ping a MAC address will use an ICMP packet, which not all hosts actually respond to.

[edit] See also

[edit] External links


Personal tools

Anti-Gravity Globe! [ThinkGeek]Linksys NSLU2 Storage Link for USB 2.0 Disk Drives [Amazon] LED Binary Watch - Yes, it shows the time in Binary! [ThinkGeek]