ARP Caching: Address Resolution Protocol cache
- rameshtasks
- Dec 13, 2015
- 1 min read
The Address Resolution Protocol (or ARP) is a very important part of IP networking. ARP is used to connect OSI Layer 3 (Network) to OSI Layer 2 (Data-Link). For most of us, that means that ARP is used to link our IP addressing to our Ethernet addressing (MAC Addressing). For you to communicate with any device on your network, you must have the Ethernet MAC address for that device. If the device is not on your LAN, you go through your default gateway (your router). In this case, your router will be the destination MAC address that your PC will communicate with.
Arp caches are there to map an IP addess to a mac address. There's nothing unique about a router. .. it needs an ARP cache just like any other IP device.Managed switches likewise need an Arp cache so they can communicate with the stations managing them.As we discussed in chat, you need to add an IP address to your switch so you can communicate via ARP.
vlan 2 name management_vlan
! interface Vlan2
ip address 192.0.2.20 255.255.255.0
no shutdown
no ip route-cache
!
ip default-gateway 192.0.2.254
This isn't what you asked about, but if you need to see what mac addresses have been learned on a Cisco switch, use show mac address-table.Keep in mind that mac learning and ARP are completely different processes on a layer 2 switch. Mac learning is used for communication through the switch. ARP is required for communication to the switch itself.
Links:

Video Links:
Comments