| |||||
| |||||
Search Irongeek.com: ![]() ![]()
Help Irongeek.com pay for bandwidth and research equipment: |
arpingSection: (8)Updated: 21th June, 2003 Index of this MAN page Back To MAN Pages From BackTrack 5 R1 Master List
NAMEarping - sends arp and/or ip pings to a given hostSYNOPSISarping [-abdDeFhpqrRd0uv] [-S host/ip] [-T host/ip] [-s MAC] [-t MAC] [-c count] [-i interface] [ -w us ] <host | -B>arping --help DESCRIPTIONThe arping utility sends ARP and/or ICMP requests to the specified host and displays the replies. The host may be specified by its hostname, its IP address, or its MAC address.One request is sent each second. When pinging an IP an ARP who-has query is sent. When pinging a MAC address a directed broadcast ICMP Echo request is sent. For more technical explaination and an FAQ, see the README file. Note on timing ARP packets are usually replied to (on a LAN) so fast that the OS task scheduler can't keep up to get exact enough timing. On an idle system the roundtrip times will be pretty much accurate, but with more load the timing gets less exact. To get more exact timing on a non-idle system, re-nice arping to -15 or so. # nice -n -15 arping foobar This is not just an issue with arping, it is with normal ping also (at least it is on my system). But it doesn't show up as much with ping since arping packets (when pinging IP) doesn't traverse the IP stack when received and are therefore replied to faster. OPTIONS
EXAMPLES# arping -c 3 88.123.180.225 ARPING 88.123.180.225 60 bytes from 00:11:85:4c:01:01 (88.123.180.225): index=0 time=13.910 msec 60 bytes from 00:11:85:4c:01:01 (88.123.180.225): index=1 time=13.935 msec 60 bytes from 00:11:85:4c:01:01 (88.123.180.225): index=2 time=13.944 msec --- 88.123.180.225 statistics --- 3 packets transmitted, 3 packets received, 0% unanswered # arping -c 3 00:11:85:4c:01:01 ARPING 00:11:85:4c:01:01 60 bytes from 88.123.180.225 (00:11:85:4c:01:01): icmp_seq=0 time=13.367 msec 60 bytes from 88.123.180.225 (00:11:85:4c:01:01): icmp_seq=1 time=13.929 msec 60 bytes from 88.123.180.225 (00:11:85:4c:01:01): icmp_seq=2 time=13.929 msec --- 00:11:85:4c:01:01 statistics --- 3 packets transmitted, 3 packets received, 0% unanswered BUGS
You have to use -B instead of arpinging 255.255.255.255, and -b instead of -S 255.255.255.255. This is libnets fault. SEE ALSO
AUTHOR
Arping was written by Thomas Habets <thomas@habets.pp.se>. http://www.habets.pp.se/synscan/ git clone http://github.com/ThomasHabets/arping.git
IndexThis document was created by man2html, using the manual pages. Time: 07:34:21 GMT, September 13, 2011
15 most recent posts on Irongeek.com:
|
If you would like to republish one of the articles from this site on your
webpage or print journal please contact IronGeek.
Copyright 2020, IronGeek
Louisville / Kentuckiana Information Security Enthusiast