Commands

arp

[-vn] [-H type] [-i if] -a [hostname]

arp

[-v] [-i if] -d hostname [pub]

arp

[-v] [-H type] [-i if] -s hostname hw_addr [temp]

arp

[-v] [-H type] [-i if] -s hostname hw_addr [netmask nm] pub

arp

[-v] [-H type] [-i if] -Ds hostname ifa [netmask nm] pub

arp

[-vnD] [-H type] [-i if] -f filename

The arp command is used to maintain the kernel's address resolution protocol (ARP) cache. You can add, delete, or display an entry in the ARP cache. For this command, hostname may either be a symbolic hostname or an IP address.

Example: To obtain network address information (hardware type, ethernet address, address class, or interface device) for the host fenris, use

arp fenris

-v, --verbose Display a verbose operation.
-n, --numeric Use numeric ...

Get Linux® Desk Reference, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.