Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

arp(4p)

ifconfig(8c)

arp(8c)

Name

arp − address resolution display and control

Syntax

arp −a [vmunix] [kmem]
arp [−d] hostname
arp −f filename
arp −s hostname ether_addr [temp] [pub] [trail]

Description

The arp program displays and modifies the Internet-to-Ethernet address translation tables used by the address resolution protocol arp(.).

The hostname is the name of the host system for which information will be displayed or modified. 

With no flags, the program displays the current ARP entry for hostname. 

Options

−a Displays current Address Resolution Protocol (ARP) entries from the specified name list and core files (next arguments).  If not specified, uses /vmunix and /dev/mem, respectively.

−d Deletes the entry for the host specified by name (next argument). 

−f Reads information from the specified file (next argument) and modifies entries accordingly.  Entries in the file should be of the folowing form, with argument meanings as given previously:

hostname ether_addr [ temp ] [ pub ] [ trail ]

−s Creates an ARP entry for the host called hostname with the Ethernet address ether_addr.  The Ethernet address is given as six hexadecimal 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.  That is, the 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 may be sent to this host. 

See Also

arp(4p), ifconfig(8c)

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