Flushing the ARP cache - griffinsnest/tech-Jorunal-1 GitHub Wiki

Flushing the ARP cache in linux


In order to flush the ARP cache In Linux, you'd want to use the command sudo ip -s neigh flush all. This command will be used as one run by the root user thanks to the sudo, thus when using flush all on the IP neigh command it will completely flush/empty the ARP cache of the user. So after using this specific command the neighbor table produced by arp -a will produce an empty one now since the cache is empty.