Anti-ARP attack method