OS Manuals

/usr/bin/arp

Linux networking base tools

From net-tools 2.10-r39 (os), captured 2026-11-05 by running arp --help (exit 0). permalink

    ether (Ethernet) netrom (AMPR NET/ROM)
Usage:
  arp [-vn]  [<HW>] [-i <if>] [-a] [<hostname>]             <-Display ARP cache
  arp [-v]          [-i <if>] -d  <host> [pub]               <-Delete ARP entry
  arp [-vnD] [<HW>] [-i <if>] -f  [<filename>]            <-Add entry from file
  arp [-v]   [<HW>] [-i <if>] -s  <host> <hwaddr> [temp]            <-Add entry
  arp [-v]   [<HW>] [-i <if>] -Ds <host> <if> [netmask <nm>] pub          <-''-

        -a                       display (all) hosts in alternative (BSD) style
        -e                       display (all) hosts in default (Linux) style
        -s, --set                set a new ARP entry
        -d, --delete             delete a specified entry
        -v, --verbose            be verbose
        -n, --numeric            don't resolve names
        -i, --device             specify network interface (e.g. eth0)
        -D, --use-device         read <hwaddr> from given device
        -A, -p, --protocol       specify protocol family
        -f, --file               read new entries from file or from /etc/ethers

  <HW>=Use '-H <hw>' to specify hardware address type. Default: ether
  List of possible hardware types (which support ARP):
Options (11)
OptionDescriptionSource
-aUse alternate BSD style output format (with no fixed columns).help + man
-eUse default Linux style output format (with fixed columns).help + man
-s, --setset a new ARP entryhelp
-d, --deletedelete a specified entryhelp
-v, --verboseTell the user what is going on by being verbose.help + man
-n, --numericshows numerical addresses instead of trying to determine symbolic host, port or user names.help + man
-i, --device Ifspecify network interface (e.g. eth0)help + man
-D, --use-deviceInstead of a hw_addr, the given argument is the name of an interface.help + man
-A, -p, --protocolspecify protocol familyhelp
-f, --file filenameSimilar to the -s option, only this time the address info is taken from file filename.help + man
-H, --hw-type, -t typeWhen setting or reading the ARP cache, this optional parameter tells arp which class of entries it should check for. (in the manual page but not in --help)man

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.