Solved

Understanding ARP cache

Posted on 2014-04-13
4
294 Views
Last Modified: 2014-04-17
Is my understanding correct?

ARP is a table of devices which are currently connected on the network.

So when a new network is setup the router or managed switch stores the ip addresses and MAC addresses in a table. The table is created when a single device sends out an ARP request (i.e. broadcast) to check if a device is on the network using a MAC address.

thats the first thing.

second thing is if we flush the ARP - does that mean we reset the ARP cache which would result in the devices losing connectivity temporarily?

please advise in both scenarios.
0
Comment
Question by:Ikky786
4 Comments
 
LVL 83

Accepted Solution

by:
Dave Baldwin earned 250 total points
ID: 39998338
No, ARP is Address Resolution Protocol, a method to turn IP addresses basically into MAC addresses on the LAN.  When an address is converted, a copy of the info is stored in the ARP cache.  When you clear the cache, it just means that the process has to be repeated instead of the information coming from the cache.  ARP is strictly for LAN access.  

http://en.wikipedia.org/wiki/Address_Resolution_Protocol#Example
0
 

Expert Comment

by:OomWall
ID: 39998392
It might be easier if you let us know what you are trying to troubleshoot.
0
 

Expert Comment

by:jmathon
ID: 39998418
I already did an arp cache flush on a switch without any connectivity loss.
Since the flush is done, you will have new arp requests
0
 
LVL 27

Assisted Solution

by:skullnobrains
skullnobrains earned 250 total points
ID: 39998520
ARP is a table of devices which are currently connected on the network.
no arp is a protocol. hosts only maintain a cache containing the IPs and mac addresses of the devices they already communicated with

So when a new network is setup the router or managed switch stores the ip addresses and MAC addresses in a table. The table is created when a single device sends out an ARP request (i.e. broadcast) to check if a device is on the network using a MAC address.

not really
ARP requests are not sent to a MAC adress. they are intended to retrieve the mac address corresponding to an IP.

also note that although ARP works in shoutcast mode, using the term broadcast is confusing.

second thing is if we flush the ARP - does that mean we reset the ARP cache which would result in the devices losing connectivity temporarily?

no. the ARP protocol will be used for the next packet that is sent and the cache will be repopulated as needed. on a busy network, it will be back to the previous state before you have a chance to see it empty
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Fortigate 100D NTP Issue 4 110
VIRL IP adress 3 79
BGP Network restrictions 6 45
Ping in Fortigate 2 11
Problem Description:   Couple of months ago we upgraded the ADSL line at our branch office from Home to Business line. The purpose of transforming the service to have static public IP’s. We were in need for public IP’s to publish our web resour…
We recently endured a series of broadcast storms that caused our ISP to shut us down for brief periods of time. After going through a multitude of tests, we determined that the issue was related to Intel NIC drivers on some new HP desktop computers …
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question