Technical data

arp
Option Description
hostname Specifies the remote host identified by the entry.
hardware_addr Specifies the hardware address of the remote host. The
address is given as 6 hexadecimal bytes separated by
colons.
temp
Specifies that this ARP table entry is temporary. When
this argument is not used, the table entry is permanent.
pub
Indicates that the table entry will be published and that
the current system will act as an ARP server, responding
to requests for hostname even though the host address is
not its own.
trail
Indicates that the trailer encapsulation can be sent to
this host.
-g hostname
Sends a gratuitous ARP packet. The value for hostname can be a local host name,
alias, or IP address.
-i hostname
Displays the interface with which the ARP entry is associated.
-n hostname
Displays numeric IP addresses and hardware addresses only. When this flag
is not specified, arp displays hostnames, numeric IP addresses, and hardware
addresses.
-s hostname hardware_addr [temp] [pub]
Creates a single ARP entry for hostname. Use of this flag requires privileges.
Fields in the format are:
hostname Specifies the remote host identified by the entry.
hardware_addr Specifies the hardware address of the remote given as 6
hexadecimal bytes separated by colons.
temp
Specifies that this ARP table entry is temporary. When
this argument is not used, the table entry is permanent.
pub
Indicates that the table entry will be published and the
current system will act as an ARP server, responding to
requests for
hostname
even though the host address is
not its own.
-u
Displays the MAC address in noncanonical form, with address bytes reversed
and separated by a colon character (:). By default, all addresses are displayed in
canonical form with address bytes separated by the hyphen character (-).
When used with the
-s
flag, this indicates the hardware_addr is specified in
noncanonical form.
Troubleshooting Utilities Reference A–3