linux防护ARP***

“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


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章