防止arp攻击:Win7下搞定ip与mac地址绑定

时间:2026-04-02 07:35:58

1、例如:
arp -s 157.55.85.212 00-aa-00-62-c6-09

2、不过这句话在Windows7显得这么无助,会提示:ARP 项添加失败: 请求的操作需要提升。
(英文版提示:The ARP entry addition failed: Access is denied. )

防止arp攻击:Win7下搞定ip与mac地址绑定

3、询问了下Windows Client TechCenter,其中一个Moderator回答了我:
"Maybe you were trying to add a new IP-to-MAC record for an existed IP address or MAC address. We are not able to realize it with arp commands in Windows 7. "

4、原来windows7不支持用arp添加已经绑定了的地址,看来arp不行,只能拿起“万能而且万恶”的netsh了,
netsh interface ipv4 set neighbors 12 "57.55.85.212" "00-aa-00-62-c6-09" store=active

5、注意:12是网卡序号,需要运行前先查下。

© 2026 手抄报圈
信息来自网络 所有数据仅供参考
有疑问请联系站长 site.kefu@gmail.com