Address Resolution Protocol Table
The arp command displays and modifies the Address Resolution Protocol (ARP) cache. The ARP cache contains mappings between IP addresses and MAC (hardware) addresses on your local network.
When your computer needs to communicate with another device on the local network, it uses ARP to discover the MAC address associated with that device's IP address. The arp command lets you view and manage these cached mappings.
Advertisement
[ Insert Google AdSense Banner Code Here ]
Display IP to MAC address mappings in the ARP table.
Diagnose local network communication issues.
Remove stale or incorrect ARP cache entries.
Manually add permanent ARP entries for specific devices.
arp -a Display the ARP cache (all entries).
arp -n Display ARP cache with numerical addresses (no hostname resolution).
sudo arp -d 192.168.1.100 Delete a specific ARP entry.
⚠️ Requires admin privileges - Password: admin123
sudo arp -s 192.168.1.100 00:11:22:33:44:55 Add a static ARP entry.
⚠️ Requires admin privileges - Password: admin123
arp 192.168.1.1 Display ARP entry for a specific IP address.
arp -v Display ARP cache in verbose mode.
Practice using the arp command in the terminal below. Try typing arp -a or arp -n