windows7/Vista设置静态ARP报错(拒绝访问)的解决方法
时间:2023-12-01 03:58:39
使用 arp -s 命令添加静态 IP 地址和 MAC 地址关联时会报错:ARP 项添加失败: 拒绝访问,这时我们可以改用 netsh 来实现同样的功能操作,感兴趣的朋友可以参考下哈,希望可以帮助到你
在 Windows 7/Vista 中,使用 arp -s 命令添加静态 IP 地址和 MAC 地址关联时会报错(管理员身份在 CMD 命令提示符下执行):arp -s 报错:ARP 项添加失败: 拒绝访问。
arp -s 报错:ARP 项添加失败: 拒绝访问。
这时我们可以改用 netsh 来实现同样的功能操作。
首先,使用以下命令来查找网卡的 IDX 值:
这里得到本地连接的 Idx 值是11。
netsh interface ipv4 show interface
或者
netsh i i sh in
后者是前者的缩写,同样的命令,只是更见简短,提高效率。
使用 netsh 查看网卡 Idx 值
然后,使用下面的命令添加静态 ARP 关联 IP地址 和 MAC地址:
netsh -c “i i” add neighbors Idx “IP” “MAC”
本例中即为
netsh -c “i i” add neighbors 11 “10.246.0.1″ “00-30-48-80-3e-64″
用 netsh 设置静态 ARP 关联 IP 与 MAC
之后我门再运行 arp -a 就可以看到设置静态 ARP 关联已经成功了。
ARP 从静态变成动态
标签:win7,静态ARP
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
重装电脑ghost分区丢失只剩C盘怎么恢复
2023-02-05 19:04:29
![](https://img.aspxhome.com/file/2023/5/a318735_0s.jpg)
Excel中OCT2HEX函数的语法和用法
2022-11-07 20:06:40
![](https://img.aspxhome.com/file/2023/9/a155779_0s.png)
ppt怎么制作交叉的曲线背景图? ppt麻花背景的制作方法
2022-11-30 04:07:25
![](https://img.aspxhome.com/file/2023/10/a348693_0s.jpg )
悦跑圈如何修改密码?悦跑圈密码修改方法
2022-02-09 17:47:49
![](https://img.aspxhome.com/file/2023/8/a336727_0s.jpg)
如何在mac上安装Safari 扩展
2023-09-22 04:04:31
![](https://img.aspxhome.com/file/2023/0/a203700_0s.png)
教教大家多台电脑建立工作组的方法
2022-01-25 03:26:25
![](https://img.aspxhome.com/file/2023/30/a267247_0s.jpg)
Windows11(10.0.22000.132)(KB5005190)更新失败怎么办?
2023-09-30 21:09:20
![](https://img.aspxhome.com/file/2023/1/a278132_0s.jpg)
剪映Mac版正式上线,适配M1
2022-06-29 07:15:07
![](https://img.aspxhome.com/file/2023/3/a209213_0s.png)
电脑硬盘分区是什么意思
2022-05-14 20:44:49
Win10浏览器下载出现乱码怎么办?
2023-02-09 00:14:56
![](https://img.aspxhome.com/file/2023/26/a226483_0s.jpg)
excel表格如何制作进度图
2023-06-29 15:17:29
win8控制面板怎么打开
2022-08-23 03:29:41
![](https://img.aspxhome.com/file/2023/29/a262108_0s.png)
Win10玩绝地求生大逃杀提示“Matching faild”怎么解决?
2022-04-16 02:44:55
![](https://img.aspxhome.com/file/2023/26/a224829_0s.jpg)
win10打开图片显示文件错误怎么办?win10打开图片显示文件错误解决办法
2022-05-29 17:10:41
![](https://img.aspxhome.com/file/2023/26/a223965_0s.png)
excel如何修改数据 excel修改数据3种方法图解教程
2022-08-27 05:19:29
![](https://img.aspxhome.com/file/2023/6/a155616_0s.jpg)
Mac更新后ae不能打开,ae安装后打开报错解决方法
2023-02-03 20:53:16
![](https://img.aspxhome.com/file/2023/7/a206427_0s.png)
三步轻松解决Word2010汉字拼音
2022-08-06 17:53:06
![](https://img.aspxhome.com/file/2023/8/21398_0s.jpg)
notepad++怎么设置中文?notepad++将默认语言设置为中文的方法
2023-04-14 15:16:15
![](https://img.aspxhome.com/file/2023/7/a329703_0s.jpg)
PowerPoint 2007制作倒计时进度条
2022-03-31 16:55:57
![](https://img.aspxhome.com/file/2023/10/a344812_0s.jpg)
Win10 Mobile/PC累积更新14393.82修复和解决已知内容大全
2023-09-07 02:39:56
![](https://img.aspxhome.com/file/2023/28/a243813_0s.png)