arp(1M) DG/UX R4.11MU05 arp(1M)
NAME
arp - address resolution display and control
SYNOPSIS
/usr/bin/arp [ -i dev ] -a
/usr/bin/arp [ -i dev ] host
/usr/bin/arp [ -i dev ] -d host
/usr/bin/arp [ -i dev ] -s host hardwareaddr [ temp ] [ pub ]
/usr/bin/arp [ -i dev ] -f file
DESCRIPTION
The arp program displays and modifies the Internet-to-hardware
address translation tables used by the Address Resolution Protocol
arp(6P) and the Reverse Address Resolution Protocol rarp(6P). The
hardware address is the Ethernet, 802.3, or token ring address.
When you use the -a option, the program displays all of the current
ARP entries by reading the internal kernel tables (using the
appropriate ioctl calls). When you use this option, you do not have
to specify the name of a host or of a file.
With host as the argument, the program displays the current ARP entry
for that host. You may specify the host by name or by number, using
Internet standard dot notation.
With the -d option, a user with appropriate privilege may delete an
entry for the host named host.
Use the -s option to create an ARP entry for the host named host with
the hardware address hardwareaddr. The hardware address is
specified as six hexadecimal bytes separated by colons. The
resulting ARP entry is permanent unless the word temp is specified on
the command line. If the word pub is specified, the entry will be
"published"; that is, this system will act as an ARP server,
responding to requests for host even though the host address is not
its own. Only a user with appropriate privilege may set a new entry
in the table.
The -f option causes the file named file to be read and multiple
entries to be set in the ARP tables. Only a user with appropriate
privilege may use this option. Entries in the file should be of the
following form:
host hardwareaddr [ temp ] [ pub ]
with argument meanings as described above.
If you specify the -i option, only the ARP table for the interface
named dev will be searched.
SEE ALSO
ifconfig(1M), inet(6F), arp(6P), rarp(6P).
capdefaults(5), appropriateprivilege(5).
NOTES
For systems supporting the DG/UX Capability Option, appropriate
privilege is defined as having one or more specific capabilities
enabled in the effective capability set of the user. See
capdefaults(5) for the default capabilities for this command.
On systems without the DG/UX Capability Option, appropriate privilege
means that your process has an effective UID of root. See the
appropriateprivilege(5) man page for more information.
Licensed material--property of copyright holder(s)