当前位置: 首页 > 系统教程 > XP系统教程 > 详细页面

win10硬盘重装系统,Linux系统中如何使用ping命令进行网络诊断(2)

发布时间:2019-05-30 15:53:08 文章来源:windows7系统下载 作者: gengting

+6 errors, time 4000ms rtt min/avg/max/mdev = 1.682/1.880/2.020/0.129 ms 实例4:ping指定次数 命令:ping -c 10 192.168.120.206 输出: 代码如下: [root@localhost ~]# ping -c 10 192.168.120.206 PING 192.168.120.206 (192.168.120.206) 56(84) bytes of data. 64 bytes from 192.168.120.206: icmp_seq=1 ttl=64 time=1.25 ms 64 bytes from 192.168.120.206: icmp_seq=2 ttl=64 time=0.260 ms 64 bytes from 192.168.120.206: icmp_seq=3 ttl=64 time=0.242 ms 64 bytes from 192.168.120.206: icmp_seq=4 ttl=64 time=0.271 ms 64 bytes from 192.168.120.206: icmp_seq=5 ttl=64 time=0.274 ms 64 bytes from 192.168.120.206: icmp_seq=6 ttl=64 time=0.295 ms 64 bytes from 192.168.120.206: icmp_seq=7 ttl=64 time=0.269 ms 64 bytes from 192.168.120.206: icmp_seq=8 ttl=64 time=0.270 ms 64 bytes from 192.168.120.206: icmp_seq=9 ttl=64 time=0.253 ms 64 bytes from 192.168.120.206: icmp_seq=10 ttl=64 time=0.289 ms《/p》 《p》--- 192.168.120.206 ping statistics --- 10 packets transmitted,win7体验指数多少算好, pipe 4 [root@localhost ~]# 实例3:ping网关 命令:ping -b 192.168.120.1 输出: 代码如下: [root@localhost ~]# route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.120.0 * 255.255.255.0 U 0 0 0 eth0 192.168.0.0 192.168.120.1 255.255.0.0 UG 0 0 0 eth0 10.0.0.0 192.168.120.1 255.0.0.0 UG 0 0 0 eth0 default 192.168.120.240 0.0.0.0 UG 0 0 0 eth0 [root@localhost ~]# ping -b 192.168.120.1 PING 192.168.120.1 (192.168.120.1) 56(84) bytes of data. 64 bytes from 192.168.120.1: icmp_seq=1 ttl=255 time=2.02 ms 64 bytes from 192.168.120.1: icmp_seq=2 ttl=255 time=1.83 ms 64 bytes from 192.168.120.1: icmp_seq=3 ttl=255 time=1.68 ms 64 bytes from 192.168.120.1: icmp_seq=4 ttl=255 time=1.98 ms 64 bytes from 192.168.120.1: icmp_seq=5 ttl=255 time=1.88 ms《/p》 《p》--- 192.168.120.1 ping statistics --- 5 packets transmitted, 5 received, 实例2:ping不通的情况 命令:ping 192.168.120.202 输出: 代码如下: [root@localhost ~]# ping 192.168.120.202 PING 192.168.120.202 (192.168.120.202) 56(84) bytes of data. From 192.168.120.204 icmp_seq=1 Destination Host Unreachable From 192.168.120.204 icmp_seq=2 Destination Host Unreachable From 192.168.120.204 icmp_seq=3 Destination Host Unreachable From 192.168.120.204 icmp_seq=4 Destination Host Unreachable From 192.168.120.204 icmp_seq=5 Destination Host Unreachable From 192.168.120.204 icmp_seq=6 Destination Host Unreachable《/p》 《p》--- 192.168.120.202 ping statistics --- 8 packets transmitted, time 7005ms , 0 received, time 9000ms rtt min/avg/max/mdev = 0.242/0.367/1.251/0.295 ms [root@localhost ~]# , 0% packet loss, 0% packet loss, 10 received。

100% packet loss。

,如何安装系统xp

版权声明:本文来源:windows7系统下载,由本文作者:gengting所写的原创文章仅此参考,转载请注明:win10硬盘重装系统,Linux系统中如何使用ping命令进行网络诊断(2),谢谢!

相关文章
返回系统下载大全首页
60