通过ARP命令 绑定MAC地址防止ARP欺骗

2016-5-2 Frank 工具

$ arp -a
 (192.168.0.1) at c8:3a:35:4:fd:a0 on en0 permanent [ethernet]
? (192.168.0.1) at c8:3a:35:4:fd:a0 on en0 ifscope [ethernet]
? (192.168.0.103) at 9c:fc:1:e2:eb:3f on en0 ifscope [ethernet]
? (192.168.0.104) at b0:d5:9d:27:d2:b8 on en0 ifscope [ethernet]
? (192.168.0.255) at ff:ff:ff:ff:ff:ff on en0 ifscope [ethernet]
? (224.0.0.251) at 1:0:5e:0:0:fb on en0 ifscope permanent [ethernet]
#绑定路由器ip
$ sudo arp -s 192.168.0.1 c8:3a:35:4:fd:a0
#删除
$ arp -d 192.168.0.1

« 上一篇:Node.js 调试 | 下一篇:蓝牙 http socket之间如何通信»

发表评论 登录

Top