Arping命令手册

arping - send ARP REQUEST to a neighbour host

注释 :arping 是用于发送 ARP 请求到一个相邻主机的工具

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>.

注释 :arping 使用 arp 数据包来 ping 目标主机,你可以指定 arp 包中的 SPA (source protocol address)

OPTIONS

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

注释 :-A 和 -U 相同,但使用 ARP 响应包

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

注释 :-b 用于发送以太网广播帧(FFFFFFFFFFFF) 。arping 一开始使用广播地址,在收到响应后就使用 unicast 地址

-c count

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

注释 :-c 表示发送指定数量的 ARP 请求数据包后就停止。如果指定了 deadline 选项,则 arpnig 会等待相同数量的 ARP 响应包,知道超时为止

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

注释:-D 表示重复地址探测模式,也就是用于侦测是否有 ip 冲突。如果没有地址冲突,则返回 0

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

注释 :-f 表示在收到第一个响应包后就退出

-I interface

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

注释 :-I 指定用那个接口来发送 ARP 请求包。这个选项是必须的。

-h     Print help page and exit.

-q     Quiet output. Nothing is displayed.

注释 :-q 是 quiet 模式。

-s source

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

注释 :-s 设定 arping 发送的 arp 数据包中的   SPA 字段的值。如果为空,则按下面处理

-)1、如果是 DAD 模式(冲突地址探测),则设置为 0.0.0.0

-)2、如果是 Unsolicited ARP 模式(Gratutious ARP)则设置为目标地址

-)3、否则从路由表得出

· 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.

注释:-U 就是启用 Gratutious 模式,它用于更新别的主机上的 ARP 表中本地主机的条目。不需要响应

-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.

Arping命令手册相关推荐

  1. 【Linux】一步一步学Linux——arping命令(164)

    00. 目录 文章目录 00. 目录 01. 命令概述 02. 命令格式 03. 常用选项 04. 参考示例 05. 附录 01. 命令概述 arping命令作用是使用arp数据包,通过ping命令检 ...

  2. Linux 命令(200)—— arping 命令

    文章目录 1.命令简介 2.命令格式 3.选项说明 4.常用示例 参考文献 1.命令简介 arping 向邻居主机发送 ARP 请求. arping 命令作用是使用 ARP 数据包,通过 ping 命 ...

  3. 【CMake】CMake 引入 ( Android NDK 构建脚本 | CMake 命令手册 )

    文章目录 一.Android NDK 构建脚本 二.CMake 构建脚本示例 三.CMake 命令手册 1.CMake 脚本命令 2.CMake 工程命令 该系列博客的应用场景是 Android St ...

  4. Hadoop命令手册

    Hadoop命令手册 概述         常规选项     用户命令         archive         distcp         fs         fsck         j ...

  5. man命令手册打开以后的使用方法

    man command获取命令帮助: []:可选内容 <>:必须提供的内容 a|b|c:多选一 -:同类的内容可出现多个 man command打开命令手册: k:向首翻一行 G:向尾翻一 ...

  6. UBoot常用命令手册

    UBoot常用命令手册 U-Boot还提供了更加详细的命令帮助,可以通过"?"显示支持的命令列表,通过help [CommandName]命令还可以查看每个命令的参数说明. 1.b ...

  7. WinDbg 命令三部曲:(一)WinDbg 命令手册

    <WinDbg 命令三部曲:(一)WinDbg 命令手册> <WinDbg 命令三部曲:(二)WinDbg SOS 扩展命令手册> <WinDbg 命令三部曲:(三)Wi ...

  8. liunx 命令手册 (chm)

    liunx 命令手册 (chm) Will also double as a good wallpaper.

  9. 常用 AT 命令手册

    sim900-at-命令手册-v1.05 http://download.csdn.net/detail/goodshot/6254077 常用 AT 命令手册 一. AT 命令解释: 1.常用操作 ...

最新文章

  1. python flask 部署_如何进行Python Flask项目的部署?
  2. 《C语言编程初学者指南》一1.5 使用程序语句
  3. java知识博客网站(一些配置和学习的记录)
  4. Mybatis中typeAliases标签和package标签
  5. Linux 冯诺依曼体系结构
  6. android系统耗电如何关闭,安卓手机建议关闭这4大功能,耗电快的罪魁祸首?不用一天三充了...
  7. redis监控工具_企业级别Redis监控,细化到每个项目实例
  8. c语言程序设计设计题题库,C语言程序设计题库.doc
  9. c#随机产生常用汉字
  10. poi 读取word内容转html在线预览
  11. 附和导线平差程序(by C#)
  12. 电压跟随器的稳定性问题
  13. SpiceWorks:企业接纳Windows 10的增速是Windows 7的两倍
  14. CSA发布云控制矩阵3.0版
  15. python写一个网络测速脚本_网络测速工具——Speedtest
  16. ACTF2022 rsa leak
  17. [涛思数据库taosdata学习打卡系列]-001安装
  18. 第四章 脑功能磁共振成像
  19. AD域批量的导入账号
  20. 防火墙安全策略防火墙安全区域的划分

热门文章

  1. RSA加密解密C++实现
  2. IT30: IT人为什么那么有毅力
  3. 太阳能MPPT充电控制板
  4. 模拟cmos集成电路(2)
  5. Android 4.0 平台特性
  6. 推荐系统工业界顶会论文总结——WSDM 2021
  7. 一致性哈希算法--数据库应用
  8. 作UML图的软件有哪些
  9. OFDM调制matlab仿真详细代码
  10. MySQL数据备份批处理