開心生活站

位置:首頁 > IT科技 > 

linux,arpwatch命令詳解

IT科技1.33W

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命令詳解

標籤:linux 命令 arpwatch