How to clear ARP cache?

To clear the ARP cache, you can use the following commands depending on your operating system:

Windows

  1. Open Command Prompt as an administrator.
  2. Type the following command and press Enter:
    arp -d *

Linux

  1. Open a terminal.
  2. Type the following command and press Enter:
    sudo ip -s -s neigh flush all
    or
    sudo arp -d <IP_address>
    (Replace <IP_address> with the specific IP address you want to remove, or use * to clear all entries.)

macOS

  1. Open Terminal.
  2. Type the following command and press Enter:
    sudo arp -a -d

These commands will clear the ARP cache, forcing the system to rebuild it the next time it needs to resolve an IP address.

0 Comments

no data
Be the first to share your comment!