ARP(ADMN) UNIX System V
Name
arp - address resolution display and control
Syntax
arp hostname
arp -a [namelist] [corefile]
arp -d hostname
arp -s hostname ether_addr [temp] [pub] [trail]
arp -f filename
Description
The arp program displays and modifies the Internet-to-
Ethernet address-translation table, which is normally
maintained by the address-resolution protocol (arp(ADMP)).
When hostname is the only argument, arp displays the current
ARP entry for hostname. The host may be specified by name or
number, using Internet dot notation. [See hosts(ADMN) and
inet(ADMP).]
Options are interpreted as follows:
-a [ namelist ] [ corefile ]
Display all of the current ARP entries by reading the
table from the file corefile (default /dev/kmem) based
on the kernel file namelist (default /unix).
-d Delete an entry for the host whose name is hostname.
(This can be performed only by the super user.)
-s hostname ether_addr [temp] [pub] [trail]
Create an ARP entry for the host whose name is hostname
with the Ethernet address ether_addr. The Ethernet
address is given as six colon-separated, two-digit
hexadecimal numbers. The entry will be permanent
unless the argument temp is specified on the command
line. If pub is specified, the entry will be published:
that is, this system will act as an ARP server,
responding to requests for hostname even though the
host address is not an address of the local host. If
trail is specified, trailer encapsulations are to be
used with this host. N.B. Trailers are a link-
dependent issue. Currently, no known LLI-compliant
ethernet driver suppports trailers, and it is unwise to
advertise them, unless it is certain that the link
layer can handle them.
-f filename
Read the file filename and set multiple entries in the
ARP tables. Entries in the file should be of the form:
hostname ether_addr [temp] [pub] [trail]
with argument meanings as given above.
See Also
inet(SLIB), arp(ADMP), ifconfig(ADMN).
(printed 8/17/89) ARP(ADMN)