Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ arp(1M) — Interactive 3.2r4.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

ifconfig(1M)

inet(3I)

arp(7)

arp(1M)  —  

NAME

arp − address resolution display and control

SYNOPSIS

arp hostname
arp −a
arp −d hostname
arp −s hostname ether_addr [ temp ] [ pub ]
arp −f filename
arp −t [ interval [ killcom [ killinc ] ] ]

DESCRIPTION

The arp program displays and modifies the Internet-to-Ethernet address translation tables used by the Address Resolution Protocol (ARP) (see arp(7)). 

With no flags, the program displays the current ARP entry for ­hostname.  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 kernel.  Each entry has the following displayed: table index, machine name, Internet address, Ethernet address, and the number of minutes since the last access. 

With the −d flag, the superuser may delete an entry for the host called hostname.

The −s flag is given to 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 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 hostname even though the host address is not its own. 

The −f flag causes the file filename to be read and multiple entries to be set in the ARP tables.  Entries in the file should be of the form:

hostname ether_addr [ temp] [ pub]

with argument meanings as given above. 

The −t flag, by itself, prints the current timeout interval, complete entry timeout, and incomplete entry timeout.  Specifying values for these parameters with −t sets the parameters. 

SEE ALSO

ifconfig(1M), inet(3I), arp(7). 

\*U  —  Version 1.0

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026