# arpwatch

监听网络上ARP的记录

## 补充说明

**arpwatch命令** 用来监听网络上arp的记录。

### 语法

```
arpwatch(选项)
```

### 选项

```
-d：启动排错模式；
-f<记录文件>：设置存储ARP记录的文件，预设为/var/arpwatch/arp.dat；
-i<接口>：指定监听ARP的接口，预设的接口为eth0；
-r<记录文件>：从指定的文件中读取ARP记录，而不是从网络上监听。
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://hezhiqiang.gitbook.io/linux/ming-ling/arpwatch.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
