“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.
關(guān)鍵命令:
arping -U -I 發(fā)送包的網(wǎng)卡接口 -s 源ip 目的ip
實例:
假設(shè)你的eth0接口對應(yīng)的ip為192.168.100.11,網(wǎng)關(guān)為192.168.100.2你就可以使用
arping -U -I eth0 -s 192.168.100.11 192.168.100.2