Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ arp(ADMN) — OpenDesktop 3.0.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

inet(SLIB)

arp(ADMP)

ifconfig(ADMN)


 arp(ADMN)                       19 June 1992                       arp(ADMN)


 Name

    arp - address resolution display and control

 Syntax

    arp hostname
    arp -a [namelist] [corefile]
    arp -d hostname
    arp -s hostname etheraddr [temp] [pub] [trail]
    arp -f filename

 Description

    The arp program displays and modifies the Internet-to-Ethernet address
    translation table, which is normally maintained by the address resolution
    protocol ( arp(ADMP)).

    When hostname is the only argument, arp displays the current ARP entry
    for hostname.  The host may be specified by name or by number, using
    Internet dot notation [see hosts(SFF) and inet(ADMP)].

    Options are interpreted as follows:

    -a [ namelist ] [ corefile ]
         Display all of the current ARP entries by reading the table from the
         file corefile (default/dev/kmem) based on the kernel file namelist
         (default/unix).

    -d   Delete an entry for the host whose name is hostname.  (This can be
         performed only by the superuser.)

    -s hostname etheraddr [temp] [pub] [trail]
         Create an ARP entry for the host whose name is hostname with the
         Ethernet address etheraddr.  The Ethernet address is given as six
         colon-separated, two-digit hexadecimal numbers.  The entry will be
         permanent unless the argument temp is specified on the command line.
         If pub is specified, the entry will be ``published'':  that is, this
         system will act as an ARP server, responding to requests for host-
         name even though the host address is not an address of the local
         host.  If trail is specified, trailer encapsulations are to be used
         with this host.  N.B.  Trailers are a link-dependent issue.
         Currently, no known LLI-compliant Ethernet driver supports trailers,
         and it is unwise to advertise them, unless it is certain that the
         link layer can handle them.

    -f filename
         Read the file filename and set multiple entries in the ARP tables.
         Entries in the file should be of the form

         hostname etheraddr [temp] [pub] [trail]

         with argument meanings as given above: Arguments are defined under
         the -s option.

 See also

    inet(SLIB), arp(ADMP), ifconfig(ADMN)


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