This document describes how to use the Address Resolution Protocol (ARP) and the Inverse Address Resolution Protocol (Inverse ARP). It includes the following sections:
ARP Overview
Inverse ARP Overview
ARP Commands
ARP Overview
ARP is a low-level protocol that dynamically maps network layer addresses to physical medium access control (MAC) addresses. Given only the network layer address of the destination system, ARP locates the MAC address of the destination host within the same network segment.
For example, a router receives an IP packet destined for a host connected to one of its LANs. The packet only contains a 32-bit IP destination address. To construct the data-link layer header, a router acquires the physical MAC address of the destination host. Then, the router maps that address to the 32-bit IP address. This function is called address resolution. Figure 1 illustrates how ARP works.
Figure 1 ARP Address Resolution Broadcast

Inverse ARP Overview
Inverse ARP, described in RFC 1293, was created for Frame Relay networks. This protocol defines a method for routers on a Frame Relay network to learn the protocol addresses of other routers in a way that very efficiently reduces traffic. Inverse ARP discovers protocol addresses by sending Inverse ARP request packets to the hardware addresses for its Frame Relay circuits. Conversely, Inverse ARP allows the routers at the other end of each circuit to learn your router's protocol addresses. (For Frame Relay circuits the circuit identifier is the equivalent of a hardware address. See the Frame Relay topic in the Online Library.)
ARP and Inverse ARP share the same ARP cache on the router.
The router transmits Inverse ARP messages:
On all active Frame Relay circuits when a Frame Relay interface comes up
On all active Frame Relay circuits when a new protocol address becomes active on your router
On the circuit when a Frame Relay circuit becomes active
FR Config>) is eliminated. However, if a mapping is unresolved for some reason, the router sends both Inverse ARP and ARP requests to all hosts (see Figure 1). In this way the router attempts to resolve the mapping.
ARP Commands
Table 1 summarizes and explains the ARP and Inverse ARP configuration and monitoring commands.
Press Space twice after you type a command to display the available options for each command.
[C] means the command is available at the ARP config> prompt.
[M] means the command is available at the ARP> prompt.
Add Entry [C]
Adds a MAC address translation entry.
Syntax: add entry
add entry
Interface Number [0]?
IP Address [0.0.0.0]?
Mac Address []?
change entry
Interface Number [0]?
IP Address [0.0.0.0]?
Mac Address []?
clear
Network number to clear [0]? 1
delete entry
Interface Number [0]?
IP Address [0.0.0.0]?
disable auto-refresh
dump 2 ip
Hardware Address IP Address Refresh
02-07-01-00-00-01 192.9.1.2 Permanent
a1-b2-c3-4d-5e-6f 128.185.214.36 5
100 128.185.123.51 Not Aging
16 128.185.214.38 Not Aging
Enable Auto-Refresh [C]
Enables auto-refresh, which causes the router to send another ARP request based on the entry in the translation cache before the refresh timer expires. The router sends the request directly to the hardware address in the current translation instead of a broadcast.
Syntax: enable auto-refresh
enable auto-refresh
exit
hardware
Network Hardware AS Hardware Address
0 FDDI/0 1 AA-00-04-00-26-14
1 FR/0 15 1023
5 TKR/0 6 00:00:C9:09:32:EF
6 TKR/1 6 00:00:C9:09:32:5E
8 Eth/0 1 AA-00-04-00-26-14
9 IPPN/0 2048 128.185.214.38
10 BDG/0 1 00-00-93-90-4C-F7
list all
ARP configuration:
Refresh Timeout: 5 minutes
Auto Refresh: disabled
Mac address translation configuration
IF # Prot # Protocol --> Mac Address
list config
ARP configuration:
Refresh Timeout: 5 minutes
Usage Timeout: 5 minutes
Auto refresh: disabled
list entry
Mac address translation configuration
IF # Prot # Protocol --> Mac Address
protocol
Network Protocol (num) AS Protocol Address(es)
0 FDDI/0 IP (00) 800 128.185.214.38
0 FDDI/0 AP2 (22) 80F3 214/38
5 TKR/0 IP (00) 800 128.185.209.38
6 TKR/1 IP (00) 800 10.1.181.38
8 Eth/0 IP (00) 800 128.185.221.38
8 Eth/0 AP2 (22) 80F3 221/38
set refresh-timer
timeout (in minutes) [5]? 3
statistics
ARP input packet overflows
Net Count
Eth/0 0
PPP/0 0
PPP/1 0
IPPN/0 0
BDG/0 0
ARP cache meters
Net Prot Max Cur Cnt Alloc Refresh: Tot Failure TMOs: Refresh
0 0 1 1 1 17 0 0 13