6.2 Establish Address Resolution
A device in the IP can have both a local address (which uniquely identifies the device on its local segment or LAN) and a network address (which identifies the network to which the device belongs). The local address is more properly known as a data link address because it is contained in the data link layer (Layer 2 of the OSI model) part of the packet header and is read by data link devices (bridges and all device interfaces, for example). The more technically inclined will refer to local addresses as MAC addresses, because the Media Access Control (MAC)
To communicate with a device on Ethernet, you first must determine the
Once a media or MAC address is determined, the IP address/media address association is stored in an ARP cache for rapid retrieval. Then the IP datagram is encapsulated in a
6.2.1 Define a Static ARP Cache
ARP provides a dynamic mapping between IP addresses and media addresses. Because most hosts support dynamic address resolution, you generally do not need to specify static ARP cache entries. Completing this task installs a permanent entry in the ARP cache. The entry is used to translate
Optionally, you can specify that the software respond to ARP requests as if it was the owner of the specified IP address. You also have the option of specifying an interface when you define ARP entries.
Perform the following task in global configuration mode, to provide static mapping between IP addresses and media addresses.
Command | Purpose |
|
|
arp | Globally associate an IP address with a media (hardware) |
| address in the ARP cache. |
|
|
arp | Specify that the software respond to ARP requests as if it |
[interface ] | was the owner of the specified interface. |
|
|
To display the ARP being used on a particular interface, use the show interface in top mode or global configuration mode. Use the show arp command in top or configuration mode to examine the contents of the ARP cache.
55 | Asante IntraCore IC36240 | User’s Manual |