Arping命令手册
来源:互联网 发布:淘宝店上传宝贝软件 编辑:程序博客网 时间:2024/09/21 09:05
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命令手册
- arping命令
- arping命令解析
- 扫盲:arping命令
- arping命令的使用
- arp命令--arping
- arping
- Linux arping命令测试IP地址冲突
- Linux arping命令测试IP地址冲突
- 常用网络命令(七)arp、arping、arpwatch和arptables
- Arping源码分析
- arping 报错
- ping and arping
- Linux Command --arping
- arping IP冲突问题
- RPM命令手册
- RPM命令手册
- RPM命令手册
- JavaScript框架编程
- MFC checkbox实现多项选择题学习篇
- ARM2410与linux开发环境的搭建
- cpu,mem check
- PHP 计算日期间隔天数
- Arping命令手册
- 获取前一个月的日期
- OpenOffice开发者指南笔记
- Linux makefile 教程 非常详细,且易懂
- Java多态
- ant命令总结
- iPhone把当前时间转成秒数
- jquery操作text、radio、select、checkbox
- 大型互联网公司集群配置系统概述