• Skip to main content
  • Skip to primary sidebar

Technipages

Tutorials and fixes for smartphone, gadget, and computer problems

  • Topics
    • Android
    • Browsers
    • Gaming
    • Hardware
    • Internet
    • iPhone
    • Linux
    • macOS
    • Office
    • Reviews
    • Software
    • Windows
    • Definitions
  • Product Reviews
  • Downloads
  • About
Windows 10: Flush ARP Cache

Windows 10: Flush ARP Cache

February 25, 2020 by Mel Hawthorne 2 Comments

When troubleshooting networking issues, a wide range of potential problems need to be investigated. One potential issue is that the ARP cache contains incorrect data. This scenario is extremely unlikely and is most often caused by a user editing their own ARP cache for some purpose. But no matter how the issue was caused, it still needs to be fixed. So, what is the ARP cache and how do you clear it?

What is the ARP cache?

ARP stands for Address Resolution Protocol, it resolves IP addresses to MAC addresses and is used exclusively for communications over a local network. The ARP cache stores routing information for local IP addresses, and then contains a default route to the gateway, for external resources.

The ARP cache can only be modified by a device on the local network. ARP messages are broadcast to the entire local network, any device that can see ARP messages will adjust its ARP cache to match the newest information. Therefore, changes to the cache on a device can be made by a user, or potentially a virus on any device on the network. The ARP cache cannot be directly modified by users outside of the local network.

Tip: Modifying the ARP cache manually should not be done lightly, as it can cause networking issues.

The most likely cause for the ARP cache needing to be cleared, is the user of the device trying to modify their own cache by hardcoding a value in an attempt to fix an issue and making it worse by accident.

How to clear the ARP Cache

The first step to clearing the ARP cache is to open an elevated command prompt, doing this gives it administrative rights which are necessary to perform the deletion. Open the windows start bar and type “CMD”, then right-click on command prompt and select “Run as administrator”.

Open an elevated command prompt.

In the elevated command prompt type the command “arp -a” to view the ARP cache, to wipe the ARP cache run the command “arp -d”. The -a flag instructs the program to display the ARP cache, the -d flag instructs it to delete the cache.

A before and after of the ARP cache being flushed.

You Might Also Like

  • How to Flush and Reset the DNS Cache in Windows 11
    How to Flush and Reset the DNS Cache in Windows 11
  • MacOS Sierra: Flush DNS Cache
    MacOS Sierra: Flush DNS Cache
  • What Is a Pipeline Flush?
    What Is a Pipeline Flush?
  • Windows: Clear Java Web Cache Via Command Line
    Windows: Clear Java Web Cache Via Command Line
  • What is the CPU Cache?
    What is the CPU Cache?
  • What is a Cache?
    What is a Cache?

Filed Under: Windows

Reader Interactions

Comments

  1. Samuel says

    January 20, 2022 at 1:56 pm

    -d switch does not delete the cache.

    C:\Windows\system32>arp

    Displays and modifies the IP-to-Physical address translation tables used by
    address resolution protocol (ARP).

    ARP -s inet_addr eth_addr [if_addr]
    ARP -d inet_addr [if_addr]
    ARP -a [inet_addr] [-N if_addr] [-v]

    -a Displays current ARP entries by interrogating the current
    protocol data. If inet_addr is specified, the IP and Physical
    addresses for only the specified computer are displayed. If
    more than one network interface uses ARP, entries for each ARP
    table are displayed.
    -g Same as -a.
    -v Displays current ARP entries in verbose mode. All invalid
    entries and entries on the loop-back interface will be shown.
    inet_addr Specifies an internet address.
    -N if_addr Displays the ARP entries for the network interface specified
    by if_addr.
    -d Deletes the host specified by inet_addr. inet_addr may be
    wildcarded with * to delete all hosts.

  2. Stef says

    September 14, 2021 at 3:29 am

    I’m hesitant to do a complete purge, because I’m seeing a lot of invalid entries in het ARP table. There might be a problem with the ARP system?
    I tried a delete of one of the invalid lines, but that doesn’t seem to make a difference, even when elevated.
    I’m doing this on a Windows Server 2012.

Did this help? Let us know!

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Primary Sidebar

Recent Posts

  • What is SMPS?
  • How to Find Watched Videos on Facebook in 2023
  • How to View Facebook Memories in 2023
  • How to Fix Google Maps Voice Directions Not Working
  • What Happens to Messages When You Permanently Delete Facebook
  • How to Connect Bluetooth Headphones to Steam Deck
  • How to Reset Root Password on Steam Deck
  • How to Update Steam Deck

Who’s Behind Technipages?

Baby and Daddy My name is Mitch Bartlett. I've been working in technology for over 20 years in a wide range of tech jobs from Tech Support to Software Testing. I started this site as a technical guide for myself and it has grown into what I hope is a useful reference for all.

You May Also Like

  • Cache
  • Set-Associative Cache
  • Cache Controller
  • Pipeline Burst Cache
  • Windows 95/98
  • Microsoft Windows NT
  • Microsoft Windows
  • Microsoft Windows 95

© Copyright 2023 Guiding Tech Media · All Rights Reserved · Privacy