- 工信部備案號 滇ICP備05000110號-1
- 滇公安備案 滇53010302000111
- 增值電信業(yè)務經(jīng)營許可證 B1.B2-20181647、滇B1.B2-20190004
- 云南互聯(lián)網(wǎng)協(xié)會理事單位
- 安全聯(lián)盟認證網(wǎng)站身份V標記
- 域名注冊服務機構許可:滇D3-20230001
- 代理域名注冊服務機構:新網(wǎng)數(shù)碼
arping :向相鄰主機發(fā)送ARP請求
語 法
arping[必要參數(shù)][選擇參數(shù)][目的地址]
功 能
arping 命令: 在指定網(wǎng)卡上發(fā)送ARP請求指定地址,源地址 “-s” 參數(shù)指定,可用來直接 ping MAC 地址,以及找出那些 ip 地址被哪些電腦所使用了
類似命令: arp ping ping6 clockdiff tracepath cu
相似命令: linux命令
執(zhí)行權限: 超級用戶 ?通用戶
命令屬性: 網(wǎng)絡通訊
參數(shù)
必要參數(shù)
-A ARP回復模式,更新鄰居
-b 保持廣播
-D 復制地址檢測模式
-f 得到第一個回復就 退出
-q 不顯示警告信息
-U 主動的ARP模式,更新鄰居
選擇參數(shù)
-c<數(shù)據(jù)包的數(shù)目> 發(fā)送的數(shù)據(jù)包的數(shù)目
-w<超時時間> 設置超時時間
-I<網(wǎng)卡> 使?指定的以太網(wǎng)設備,默認情況下使用eth0
-s 指定源IP地址
-h 顯示幫助信息
-V 顯示版本信息
范例
范例1 : 發(fā)送ARP請求
[root@hnlinux ~]# arping 192.168.0.1 //向指定IP發(fā)送ARP請求
ARPING 192.168.0.1 from 192.168.0.3 eth0
Unicast reply from 192.168.0.1 [00:21:27:9E:36:66] 2.480ms
Unicast reply from 192.168.0.1 [00:21:27:9E:36:66] 2.387ms
Unicast reply from 192.168.0.1 [00:21:27:9E:36:66] 1.459ms
Unicast reply from 192.168.0.1 [00:21:27:9E:36:66] 1.494ms
Unicast reply from 192.168.0.1 [00:21:27:9E:36:66] 1.478ms
Unicast reply from 192.168.0.1 [00:21:27:9E:36:66] 2.414ms
Unicast reply from 192.168.0.1 [00:21:27:9E:36:66] 1.464ms
Unicast reply from 192.168.0.1 [00:21:27:9E:36:66] 1.501ms
Sent 8 probes (1 broadcast(s))
Received 8 response(s) //Ctrl+C 終止
[root@hnlinux ~]#
范例2 : 向指定主機發(fā)送ARP請求,當收到?一個包自動退出
[root@hnlinux ~]# arping -f 192.168.0.1
ARPING 192.168.0.1 from 192.168.0.3 eth0
Unicast reply from 192.168.0.1 [00:21:27:9E:36:66] 0.692ms
Sent 1 probes (1 broadcast(s))
Received 1 response(s)
[root@hnlinux ~]#
售前咨詢
售后咨詢
備案咨詢
二維碼
TOP