防止arp攻擊:Win7下搞定ip與mac地址綁定

2009/12/8 16:41:25    編輯:軟媒 - 笨笨     字體:【

Win7之家afsion.com.cn):防止arp攻擊:Win7下搞定ip與mac地址綁定

對(duì)于玩系統(tǒng)的老手都知道,防止arp攻擊實(shí)際上不需要這個(gè)防火墻那個(gè)防火墻,一句命令將ip與mac地址綁定即可。

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

不過(guò)這句話在Windows7顯得這么無(wú)助,會(huì)提示:ARP 項(xiàng)添加失敗: 請(qǐng)求的操作需要提升。
(英文版提示:The ARP entry addition failed: Access is denied. )



詢(xún)問(wèn)了下Windows Client TechCenter,其中一個(gè)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. "

原來(lái)windows7不支持用arp添加已經(jīng)綁定了的地址,看來(lái)arp不行,只能拿起“萬(wàn)能而且萬(wàn)惡”的netsh了,

netsh interface ipv4 set neighbors 12 "57.55.85.212" "00-aa-00-62-c6-09" store=active

注意:12是網(wǎng)卡序號(hào),需要運(yùn)行前先查下。

大家可以參考下:《【軟媒編譯】功能進(jìn)化 - Windows 7中的防火墻