Wednesday, July 23, 2008

How To Clear The ARP Cache In Windows 2000/XP And Vista

The Address Resolution Protocol is designed to ease communication in TCP/IP networks through accelerated methods of finding host hardware addresses when the network layer is known. When a network layer has been resolved to a data link layer address, the link between the two is put in a table called an ARP cache where matched sets of Hardware and Internet Protocol are kept.

The ARP Cache therefore hastens what could otherwise be a time-wasteful process. The ARP cache may however, encounter some problems. The cache table must be maintained in an orderly manner.

There is also the possibility that the cache entries might become stale with time, and more cache entries might be added without the expired ones being removed from the cache. The initial signs that the cache needs to be cleared is when the pages just won't load and also when you might be unable to ping certain IP addresses. It is suggested that before doing anything, you might try and first check whether the routing and remote services have been disabled (no need to do that if you are using Windows XP Home Edition).

To clear the ARP cache in Windows 2000/XP and Vista, take the following steps:

- Proceed to the "Start" button, click on "Run" button.
- Type the following command in the "Run" textbox. "netsh interface ip delete arpcache".
- Click on "Ok".

Clearing the dynamic ARP cache entries takes between 2 and 20 minutes, depending on the system. But there are alternative ways of clearing the cache if the initial method did not work: Go to the "Start" button, and then go to the "Control Panel".

- Jump to "Performance and Maintenance", although this step is not necessary if you are in the Classic View.
- Now go to "Administrative tools" and then go to "Computer Management" and click the "Services and Applications" button on your right-hand column.
- Scroll down the window that opens up to the point until you find "Routing and Remote Services". Click on that tab. A window will then open. Now go to the drop-down menu and select "Disabled".
- From there, click "Ok" to the necessary dialogue and save the settings.

Still having problems with the cache? There are still other methods you could use, like the following that is designed to clear the cache every five minutes for those using Windows XP Home edition. If you are on Windows XP Pro and you still want to use this method, change the "C:WINNTsystem32" part of the command to reflect "C:windowssystem32".

- Install the Window on the default drive(C), and if it's not, you will need to replace the letter "C" with the letter representing the drive in which the Windows has been installed.
- Go to "Start" button and then click on the "Run" buttons. Type "cmd" in the textbox and then click "Ok". After that, copy and paste this link on the blinking cursor after (>) sign; "SCHTASKS /CREATE /SC MINUTE /MO 5 /TN ARPFLUSH /TR C:WINNTsystem32netshinterfaceipdeletearpcache"
- Type "enter", and then you will be required to type in your username and password, and then press "enter" once more. That should do the trick.


jmshahji2007 said...

Dear Sir,
Despite several trials as per advice, it has not been possible to clear the ARP cache. Sometimes, it takes hours together which causes irritation and uneasiness. Grateful if some more effective line of action is suggested Delhi : India
13.01.2010 at 09.06 pm

Anonymous said...

What he said.

Anonymous said...

I have worked it out!
You put C:>netsh

Which will look like this


Then you type in the rest of the command. (This is on an XP)


radiodave said...

The above instructions weren't clear to me. "C:>" doesn't mean to type that, but to get the root C: directory.

Try this:
1. Start > Run
2. Type "cmd" in the Open box and select OK. The "blackboard" command screen opens.
3. Type "cd .." then hit enter. Repeat this until you are at the root directory. That is, the command screen displays "c:\>" on the last line.
4. Type "netsh interface ip delete arpcache" then hit enter. The cache is cleared an "Ok." displays on the screen.

Note: from the C:\> prompt you can also type "arp -a" at anytime to view the contents of the ARP cache.

Anonymous said...

I have a similar problem on a laptop with windows xp. I have tried the netsh fix on it but the problem persists and the laptop can not connect to the internet

Video lead capture pages said...

I just searching this kind of things in search engines. My searching was ending here. Keep up your good work. I bookmarked it for general updates.

Adhi said...

i have done the steps, but still cannot connect to the internet. I have disabled the routing and remotes services and still no connection.Any other suggestions?

Anonymous said...

I have the same problem, after unistaling avast antivirus. Avast left shield in background. avast remover tool, now i am installing SP3 for XP, and i dont know what to do else if this dont help?? Any suggestions?

Free Antivirus Download said...

your blog is exceptional and i read it totally. free antivirus download

Used PC Dealer said...

Nice Blog Post !