Back to the command reference

arp

NetworkAdvancedReference only

Show or edit the ARP cache (IP ↔ MAC)

Name: arp = Address Resolution Protocol

This command is outside what the site lets you practise (mostly distribution-specific or rarely used tools). This page describes how to use it; try it on your own Linux system.

Description

arp shows and edits the kernel's ARP cache, the mapping of IP to MAC addresses on the local network (from net-tools). ip neigh is the modern equivalent.

Syntax

arp [OPTION]...

Common options

-aShow all entries
-nNumeric
-d HOSTDelete an entry (needs root)

Examples

Related