4.3BSD-UWisc/man/cat8/arp.8c
ARP(8C) UNIX Programmer's Manual ARP(8C)
NAME
arp - address resolution display and control
SYNOPSIS
arp _h_o_s_t_n_a_m_e
arp -a [ _v_m_u_n_i_x ] [ _k_m_e_m ]
arp -d _h_o_s_t_n_a_m_e
arp -s _h_o_s_t_n_a_m_e _e_t_h_e_r__a_d_d_r [ temp ] [ pub ] [ trail ]
arp -f _f_i_l_e_n_a_m_e
DESCRIPTION
The _a_r_p program displays and modifies the Internet-to-
Ethernet address translation tables used by the address
resolution protocol (_a_r_p(4p)).
With no flags, the program displays the current ARP entry
for _h_o_s_t_n_a_m_e. The host may be specified by name or by
number, using Internet dot notation. With the -a flag, the
program displays all of the current ARP entries by reading
the table from the file _k_m_e_m (default /dev/kmem) based on
the kernel file _v_m_u_n_i_x (default /vmunix).
With the -d flag, a super-user may delete an entry for the
host called _h_o_s_t_n_a_m_e.
The -s flag is given to create an ARP entry for the host
called _h_o_s_t_n_a_m_e with the Ethernet address _e_t_h_e_r__a_d_d_r. The
Ethernet address is given as six hex bytes separated by
colons. The entry will be permanent unless the word temp is
given in the command. If the word pub is given, the entry
will be "published"; i.e., this system will act as an ARP
server, responding to requests for _h_o_s_t_n_a_m_e even though the
host address is not its own. The word trail indicates that
trailer encapsulations may be sent to this host.
The -f flag causes the file _f_i_l_e_n_a_m_e to be read and multiple
entries to be set in the ARP tables. Entries in the file
should be of the form
_h_o_s_t_n_a_m_e _e_t_h_e_r__a_d_d_r [ temp ] [ pub ] [ trail ]
with argument meanings as given above.
SEE ALSO
inet(3N), arp(4P), ifconfig(8C)
Printed 12/27/86 May 20, 1986 1