Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

Linux arpwatch Command

Linux arpwatch Command

Linux Command Reference Linux Command Reference

The Linux arpwatch command is used to monitor ARP records on a network.

ARP (Address Resolution Protocol) is the protocol used to resolve IP addresses to the hardware addresses of network devices.

arpwatch monitors and logs ARP packets on a local network, and reports detected changes via email.

Syntax

arpwatch [-d][-f<记录文件>][-i<接口>][-r<记录文件>]

Parameters:

Example

Monitor ARP information on the eth0 network card



arpwatch -i eth0

Monitor ARP information and log it to the corresponding file



# arpwatch -i eth0 -f a.log //Log information to a.log

Linux Command Reference Linux Command Reference