arp(1M) arp(1M)
NAME
arp - address resolution display and control
SYNOPSIS
arp hostname
arp -a [unix [kmem]]
arp -d hostname
arp -s hostname ether_address [temp] [pub] [trail]
arp -f filename
DESCRIPTION
The arp command displays and modifies the Internet-to-Ethernet
address translation tables used by the Address Resolution
Protocol [see ARP(7)].
USAGE
With no options, the arp command displays the current ARP
entry for hostname. The host may be specified by name or by
number, using Internet dot notation.
Options
The arp command takes following options:
-a Display all current ARP entries by reading the table
from the file kmem (default is /dev/kmem) based on the
kernel file unix (default is the currently running
kernel, for example, /stand/unix).
-d Delete the entry for host hostname. This option may
used by a privileged user only.
-s Create an ARP entry for host hostname, with the Ethernet
address ether_address. The Ethernet address must be
specified using six hexadecimal bytes separated by
colons.
The entry will be permanent unless the keyword temp is
specified in the command. If the keyword pub is
specified, the entry will be published; that is, the
system will respond to ARP requests for hostname even
though the hostname is not its own. If the keyword
trail is specified, it indicates that trailer
encapsulations may be sent to this host.
Copyright 1994 Novell, Inc. Page 1
arp(1M) arp(1M)
-f Read the file filename and set multiple entries in the
ARP tables. Entries in the file should be of the form:
hostname ether_address [temp] [pub] [trail]
The meanings of the arguments should be the same as
those described above.
REFERENCES
ARP(7), ifconfig(1M)
Copyright 1994 Novell, Inc. Page 2