summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Habets <thomas@habets.pp.se>2003-07-18 11:16:40 +0000
committerThomas Habets <thomas@habets.pp.se>2003-07-18 11:16:40 +0000
commitb6a2bdccf5c80c360cbb9983ab561059f1fdce9f (patch)
tree4191f6720ed7069073ac552ccd39146c969d63ea
parent82cbd2d5aab7963f6709e0865bb18af6597177a7 (diff)
downloadarping-b6a2bdccf5c80c360cbb9983ab561059f1fdce9f.tar.gz
.
-rw-r--r--arping.865
-rw-r--r--arping.yodl2
2 files changed, 36 insertions, 31 deletions
diff --git a/arping.8 b/arping.8
index e6134cf..8008efe 100644
--- a/arping.8
+++ b/arping.8
@@ -1,4 +1,4 @@
-.TH "arping" "8" "4th Feb, 2003" "arping" ""
+.TH "arping" "8" "21th June, 2003" "arping" ""
.PP
.SH "NAME"
arping \- sends arp and/or ip pings to a given host
@@ -34,38 +34,51 @@ received and are therefore replied to faster\&.
.SH "OPTIONS"
.PP
.IP
-.IP "-h"
-Displays a help message and exits\&.
-.IP "-q"
-Does not display messages, except error messages\&.
-.IP "-a"
-Audiable ping\&.
-.IP "-v"
-Verbose output\&. Use twice for more messages\&.
-.IP "-r"
-Raw output: only the MAC/IP address is displayed for each reply\&.
-.IP "-R"
-Raw output: Like -r but shows "the other one", can be combined with
--r\&.
-.IP "-d"
-Find duplicate replies\&.
-.IP "-B"
-Use instead of host if you want to address 255\&.255\&.255\&.255\&.
.IP "-0"
Use this option to ping with source IP address 0\&.0\&.0\&.0\&. Use this
when you haven\&'t configured your interface yet\&.
Note that this may get the MAC-ping unanswered\&.
This is an alias for -S 0\&.0\&.0\&.0\&.
+.IP "-a"
+Audiable ping\&.
+.IP "-A"
+Only count addresses matching requested address (This *WILL*
+break most things you do\&. Only useful if you are arpinging many
+hosts at once\&. See arping-scan-net\&.sh for an example)\&.
.IP "-b"
Like -0 but source broadcast source address (255\&.255\&.255\&.255)\&.
Note that this may get the arping unanswered since it\&'s not normal behavior
for a host\&.
+.IP "-B"
+Use instead of host if you want to address 255\&.255\&.255\&.255\&.
+.IP "-c \fIcount\fP"
+Only send \fIcount\fP requests\&.
+.IP "-d"
+Find duplicate replies\&.
+.IP "-F"
+Don\&'t try to be smart about the interface name\&. (even if this
+switch is not given, -i overrides smartness\&.
+.IP "-h"
+Displays a help message and exits\&.
+.IP "-i \fIinterface\fP"
+Use the specified interface\&.
+.IP "-q"
+Does not display messages, except error messages\&.
+.IP "-r"
+Raw output: only the MAC/IP address is displayed for each reply\&.
+.IP "-R"
+Raw output: Like -r but shows "the other one", can be combined with
+-r\&.
+.IP "-s \fIMAC\fP"
+Set source MAC address\&. You may need to use -p with this\&.
.IP "-S \fIIP\fP"
Like -b and -0 but with set source address\&.
Note that this may get the arping unanswered if the target does not have
routing to the IP\&. If you don\&'t own the IP you are using, you may need to turn
on promiscious mode on the interface (with -p)\&. With this switch you can find
out what IP-address a host has without taking an IP-address yourself\&.
+.IP "-t \fIMAC\fP"
+Set target MAC address to use when pinging IP address\&.
.IP "-T \fIIP\fP"
Use -T as target address when pinging MACs that won\&'t
respond to a broadcast ping but perhaps to a directed broadcast\&.
@@ -76,18 +89,10 @@ $ arping -S <IP-B> -s <MAC-B> -p <MAC-A>
.IP "-p"
Turn on promiscious mode on interface, use this if you don\&'t
"own" the MAC address you are using\&.
-.IP "-s \fIMAC\fP"
-Set source MAC address\&. You may need to use -p with this\&.
-.IP "-t \fIMAC\fP"
-Set target MAC address to use when pinging IP address\&.
-.IP "-c \fIcount\fP"
-Only send \fIcount\fP requests\&.
-.IP "-i \fIinterface\fP"
-Use the specified interface\&.
-.IP "-A"
-Only count addresses matching requested address (This *WILL*
-break most things you do\&. Only useful if you are arpinging many
-hosts at once\&. See arping-scan-net\&.sh for an example)\&.
+.IP "-v"
+Verbose output\&. Use twice for more messages\&.
+.IP "-w"
+(arping 2\&.x only) Time to wait between pings, in microseconds\&.
.PP
.SH "BUGS"
.PP
diff --git a/arping.yodl b/arping.yodl
index 1ce9c5d..7e48c86 100644
--- a/arping.yodl
+++ b/arping.yodl
@@ -74,7 +74,7 @@ em(Example): \
dit(-p) Turn on promiscious mode on interface, use this if you don't
"own" the MAC address you are using.
dit(-v) Verbose output. Use twice for more messages.
- dit(-w) (arping 2.x only)
+ dit(-w) (arping 2.x only) Time to wait between pings, in microseconds.
enddit()
manpagebugs()