CMD(ipconfig,ping) 柔情只为你懂 2023-02-14 15:48 12阅读 0赞 **目录** 1.简介 2.ipconfig 2.1查看电脑的ip地址 2.2查看电脑的ip地址,mac地址,其他网卡信息 2.3释放电脑的ip地址 2.4重新获取ip地址 2.5刷新DNS缓存 3.ping 3.1ping本机ip查看检验本机ip是否正确 3.2ping127.0.0.1查看本机的TCP/IP协议是否正常 3.3ping网站地址检查网站是否通常和输入 3.4ping其他电脑ip检查是否能连接局域网其他电脑 # 1.简介 # 我们使用ipconfig命令来查看ip和mac地址,刷新DNS缓存,释放ip地址等。 PING (Packet Internet Groper),因特网包探索器,用于测试网络连接量的程序。Ping发送一个ICMP(Internet Control Messages Protocol)即因特网信报控制协议;回声请求消息给目的地并报告是否收到所希望的ICMP echo (ICMP回声应答)。它是用来检查网络是否通畅或者网络连接速度的命令。它所利用的原理是这样的:利用网络上机器IP地址的唯一性,给目标IP地址发送一个数据包,再要求对方返回一个同样大小的数据包来确定两台网络机器是否连接相通,时延是多少。 # 2.ipconfig # ## 2.1查看电脑的ip地址 ## ![watermark_type_ZmFuZ3poZW5naGVpdGk_shadow_10_text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl80NDkzMzMwOQ_size_16_color_FFFFFF_t_70][] ## 2.2查看电脑的ip地址,mac地址,其他网卡信息 ## ![watermark_type_ZmFuZ3poZW5naGVpdGk_shadow_10_text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl80NDkzMzMwOQ_size_16_color_FFFFFF_t_70 1][] ## 2.3释放电脑的ip地址 ## ![watermark_type_ZmFuZ3poZW5naGVpdGk_shadow_10_text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl80NDkzMzMwOQ_size_16_color_FFFFFF_t_70 2][] ## 2.4重新获取ip地址 ## ![watermark_type_ZmFuZ3poZW5naGVpdGk_shadow_10_text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl80NDkzMzMwOQ_size_16_color_FFFFFF_t_70 3][] ## 2.5刷新DNS缓存 ## ![20200603190149583.PNG][] # 3.ping # ## 3.1ping本机ip查看检验本机ip是否正确 ## ![watermark_type_ZmFuZ3poZW5naGVpdGk_shadow_10_text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl80NDkzMzMwOQ_size_16_color_FFFFFF_t_70 4][] ## 3.2ping127.0.0.1查看本机的TCP/IP协议是否正常 ## ![watermark_type_ZmFuZ3poZW5naGVpdGk_shadow_10_text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl80NDkzMzMwOQ_size_16_color_FFFFFF_t_70 5][] ## 3.3ping网站地址检查网站是否通常和输入 ## ![watermark_type_ZmFuZ3poZW5naGVpdGk_shadow_10_text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl80NDkzMzMwOQ_size_16_color_FFFFFF_t_70 6][] ## 3.4ping其他电脑ip检查是否能连接局域网其他电脑 ## ![20200604095802725.PNG][] [watermark_type_ZmFuZ3poZW5naGVpdGk_shadow_10_text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl80NDkzMzMwOQ_size_16_color_FFFFFF_t_70]: https://img-blog.csdnimg.cn/20200603185228700.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl80NDkzMzMwOQ==,size_16,color_FFFFFF,t_70 [watermark_type_ZmFuZ3poZW5naGVpdGk_shadow_10_text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl80NDkzMzMwOQ_size_16_color_FFFFFF_t_70 1]: https://img-blog.csdnimg.cn/20200603185839487.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl80NDkzMzMwOQ==,size_16,color_FFFFFF,t_70 [watermark_type_ZmFuZ3poZW5naGVpdGk_shadow_10_text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl80NDkzMzMwOQ_size_16_color_FFFFFF_t_70 2]: https://img-blog.csdnimg.cn/20200603190003112.PNG?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl80NDkzMzMwOQ==,size_16,color_FFFFFF,t_70 [watermark_type_ZmFuZ3poZW5naGVpdGk_shadow_10_text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl80NDkzMzMwOQ_size_16_color_FFFFFF_t_70 3]: https://img-blog.csdnimg.cn/20200603190051576.PNG?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl80NDkzMzMwOQ==,size_16,color_FFFFFF,t_70 [20200603190149583.PNG]: https://img-blog.csdnimg.cn/20200603190149583.PNG [watermark_type_ZmFuZ3poZW5naGVpdGk_shadow_10_text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl80NDkzMzMwOQ_size_16_color_FFFFFF_t_70 4]: https://img-blog.csdnimg.cn/20200604095304538.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl80NDkzMzMwOQ==,size_16,color_FFFFFF,t_70 [watermark_type_ZmFuZ3poZW5naGVpdGk_shadow_10_text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl80NDkzMzMwOQ_size_16_color_FFFFFF_t_70 5]: https://img-blog.csdnimg.cn/20200604095502603.PNG?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl80NDkzMzMwOQ==,size_16,color_FFFFFF,t_70 [watermark_type_ZmFuZ3poZW5naGVpdGk_shadow_10_text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl80NDkzMzMwOQ_size_16_color_FFFFFF_t_70 6]: https://img-blog.csdnimg.cn/20200604095639572.PNG?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl80NDkzMzMwOQ==,size_16,color_FFFFFF,t_70 [20200604095802725.PNG]: https://img-blog.csdnimg.cn/20200604095802725.PNG
还没有评论,来说两句吧...