XP系统通过查看ip地址解决网络问题的步骤
时间:2022-11-20 00:05:32
当电脑遭受攻击、网络发生问题或者需要改变些设置的时候,就需要用上跟踪IP地址,但有很多xp系统DHCP故障时,有时需要找出某个地址范围内有哪些地址没有被使用,IP地址的跟踪方法也可相信你解决问题,下面小编给大家分享xp系统查看ip地址解决网络问题。
1、打开命令提示窗口,在For…in…Do循环中调用ping命令。
2、比如需要找出在地址范围192.168.1.1 到 192.168.1.100有哪些地址没有被使用,可使用:For /L %f in (1,1,100) Do Ping.exe -n 2 192.168.1.%f的命令来查找
3、但该命令会报告指定范围内的所有IP地址,无论是在用的还是未用的,用户都需在命令行窗口中翻看大量的内容。其实还有一个简单的方法,只需建立一个批处理文件,要求它只返回那些未用的IP地址,然后再将命令的结果输入到一个文本文件中。下面方法如下:
4、新建一个记事本,复制如下的命令到记事本中:
@Echo off
date /t > IPList.txt
time /t >> IPList.txt
echo =========== >> IPList.txt
For /L %%f in (1,1,100) Do Ping.exe -n 2 192.168.1.%%f Find
"Request timed out." && echo 192.168.1.%%f Timed Out >>
IPList.txt && echo off
cls
Echo Finished!
@Echo on
Notepad.exe IPList.txt
将该记事本文件存为IPTracker.bat。
PS:在这个批处理文件中,整个的For…In…Do命令由几个被“&&”连接起来的命令组成。该命令是以“For”为开始,以“Off”为结尾,而且整个命令必须在同一行中。当然如果用户想要使用此方法的话,必须是用户自己的IP地址才能替换示例中的IP地址。
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
如何不让Windows更新自动更新Win10设备驱动程序
![](https://img.aspxhome.com/file/2023/30/a263470_0s.png)
iOS11.3.1正式版怎么样?iOS11.3.1正式版值得升级吗?
![](https://img.aspxhome.com/file/2023/7/a200127_0s.jpg)
电脑播放视频提示视频文件无法渲染的解决方法
![](https://img.aspxhome.com/file/2023/6/a326508_0s.jpg)
U盘制作成软驱的方法步骤
![](https://img.aspxhome.com/file/2023/2/a289052_0s.jpg)
Win11更新系统怎么同时更新微软产品?
![](https://img.aspxhome.com/file/2023/28/a239728_0s.jpg )
win7系统安装时进不了Bios菜单的解决方法
![](https://img.aspxhome.com/file/2023/5/a315400_0s.jpg)
win7声卡设置之怎么释放HD声卡的音量全程图解
![](https://img.aspxhome.com/file/2023/29/a254521_0s.jpg)
excel2003填充序列的教程
Love, Money, Rock‘n’Roll动态壁纸合集
![](https://img.aspxhome.com/file/2023/7/a210207_0s.jpeg)
PPT2013怎么创建演示文稿?
![](https://img.aspxhome.com/file/2023/10/a349939_0s.png)
XP系统如何清除缓存?
![](https://img.aspxhome.com/file/2023/2/a289014_0s.png)
32G以上的大容量U盘如何格式化成FAT32文件系统
![](https://img.aspxhome.com/file/2023/9/a343387_0s.png)
Win10怎么批量创建文件夹
![](https://img.aspxhome.com/file/2023/3/a300431_0s.png)
怎么打开DPS文件?DPS文件转化为PPT的方法
![](https://img.aspxhome.com/file/2023/6/a322427_0s.png)
Win10怎么清除电脑所有数据?
![](https://img.aspxhome.com/file/2023/25/a219144_0s.png)
使用wps演示实现ppt转换成word
迅雷曲线功能有什么用-迅雷曲线图用户介绍
![](https://img.aspxhome.com/file/2023/3/a297939_0s.png)
wps 公式编辑器工具栏不见了怎么办?
![](https://img.aspxhome.com/file/2023/7/a187157_0s.png)
电脑版WPS怎么快速找出两行数据中的差异数据
![](https://img.aspxhome.com/file/2023/0/a183600_0s.jpg)
Windows Server 2016将选用每核心授权模式
![](https://img.aspxhome.com/file/2023/30/a262896_0s.jpg)