ARP(8C) BSD ARP(8C)
NAME
arp - address resolution display and control
SYNOPSIS
arp hostname
arp -a
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 tables used by the address resolution protocol (arp(4p)).
With no flags, the program displays the current ARP entry for hostname.
You may specify the host by name or by number, using Internet dot
notation.
OPTIONS
-a Display all of the current ARP entries in the internal file.
-d hostname
A super-user may delete an entry for the host called hostname.
-s hostname ether_addr [ temp ] [ pub ] [ trail ]
Create an ARP entry for the host called hostname with the
ETHERNET address ether_addr. The ETHERNET address is given as
six hex bytes separated by colons. The entry will be permanent
unless you specify the word temp in the command. If you specify
the word pub, 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 its own. The word
trail indicates that trailer encapsulations may be sent to this
host.
-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.
NOTES
ETHERNET is a registered trademark of Xerox Corporation.
SEE ALSO
inet(3N), arp(4P), ifconfig(8C);
Configuring and Managing TCP/IP.