Login dark
author: 零贰
title: WIN7 64位32位系统自带反ARP设置
date: 2011-10-18 03:46:20
category: [学习笔记]
tags: [病毒,防火墙]

<p>      对于处于局域网中的用户,有时候受到ARP病毒的攻击,但使用Win7系统的用户会发现,以前用的ARP防火墙或Arp命令已经失效了,那在64位的Win7下怎么办呢?</p><!--more-->
<p>      其实不用着急,Win7下就已经集成了这个功能,Arp不行,就只能拿Netsh了。可以使用以下命令来完成:</p> <p>
      方法一:</p> <p>netsh interface ipv4 set neighbors 11 "192.168.1.1" "00-19-e0-c0-6f-0a" store=active</p> <p>      说明:上面的“store=active”表示 [激活]---当前有效,重启后还原设置前。 <p>  <p>      方法二: <p>netsh interface ipv4 set neighbors 11 "192.168.1.1" "00-19-E0-C0-6F-0A" store=persistent <p>      说明:上面的“store=persistent”表示[永久激活]---重启以后仍然保持不变。12是网卡的接口序号,需要运行前先查下。 <p align="center"> <p>  <p>附查询自己的网卡接口序号的方法: <p>      1、先要在WIN7系统盘下的WINDOWSSYSTEM32下找到CMD.EXE命令右键以管理员身份运行; <p>      2、输入:netsh interface ipv4 show neighbors 查看一下你的邻居缓存项的属性。 <p>      3、附本人运行结果:</p> <table border="1" cellspacing="0" cellpadding="2" width="604"> <tbody> <tr> <td valign="top" width="602"> <p>C:WindowsSystem32>netsh interface ipv4 show neighbors</p> <p>接口 1: Loopback Pseudo-Interface 1</p> <p>
Internet 地址                                 物理地址           类型
--------------------------------------------  -----------------  -----------
224.0.0.22                                                       永久
224.154.138.119                                                  永久
225.252.210.222                                                  永久
226.38.247.222                                                   永久
226.146.8.121                                                    永久
230.142.122.119                                                  永久
231.146.244.222                                                  永久
233.57.1.218                                                     永久
233.113.246.222                                                  永久
233.236.94.114                                                   永久
235.27.85.114                                                    永久
238.28.246.113                                                   永久
238.60.17.218                                                    永久
238.106.240.113                                                  永久
238.129.184.123                                                  永久
239.255.255.250                                                  永久</p> <p>接口 12: 本地连接</p> <p>
Internet 地址                                 物理地址           类型
--------------------------------------------  -----------------  -----------
192.168.1.1                                   00-00-00-00-00-00  无法访问
192.168.1.2                                   94-0c-6d-22-22-ae  可以访问
192.168.1.9                                   无法访问               无法访问
192.168.1.255                                 ff-ff-ff-ff-ff-ff  永久
224.0.0.22                                    01-00-5e-00-00-16  永久
224.0.0.252                                   01-00-5e-00-00-fc  永久
225.252.210.222                               01-00-5e-7c-d2-de  永久
226.146.8.121                                 01-00-5e-12-08-79  永久
231.146.244.222                               01-00-5e-12-f4-de  永久
233.57.1.218                                  01-00-5e-39-01-da  永久
233.113.246.222                               01-00-5e-71-f6-de  永久
233.236.94.114                                01-00-5e-6c-5e-72  永久
235.27.85.114                                 01-00-5e-1b-55-72  永久
238.28.246.113                                01-00-5e-1c-f6-71  永久
238.60.17.218                                 01-00-5e-3c-11-da  永久
238.106.240.113                               01-00-5e-6a-f0-71  永久
239.255.255.250                               01-00-5e-7f-ff-fa  永久
255.255.255.255                               ff-ff-ff-ff-ff-ff  永久
</p></td></tr></tbody></table> <p>  <p>附检查成功与否方法: <p>      1、输入Arp/a <p>      2、附本人运行结果:</p> <table border="1" cellspacing="0" cellpadding="2" width="605"> <tbody> <tr> <td valign="top" width="603"> <p>
C:UsersAdministrator>arp/a</p> <p>接口: 192.168.1.222 --- 0xc
  Internet 地址         物理地址              类型
  192.168.1.1           94-0c-6d-22-22-ae     静态
  192.168.1.255         ff-ff-ff-ff-ff-ff     静态
  224.0.0.22            01-00-5e-00-00-16     静态
  224.0.0.252           01-00-5e-00-00-fc     静态
  225.252.210.222       01-00-5e-7c-d2-de     静态
  226.146.8.121         01-00-5e-12-08-79     静态
  231.146.244.222       01-00-5e-12-f4-de     静态
  233.57.1.218          01-00-5e-39-01-da     静态
  233.113.246.222       01-00-5e-71-f6-de     静态
  233.236.94.114        01-00-5e-6c-5e-72     静态
  235.27.85.114         01-00-5e-1b-55-72     静态
  238.28.246.113        01-00-5e-1c-f6-71     静态
  238.60.17.218         01-00-5e-3c-11-da     静态
  238.106.240.113       01-00-5e-6a-f0-71     静态
  239.255.255.250       01-00-5e-7f-ff-fa     静态
  255.255.255.255       ff-ff-ff-ff-ff-ff     静态</p></td></tr></tbody></table> <p>      3、<font style="background-color: #cccccc" color="#ff0000">192.168.1.1            00-19-e0-c0-6f-0a      静态</font>:已经成为静态。 <p align="center">