win7下清除arp缓存避免被arp攻击和arp欺骗的两种方法
时间:2022-06-17 13:43:14
为了避免被arp攻击和arp欺骗,定时清理arp缓存列表是个不错的选择,下面与大家分享下清除arp缓存的两种方法,一种是手动,一种是批处理文件
上网老是掉线,有时甚至网都连不上!为毛!很可能电脑被黑啦!为了避免被arp攻击和arp欺骗,定时清理arp缓存列表是个不错的选择。如何清除arp缓存呢?下面小编就给大家介绍清除arp缓存的两种方法。
方法一、手动清除
1、按下键盘上的Windows+R组合键→在出现的运行窗口中输入cmd→点击确认→打开cmd.exe程序窗口,如图1和图2所示:
图1
图2
2、在窗口中输入arp -a(p和-之间有一个空格),显示所有接口的当前ARP缓存表(上网一段时间后会出现)如图3所示:
图3
3、在窗口中输入arp -d,清除ARP缓存→输入arp -a 查看ARP缓存列表。重复上述步骤,直到没有缓存列表为止。如图4和图5所示:
图4
图5
方法二、制作批处理文件
1、在电脑桌面新建一个记事本文档,命名为“清空arp缓存”,如图6所示:
图6
2、在记事本中输入以下内容:
@echo
title "自动清除arp缓存"
color 2
mode con cols=50 line=4
:cleararp
@echo arp 缓存清除中……
arp -d
cls
goto cleararp
并保存,如图7所示:
图7
3、选择这个“清空arp缓存文档”鼠标右键,在出现的右键菜单栏中选择“重命名”,如图8所示:
图8
4、将txt的后缀更改为bat,而后将鼠标放到桌面空白处,任意点击一下,会出现重命名确认的界面,点击“是”。如图9所示:
图9
5、这样清除arp缓存的批处理文件就做好了,如10所示:
图10
6、双击该清除arp缓存文件,会出现如图11所示界面:(点击关闭按钮即可关闭)
图11
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
excel表格提取生日,这个最简单方法99%的人不知道
![](https://img.aspxhome.com/file/2023/7/a142647_0s.jpg)
WPS演示怎么设置自动切换幻灯片
Word如何一键去除超链接?Word一键去除超链接的方法
![](https://img.aspxhome.com/file/2023/0/30870_0s.jpg)
WPS文字教程:自由跳转 轻松切换
![](https://img.aspxhome.com/file/2023/4/a165174_0s.png)
Win10升级Win11不满足条件怎么办 Win10升级Win11有必要吗
![](https://img.aspxhome.com/file/2023/25/a218783_0s.png)
Win10正式版怎么使用手机助手管理手机?
![](https://img.aspxhome.com/file/2023/28/a248566_0s.jpg)
Win10如何设置快速切换窗口?Win10快速切换窗口设置教程
![](https://img.aspxhome.com/file/2023/2/52412_0s.jpg)
boom 3d账户在哪里创建?如何创建boom账户?
![](https://img.aspxhome.com/file/2023/9/a213639_0s.jpeg)
Win10护眼模式关不掉怎么解决?win10护眼模式关闭方法
![](https://img.aspxhome.com/file/2023/26/a221391_0s.png)
Excel如何加总已筛出来的项目
如何设置wps文字中图片的尺寸
大量Windows和Office漏洞将被微软修复
macOS怎么修改Hosts文件?mac编辑hosts文件教程
![](https://img.aspxhome.com/file/2023/6/a211536_0s.jpeg)
excel如何快速制作表格
如何在Mac上添加密码提示?
![](https://img.aspxhome.com/file/2023/5/a207365_0s.jpeg)
Win11发热严重怎么办 Win11装后电脑太烫了的解决办法
![](https://img.aspxhome.com/file/2023/27/a237994_0s.jpg)
AutoCAD Mac或AutoCAD LT for Mac无法启动怎么办?
![](https://img.aspxhome.com/file/2023/1/a214131_0s.jpeg)
WPS轻松办公—如何正确合并幻灯片
excel怎么插入表格同时保持序号连续不变?
![](https://img.aspxhome.com/file/2023/8/40488_0s.png)
在GarageBand中如何把乐曲导到磁盘?
![](https://img.aspxhome.com/file/2023/6/a207116_0s.jpeg)