Network

arp

Display and modify the ARP (Address Resolution Protocol) cache.

Synopsis

syntax
arp [OPTION]...

Examples

Show ARP cache numerically
arp -an
Show all ARP entries with names
arp -a
Delete an ARP entry
sudo arp -d 192.168.1.1
Add static ARP entry
sudo arp -s 192.168.1.100 aa:bb:cc:dd:ee:ff

Common options

FlagDescription
-aShow all entries
-nNumeric output
-dDelete an entry
-sAdd static entry

About arp

The `arp` command display and modify the ARP (Address Resolution Protocol) cache. Networking commands handle connectivity testing, DNS resolution, data transfer, remote access, firewall rules, and traffic analysis.

Linux is the dominant server operating system, and strong networking skills are essential for web hosting, container orchestration, security auditing, and infrastructure management. The command accepts 4 commonly used flags shown above, though the full set of options is available in the man page (`man arp`).

The 4 examples on this page cover typical real-world usage patterns that you can copy and adapt for your own workflows.

Related commands

More Network Commands

Other commands in the Network category

Related tools