arp(1M)
Requires Optional LAN/X.25 Software
NAME
arp − address resolution display and control
SYNOPSIS
arp hostname
arp −a [system] [core]
arp −d hostname
arp −s hostname address [temp] [pub] [trail]
arp −f filename
DESCRIPTION
arp displays and modifies the Internet-to-Ethernet address translation tables used by the Address Resolution Protocol.
OPTIONS
none If no option flags are specified, arp displays the current ARP entry for hostname. The hostname must either appear in the hostname database hosts(4), or be a DARPA Internet address expressed in Internet standard “dot notation.”
−a Display all current ARP entries by reading the table from file core (default /dev/kmem) based on the kernel file system (default /hp-ux).
−d If an ARP entry exists for the host called hostname then delete it. This requires super-user privileges.
−s Create an ARP entry for the host called hostname with the Ethernet address address. The Ethernet address is given as six hexadecimal bytes separated by colons. If an ARP entry already exists for the hostname then the existing entry will be updated with the new information. The entry is permanent unless the word temp is given in the command. If the word pub is given, 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 trail indicates that trailer encapsulations can be sent to this host. This requires super-user privileges.
−f Read file filename and set multiple entries in the ARP tables. Entries in the file should be of the form:
hostname address [temp] [pub] [trail]
Argument meanings are the same as for the −s option.
AUTHOR
arp was developed by the University of California, Berkeley.
WARNINGS
HP 9000 systems can receive trailer packets but do not send them. Setting the trailers flag has no effect.
SEE ALSO
ifconfig(1M), inet(3N), lanconfig(1M), arp(7P).
Hewlett-Packard Company — HP-UX Release 8.05: June 1991