Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ arp(8c) — AIX PS/2 1.2.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

ifconfig



ARP(8c,C)                   AIX TCP/IP User's Guide                   ARP(8c,C)



-------------------------------------------------------------------------------
arp



PURPOSE

Performs address resolution display and control.

SYNTAX



       +--- hostname ---|
       |
       |          +--------+   +--------+
       |--- -a ---|        |---|        |---|
       |          +- unix -+   +- kmem -+
       |
arp ---+--- -d --- hostname ---|
       |
       |          + ether +
       |        +-|       |- hostname - ether_addr ---------------+
       |        | + 802.3 +                                       |
       |--- -s -|                                 +-------------+ |-...
       |        +- 802.5 - hostname - token_addr -|             |-+
       |                                          + token_route +
       |
       +--- -f --- filename ---|


           +------+  +-----+  +-------+
       ...-|      |--|     |--|       |--|
           + temp +  + pub +  + trail +



DESCRIPTION

The arp command displays and modifies the Internet-to-Ethernet address
translation tables used by the Address Resolution Protocol (ARP).  With no
flags, the program displays the current arp entry for hostname, as specified in
/etc/hosts.  The host may be specified by name or by number using Internet dot
notation.


FLAGS

The arp command options are:






Processed October 29, 1990         ARP(8c,C)                                  1





ARP(8c,C)                   AIX TCP/IP User's Guide                   ARP(8c,C)



-a  Displays all of the current arp entries by reading the table from the file,
    kmem, (default /dev/kmem) based on the kernel file unix (default /unix).

-d  Deletes an entry for the host called hostname for the superuser.

-f  Causes the file filename to be read and multiple entries to be set in the
    arp tables.  Entries in the file should be in the following form:

      hostname ether_addr [temp] [pub][trail]

    The Ethernet address is given as 6 hex bytes separated by colons.  The
    entry is permanent unless the word temp is given in the commands.  If the
    word pub is given, the entry is published.  The word trail indicates that
    trailer encapsulations can also be sent to this host.

-s  Creates an arp entry for the host called hostname with the Ethernet
    address, ether-addr or the Token-Ring address token-addr.  The Ethernet or
    Token-Ring address is given as 6 hex bytes separated by colons.  The entry
    is permanent unless the word temp is given in the commands.  If the word
    pub is given, the entry is published.  The word trail indicates that
    trailer encapsulations can also be sent to this host.  The optional
    token-route parameter gives the Token-Ring route to the host in a multiple
    Token-Ring configuration.  The token-route is given as one to nine hex
    numbers separated by colons.  The hex numbers may be of up to 4 digits
    each.

    This means that the host accepts data packets of the following format:

      [fixed_header] [packet_data] [trailer][additional_header]

    By moving the bulk of the network headers to the end of the packet and
    preceding them with a trailer needed to help the protocol driver to find
    the additional headers, you can improve performance by arranging to move
    the data packets to page-aligned boundaries on the host machine.

EXAMPLES



















Processed October 29, 1990         ARP(8c,C)                                  2





ARP(8c,C)                   AIX TCP/IP User's Guide                   ARP(8c,C)




  # arp -a
  draco (193.255.2.15) at 0:dd:0:fb:84:0
  coins (193.255.2.7) at 0:dd:0:39:a:0
  sabik (193.255.2.26) at 0:dd:1:2:0:cc
  electra (193.255.2.18) at 0:dd:1:2:0:cd
  cups (193.255.2.29) at 0:dd:0:b:69:0
  frodo (193.255.2.2) at 2:60:8c:0:34:63
  swords (193.255.2.4) at 0:dd:0:84:b8:0
  wheels (193.255.2.24) at 0:dd:1:1:3a:bb
  merak (193.255.2.16) at 0:dd:1:2:0:cb
  spica (193.255.2.8) at 0:dd:1:1:3a:c3
  #

  # arp swords
  swords (193.255.2.4) at 0:dd:0:84:b8:0
  #


  # arp nonesuch
  nonesuch (193.255.1.4) -- no entry
  #

RELATED INFORMATION

In this book:  "ifconfig"
inet, refer to the AIX Operating System Technical Reference




























Processed October 29, 1990         ARP(8c,C)                                  3



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