Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ arp(8) — CLIX 3.1r7.6.22

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

rarp(8)

inet(7)

arp(7)



  arp(8)                              CLIX                              arp(8)



  NAME

    arp - Displays and controls address resolution

  SYNOPSIS

    arp hostname

    arp -a

    arp -d hostname

    arp -s hostname ether_addr [temp] [pub]

    arp -sx hostname x25_addr [temp]

    arp -f filename

    arp -t hostname

  FLAGS

    -a     Displays all current ARP entries.

    -d hostname
           Deletes the ARP entry for host hostname.  Superuser privilege is
           required for this flag.

    -s hostname ether_addr [temp] [pub]
           Creates an ARP entry for host hostname with the Ethernet address
           ether_addr.  The Ethernet address is given as six hexadecimal bytes
           separated by dashes.  The entry is permanently added to the ARP
           tables unless the temp flag is used.  The node responds to any ARP
           request seen on the network for host hostname if the pub flag is
           used.  Superuser privilege is required for this flag.

    -sx hostname x25_addr [temp]
           Creates an ARP entry for host hostname with X.25 address x25_addr.
           The X.25 address is given as 1-15 decimal digits.  The entry is
           permanently added to ARP tables unless the temp flag is used.
           Superuser privilege is required for this flag.

    -f filename
           Reads from filename and sets multiple entries in the arp tables.
           Entries in the filename field have the following format:

           hostname ether_addr [temp] [pub]

           Superuser privilege is required for this flag.

    -t hostname



  2/94 - Intergraph Corporation                                              1






  arp(8)                              CLIX                              arp(8)



           Transmits a request on the network to obtain the proper translation
           instead of using the local table to get the translation.

  DESCRIPTION

    The arp command displays and modifies the Internet-to-Ethernet and
    Internet-to-X.25 address translation tables used by the Address Resolution
    Protocol (ARP).  If no flags are specified, the current ARP entry for
    hostname is displayed.  The host is specified by name or by number, using
    Internet dot notation.

  EXAMPLES

    1.  To display the entry for bldg11 in the local address translation
        table, enter:

        arp bldg11


    2.  To display all current ARP entries, enter:

        arp -a


    3.  To delete the ARP entry for host bldg11, enter:

        arp -d bldg11

        Superuser privilege is required for this example.

    4.  To create an ARP entry for host bldg11 with the ethernet address 08-
        00-36-12-34-56, enter:

        arp -s bldg11 08-00-36-12-34-56

        Superuser privilege is required for this example.

    5.  To create an ARP entry for host bldg11 with the X.25 address
        1234567811, enter:

        arp -sx bldg11 1234567811

        Superuser privilege is required for this example.

    6.  To read from the file arp.conf and set multiple entries in the ARP
        table, enter:

        arp -f arp.conf

        Superuser privilege is required for this example.




  2                                              Intergraph Corporation - 2/94






  arp(8)                              CLIX                              arp(8)



    7.  To transmit a request on the network to obtain the proper translation
        for host bldg11, enter:

        arp -t bldg11


  DIAGNOSTICS

    arp: permission denied
           This message displays if some user other than superuser tries to
           add or delete entries.

    arp: hostname unknown host
           This message displays if the user specifies a hostname that arp is
           unable to resolve.

    Other error messages are displayed if errors are encountered with the
    system.

  EXIT VALUES

    The arp command exits with a value of 0 if successful.  If unsuccessful,
    it exits with a nonzero value.

  RELATED INFORMATION

    Commands: rarp(8)

    Files: inet(7), arp(7)

























  2/94 - Intergraph Corporation                                              3




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