“arping - send ARP REQUEST to a neighbour host“arping [ -AbDfhqUV] [ -c count] [ -w deadline] [ -s source] -I interface destination-U Unsolicited ARP mode to update neighbours’ ARP caches. No replies are expected.
關鍵命令:
arping -U -I 發送包的網卡接口 -s 源ip 目的ip
實例:
假設你的eth0接口對應的ip爲192.168.100.11,網關爲192.168.100.2你就可以使用
arping -U -I eth0 -s 192.168.100.11 192.168.100.2