arping

简介:
可用于检测IP地址冲突.
ARPING(8)              System Manager’s Manual: iputils              ARPING(8)

NAME
       arping - send ARP REQUEST to a neighbour host

SYNOPSIS
       arping [ -AbDfhqUV]  [ -c count]  [ -w deadline]  [ -s source]  -I interface destination

DESCRIPTION
       Ping destination on device interface by ARP packets, using source address source.

OPTIONS
       -A     The same as -U, but ARP REPLY packets used instead of ARP REQUEST.

       -b     Send  only  MAC  level  broadcasts. Normally arping starts from sending broadcast, and switch to unicast
              after reply received.

       -c count
              Stop after sending count ARP REQUEST packets. With deadline option, arping waits  for  count  ARP  REPLY
              packets, until the timeout expires.

       -D     Duplicate address detection mode (DAD). See RFC2131, 4.4.1.  Returns 0, if DAD succeeded i.e. no replies
              are received

       -f     Finish after the first reply confirming that target is alive.

       -I interface
              Name of network device where to send ARP REQUEST packets. This option is required.

       -h     Print help page and exit.

       -q     Quiet output. Nothing is displayed.

       -s source
              IP source address to use in ARP packets.  If this option is absent, source address is:

              · In DAD mode (with option -D) set to 0.0.0.0.

              · In Unsolicited ARP mode (with options -U or -A) set to destination.


              · Otherwise, it is calculated from routing tables.

       -U     Unsolicited ARP mode to update neighbours’ ARP caches.  No replies are expected.

       -V     Print version of the program and exit.

       -w deadline
              Specify a timeout, in seconds, before arping exits regardless of how many  packets  have  been  sent  or
              received.  In  this  case arping does not stop after count packet are sent, it waits either for deadline
              expire or until count probes are answered.

SEE ALSO
       ping(8), clockdiff(8), tracepath(8).

AUTHOR
       arping was written by Alexey Kuznetsov <kuznet@ms2.inr.ac.ru>.

SECURITY
       arping requires CAP_NET_RAWIO capability to be executed. It is not recommended to  be  used  as  set-uid  root,
       because it allows user to modify ARP caches of neighbour hosts.

AVAILABILITY
       arping  is  part  of  iputils  package  and the latest versions are  available in source form for anonymous ftp
       ftp://ftp.inr.ac.ru/ip-routing/iputils-current.tar.gz.

iputils-020927                 26 September 2009                     ARPING(8)
目录
相关文章
|
机器学习/深度学习 人工智能 编解码
|
存储 安全 API
C++一分钟之-C++中的枚举类型(enum class)
【6月更文挑战第25天】C++的`enum class`(强类型枚举)在C++11中引入,增强了枚举的作用域和类型安全,减少命名冲突。它要求使用全名(如`Color::Green`)访问枚举成员,并能显式指定底层类型。常见问题包括默认值非0、隐式转换和范围溢出,解决办法是明确赋值、显式转换和选择合适底层类型。高效技巧包括用于状态机、作为函数参数、创建别名和迭代。掌握这些能提升代码质量。
564 0
|
存储 Kubernetes 容器
【CKA模拟题】一文教你用StorageClass轻松创建PV
【4月更文挑战第4天】【CKA模拟题】一文教你用StorageClass轻松创建PV
243 8
|
12月前
|
SQL 安全 PHP
PHP开发中防止SQL注入的方法,包括使用参数化查询、对用户输入进行过滤和验证、使用安全的框架和库等,旨在帮助开发者有效应对SQL注入这一常见安全威胁,保障应用安全
本文深入探讨了PHP开发中防止SQL注入的方法,包括使用参数化查询、对用户输入进行过滤和验证、使用安全的框架和库等,旨在帮助开发者有效应对SQL注入这一常见安全威胁,保障应用安全。
530 4
|
弹性计算 缓存 数据挖掘
阿里云通用算力型u1云服务器配置性能评测及价格参考
阿里云通用算力型u1云服务器是企业级云服务器规格,通用算力型u1实例规格的云服务器提供2c-32c规格和1:1/2/4/8丰富配比,因此,通用算力型u1实例既有2核2G、2核4G这种配置可选,也有2核8G、2核16G这种配置可选,通用算力型u1实例云服务器是阿里云各个活动中价格最便宜的,下面小编分享通用算力型u1实例的配置、性能评测及优惠信息,看看这个实例的阿里云服务器是否值得购买。
阿里云通用算力型u1云服务器配置性能评测及价格参考
|
安全 数据安全/隐私保护 Windows
不同电脑快速、实时传输数据的便捷方法
本文介绍多台Windows电脑之间不用软件、不用数据线的文件共享、数据传输方法~
762 1
不同电脑快速、实时传输数据的便捷方法
|
Ubuntu
ubuntu 配置 apt 使用代理
ubuntu 配置 apt 使用代理 仅配置系统代理是无法使 apt 也使用代理的,我们需要给 apt 独立配置代理。 方法 ubuntu 官方说明 :https://help.ubuntu.com/community/AptGet/Howto#Setting_up_apt-get_to_use_a_http-proxy 创建 /etc/apt/apt.
3835 0
|
存储 设计模式 负载均衡
Zookeeper——简介 & 下载 & Linux下配置安装启动 & 解读相关配置参数
Zookeeper——简介 & 下载 & Linux下配置安装启动 & 解读相关配置参数
Zookeeper——简介 & 下载 & Linux下配置安装启动 & 解读相关配置参数
|
资源调度 监控 Shell
yarn kill 命令(命令vs脚本)
yarn kill 命令(命令vs脚本)
yarn kill 命令(命令vs脚本)
|
存储 SQL NoSQL
【面试必备】非关系数据库的优缺点及四大分类
【面试必备】非关系数据库的优缺点及四大分类
1075 0