arp [subcommand]

When no subcommand is presented display the Address Resolution Protocol table. The ARP table maps IP addresses to their subnet (link) addresses on subnet works capable of broadcasting. For each IP address entry the subnet type (e.g., AX.25), subnet address and time to expiration is shown. If the link address is currently unknown, the number of IP datagrams awaiting resolution is also shown. See also rarp.

When a subcommand is included in the command, then the arp interface is configured in the appropriate way.

arp add <hostid> ether | ax25 | netrom | arcnet <ether_addr>|<callsign> <iface> Add a permanent entry to the table. It will not time out as will an automatically created entry, but must be removed with the 'arp drop' command if it becomes necessary.

An example:

...> arp add 44.26.0.19 ax25 wg7j-2 port1

arp drop <hostid> ether | ax25 | netrom | arcnet <iface> Delete a permanent entry from the arp table. An example:

...> arp drop 44.26.0.19 ax25 port1

arp eaves [<iface>] [on | OFF] Display or set the 'arp eavesdrop' function per interface. If ON, all arp replies overheard on the interface will be logged in the arp table. This speeds up arp discovery when needed, but might build a huge arp table taking up lots of memory for addresses never to be used. Consider the tradeoff when configuring. Default for each interface is OFF. Set arp eavesdrop on interface port1with:

...> arp eaves port1 on

arp flush Drop all automatically-created entries in the ARP table; permanent entries are not affected.

arp maxq [n] Display or set the maximum number of packets to be buffered waiting for an arp resolution to finish. Default = 5.

...> arp maxq 7 

arp poll [<iface>] [on | off] Display or set the 'arp keepalive polling' per interface. If ON, when an arp entry expires, a query will be sent for the address. This keeps the arp table fresh when remote nodes respond, but possibly retains unneeded entries.

...> arp poll port1 on 

arp publish <hostid> ax25|netrom <callsign> <iface> This command is similar to the 'arp add' command, and the system will also respond to any ARP request it sees on the network that seeks the specified address. (Use this feature with great care!)

...> arp publish 44.26.1.19 ax25 wg7j-2 port1

arp sort [ON | off] Sorts the arp display

arp (last edited 2007-05-22 18:55:04 by GeorgeVerDuin)