作者:吴业亮
博客:wuyeliang.blog.csdn.net
arping -U -c 3 -w 5 -I eth0 192.168.8.10
参数解释:
# arping -h
Usage: arping [-fqbDUAV] [-c count] [-w timeout] [-I device] [-s source] destination
-f : quit on first reply
-q : be quiet
-b : keep broadcasting, don't go unicast
-D : duplicate address detection mode
-U : Unsolicited ARP mode, update your neighbours
-A : ARP answer mode, update your neighbours
-V : print version and exit
-c count : how many packets to send
-w timeout : how long to wait for a reply
-I device : which ethernet device to use
-s source : source ip address
destination : ask for what ip address
- -U 主动更新arp表
- -c 执行三次
- -w 超时5s
- -I 网卡名称
- 192.168.8.10 本地的IP地址