32-8
Cisco ME 3400 EthernetAccess Switch SoftwareConfiguration Guide
78-17058-01
Chapter32 Configuring IP Unicast Routing
Configuring IP Addressing
The switch can use these forms of address resolution:
Address Resolution Protocol (ARP) is used to associate IP address with MAC addresses. Taking an
IP address as input, ARP learns the associated MAC address and then stor es the IP addres s/MAC
address association in an ARP cache for rapid retrieval. Then the IP datagram is encapsulated in a
link-layer frame and sent over the network. Encapsulation of IP datagrams and ARP requests or
replies on IEEE 802 networks other than Ethernet is specified by the Subnetwork Access Protocol
(SNAP).
Proxy ARP helps hosts with no routing tables learn the MAC addresses of hosts on other networks
or subnets. If the switch (router) receives an ARP request for a host th at is not on the sam e inter fa ce
as the ARP request sender, and if the router has all of its routes to the host throug h other interfaces,
it generates a proxy ARP packet giving its own local data link address. The hos t that s ent the AR P
request then sends its packets to the router, which forwards them to the intended host.
The switch also uses the Reverse Address Resolution Protocol (RARP), which fun ction s the s ame as
ARP does, except that the RARP packets request an IP address instead of a local MAC address. Using
RARP requires a RARP server on the same network segment as the router interface. Use the ip
rarp-server address interface configuration command to identify the server.
For more information on RARP, see the Cisco IOS Configuration Fundamentals Configuration Guide,
Release 12.2.
You can perform these tasks to configure address resolution:
Define a Static ARP Cache, page 32-8
Set ARP Encapsulation, page 32-9
Enable Proxy ARP, page 32-10
Define a Static ARP Cache
ARP and other address resolution protocols provide dynamic mapping between IP addr ess es and MAC
addresses. Because most hosts support dynamic address resolution, you usually do not need to specify
static ARP cache entries. If you must define a static ARP cache entry, you can do so globally, which
installs a permanent entry in the ARP cache that the switch uses to translate IP addresses into MAC
addresses. Optionally, you can also specify that the switch respond to ARP requests as if it were the
owner of the specified IP address. If you do not want the ARP entry to be permanent, you can specify a
timeout period for the ARP entry.
Beginning in privileged EXEC mode, follow these steps to provide static mapping between IP addresses
and MAC addresses:
Command Purpose
Step1 configure terminal Enter global configuration mode.
Step2 arp ip-address hardware-address type Globally associate an IP address with a MA C (hardw are) address
in the ARP cache, and specify encapsulation type as one of
these:
arpa—ARP encapsulation for Ethernet interfaces
snap—Subnetwork Address Protocol encapsulation for
Token Ring and FDDI interfaces
sap—HP’s ARP type