[root@smart ~]# arping -f 192.168.1.1
ARPING 192.168.1.1 from 192.168.1.120 eth0
Unicast reply from 192.168.1.1 [6C:59:40:FC:C4:F3] 1.205ms
Sent 1 probes (1 broadcast(s))
Received 1 response(s)
d. -q 不输出结果linux常用命令,常与-c等共用
[root@smart ~]# arping -q 192.168.1.2 -c 1
[root@smart ~]# echo $?
1
e. -I interface addresslinux常用命令,网卡
[root@smart ~]# arping 192.168.1.1 -I eth0
ARPING 192.168.1.1 from 192.168.1.120 eth0
Unicast reply from 192.168.1.1 [6C:59:40:FC:C4:F3] 1.435ms
Unicast reply from 192.168.1.1 [6C:59:40:FC:C4:F3] 1.118ms
Unicast reply from 192.168.1.1 [6C:59:40:FC:C4:F3] 1.083ms
Unicast reply from 192.168.1.1 [6C:59:40:FC:C4:F3] 1.079ms
^CSent 4 probes (1 broadcast(s))
Received 4 response(s)
f. -s 指定源地址
[root@smart ~]# arping 192.168.1.1 -s 192.168.1.120
ARPING 192.168.1.1 from 192.168.1.120 eth0
Unicast reply from 192.168.1.1 [6C:59:40:FC:C4:F3] 1.183ms
Unicast reply from 192.168.1.1 [6C:59:40:FC:C4:F3] 1.153ms
^CSent 2 probes (1 broadcast(s))
Received 2 response(s)
Juyin@2017/12/21
打开APP,阅读全文
wz_cow4726次阅读06-30APP打开
wensonlee45次阅读11-03APP打开
qq_356940999172次阅读05-27APP打开
remote_roamer3582次阅读04-02APP打开
wyqwclsn6762次阅读11-11APP打开
u0102789231662次阅读12-29APP打开
u04021031次阅读04-10APP打开
ljl890705717次阅读03-10APP打开
y_bing3196次阅读06-06APP打开
weixin_420146221150次阅读05-26APP打开
aprilweet2266次阅读02-20APP打开
GW569453350game9597次阅读06-29APP打开
juyin2015139次阅读11-04APP打开
juyin2015103次阅读11-05APP打开
Coding_Or_Dead3549次阅读12-15APP打开
lidonghat4919次阅读09-15APP打开
zjjyliuweijie1839次阅读07-14APP打开
上一个教程:Linux命令行模式进不去登不进去
下一个教程:常用的linux运维命令总结