O'Reilly logo

Linux® Desk Reference, Second Edition by Scott Hawkins

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required