The ARP cache is a list of IP addresses and MAC address relational caches. clears all ARP caches when arp-d [$ip] does not specify an IP address under Windows. Under Linux arp-d $ip must specify an IP address to perform this parameter for this command, all arp-d under Linux systems $ip command can only clear one IP address of the corresponding MAC address cache, of course, you can use the combination of command operation, which is one of the advantages of Linux it.
The combo command clears all ARP caches:
Arp-n|awk '/^[1-9]/{system ("arp-d")} '
In fact, Linux also has internal commands to clear all ARP caches, but not very good memory, with few people. The following command clears all ARP caches for the Eth0 interface.
IP neigh flush dev eth0
The Linux purge ARP cache is to mark the list as (incomplete), and the next time the system cleans up garbage is cleared. Http://www.kuqin.com/linux/20110918/264989.html
Linux clears the ARP cache