網站首頁 學習教育 IT科技 金融知識 旅遊規劃 生活小知識 家鄉美食 養生小知識 健身運動 美容百科 遊戲知識 綜合知識
當前位置:趣知科普吧 > IT科技 > 

arpwatch命令詳解|linux

欄目: IT科技 / 發佈於: / 人氣:1.25W

1、arpwatch命令功能:

linux系統下arpwatch命令用於監聽網絡上ARP的記錄。

2、補充說明:

ARP(Address Resolution Protocol)是用來解析IP與網絡裝置硬件地址的協議。arpwatch可監聽區域網絡中的ARP數據包並記錄,同時將監聽到的變化透過E-mail來報告。

3、語法:

arpwatch [-d][-f<記錄檔案>][-i<接口>][-r<記錄檔案>]

4、參數:

-d 啓動排錯模式。

-f<記錄檔案> 設定存儲ARP記錄的檔案,預設爲/var/arpwatch/arp.dat。

-i<接口> 指定監聽ARP的接口,預設的接口爲eth0。

-r<記錄檔案> 從指定的檔案中讀取ARP記錄,而不是從網絡上監聽。

linux arpwatch命令詳解