version 1.1.1.3, 2016/10/18 13:16:10
|
version 1.1.1.4, 2021/03/16 23:40:57
|
Line 5
|
Line 5
|
arping \- sends arp and/or ip pings to a given host |
arping \- sends arp and/or ip pings to a given host |
.PP |
.PP |
.SH "SYNOPSIS" |
.SH "SYNOPSIS" |
\fBarping\fP [\-0aAbBdDeFhpqrRuUv] [\-S \fIhost/ip\fP] [\-T \fIhost/ip\fP] [\-s \fIMAC\fP] [\-t \fIMAC\fP] [\-c \fIcount\fP] [\-i \fIinterface\fP] [ \-w \fIus\fP ] <\fIhost\fP | \-B> | \fBarping\fP [\-0aAbBdDeFhpqrRuUv] [\-S \fIhost/ip\fP] [\-T \fIhost/ip\fP] [\-s \fIMAC\fP] [\-t \fIMAC\fP] [\-c \fIcount\fP] [\-i \fIinterface\fP] [ \-w \fIseconds\fP ] [ \-W \fIseconds\fP ] [ \-V \fIvlan\fP ] [ \-Q \fIpriority\fP ] [ \-g \fIgroup\fP ] <\fIhost\fP | \-B> |
.PP |
.PP |
\fBarping\fP \-\-help |
\fBarping\fP \-\-help |
.PP |
.PP |
Line 16 One request is sent each second\&.
|
Line 16 One request is sent each second\&.
|
.PP |
.PP |
When pinging an IP an ARP who\-has query is sent\&. When pinging a MAC |
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 |
address a directed broadcast ICMP Echo request is sent\&. For more |
technical explaination and an FAQ, see the README file\&. | technical explanation and an FAQ, see the README file\&. |
.PP |
.PP |
\fINote on timing\fP |
\fINote on timing\fP |
.PP |
.PP |
Line 72 Like \-a but beep when there is no reply\&.
|
Line 72 Like \-a but beep when there is no reply\&.
|
.IP "\-F" |
.IP "\-F" |
Don\(cq\&t try to be smart about the interface name\&. Even if this |
Don\(cq\&t try to be smart about the interface name\&. Even if this |
switch is not given, \-i disables this smartness\&. |
switch is not given, \-i disables this smartness\&. |
|
.IP "\-g \fIgroup\fP" |
|
setgid() to this group instead of the nobody group\&. |
.IP "\-h" |
.IP "\-h" |
Displays a help message and exits\&. |
Displays a help message and exits\&. |
.IP "\-i \fIinterface\fP" |
.IP "\-i \fIinterface\fP" |
Line 86 Turn on promiscious mode on interface, use this if you
|
Line 88 Turn on promiscious mode on interface, use this if you
|
Send ARP replies instead of requests\&. Useful with \-U\&. |
Send ARP replies instead of requests\&. Useful with \-U\&. |
.IP "\-q" |
.IP "\-q" |
Does not display messages, except error messages\&. |
Does not display messages, except error messages\&. |
|
.IP "\-Q \fIpriority\fP" |
|
802\&.1p priority to set\&. Should be used with 802\&.1Q tag (\-V)\&. |
|
Defaults to 0\&. |
.IP "\-r" |
.IP "\-r" |
Raw output: only the MAC/IP address is displayed for each reply\&. |
Raw output: only the MAC/IP address is displayed for each reply\&. |
.IP "\-R" |
.IP "\-R" |
Line 125 to update the neighbours\(cq\& ARP caches\&.
|
Line 130 to update the neighbours\(cq\& ARP caches\&.
|
$ arping \-i <interface> \-U <interface IP> |
$ arping \-i <interface> \-U <interface IP> |
.IP "\-v" |
.IP "\-v" |
Verbose output\&. Use twice for more messages\&. |
Verbose output\&. Use twice for more messages\&. |
.IP "\-w \fIusec\fP" | .IP "\-V \fIvlan\fP" |
Time to wait between pings, in microseconds\&. | VLAN tag to set\&. Defaults to no VLAN tag\&. |
| .IP "\-w \fIsec\fP" |
| Specify a timeout before ping exits regardless of how many packets have been sent or received\&. |
.IP "\-W \fIsec\fP" |
.IP "\-W \fIsec\fP" |
Same as \-w, but in floating point seconds\&. | Time to wait between pings\&. |
|
|
.PP |
.PP |
.SH "EXAMPLES" |
.SH "EXAMPLES" |