arp(1M)arp(1M)NAMEarp - address resolution display and control
SYNOPSIS
hostname
[system]
[system [core]]
| hostname
filename
hostname hw_address rif_address]
hostname nport_id
DESCRIPTION
The command displays and modifies the Internet-to-Ethernet and Inter‐
net-to-Fibre Channel address translation tables used by the Address
Resolution Protocol (ARP).
Options
has the following keyletter options:
hostname Display the current ARP entry for hostname, which must
appear in the hostname database (see hosts(4)), or for
the DARPA Internet address expressed in Internet stan‐
dard ``dot'' notation.
Display all current
ARP entries by reading the table from based on the
kernel file system (default On PA systems only: if a
core argument is supplied, read the table from core
instead of The option provides the same information as
the option except that network addresses are not dis‐
played symbolically.
If an ARP entry exists for the host called hostname, delete
it. This option cannot be used to delete a permanent
ARP entry whose IP address is an interface on the
local system.
(Not recommended). Delete a permanent ARP entry whose IP
address is an interface on the local system. The
removal of such an ARP entry may result in loss or
limitation of network connectivity with remote
machines. The local system will no longer respond to
ARP requests for this IP address. Consequently, com‐
munication with remote systems is possible only when
that communication is initiated by the local system.
This option should be used with extreme caution.
Read file filename and set multiple entries in the ARP tables.
Fibre Channel entries in the file should be of the
form:
Other entries in the file should be of the form:
hostname hw_address
rif_address]
The argument meanings are the same as for the option.
Create an ARP entry for the host called hostname with the hard‐
ware station address hw_address. The hardware station
address is given as six hexadecimal bytes separated by
colons. If an ARP entry already exists for hostname,
the existing entry is updated with the new informa‐
tion.
The entry is permanent unless the word is given in the
command.
If the word is specified, the entry is published,
which means that this system will act as an ARP server
responding to requests for hostname even though the
host address is not its own.
The word specifies source routing information used for
token ring networks. This information allows you to
specify the particular bridge route which the token
ring packet should be delivered. rif_address is given
as an even number of hexadecimal bytes separated by
colons, up to a maximum of 16 bytes.
Create a permanent
ARP entry for the Fibre Channel host called hostname
with the N_Port address nport_id. The N_Port address
is given as three hexadecimal bytes separated by
colons. If an ARP entry already exists for hostname,
the existing entry is updated with the new informa‐
tion.
You need superuser privilege to use the and options.
See the Neighbor Discovery Protocol (ndp(1M)) for IPv6.
AUTHOR
was developed by HP and the University of California, Berkeley.
SEE ALSOifconfig(1M), inet(3N), hosts(4), arp(7P), ndp(1M).
arp(1M)