Go to main content

手册页部分 8:系统管理命令

退出打印视图

更新时间: 2022年7月27日 星期三
 
 

arping (8)

名称

arping - send gratuitous ARP packets

用法概要

arping -A|-U [-h] [-c count] [-s source-ip] [-w timeout] -I <interface>
         <destination-ip>

描述

The arping utility broadcasts gratuitous ARP packets to neighbors in a network. It may be configured to send gratuitous request or reply packets, set timeouts and packet counts.

arping requires the {PRIV_NET_RAWACCESS} privilege.

选项

The following options are supported:

–A

Broadcasts gratuitous ARP replies.

–c count

Specifies the packet count to be sent.

–h help

Prints command usage information.

–I interface

Specifies the IP interface to send packets.

–s source IP

Specifies the source IP to be used in ARP packets. If this option is absent, the source address is set to destination.

–U

Broadcasts gratuitous ARP requests, and expects no replies.

–w seconds

Terminates after specified number of seconds.

destination-ip

Specifies the destination IP to be used in ARP packets.

退出状态

0

Successful completion

1

An error occurred

属性

See attributes(7) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Availability
network/arping
Interface Stability
Committed

另请参见

arp(8), ping(8)