欢迎来到天天文库
浏览记录
ID:38846280
大小:343.35 KB
页数:17页
时间:2019-06-20
《ping命令和TTL值介绍》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、Ping命令及TTL值介绍Ping命令概述Ping程序实际就是发送一个ICMP回显请求报文给目的主机,并等待回显的ICMP应答。然后打印出回显的报文。Ping不通一个地址,并不一定表示这个IP不存在或者没有连接在网络上,因为对方主机可能做了限制,比如安装了防火墙,因此Ping不通并不表示不能使用FTP或者TELNET连接。Ping的目的Ping主机的IP地址—检验本地主机的TCPIIP地址配置ping默认网关IP地址---检验连接本地网络和其他网络的路由器是否可达。ping远端目的地的IP地址----检验与远端主机的连通性Pi
2、ng常用参数介绍ping[-t][-a][-ncount][-llength][-f][-ittl][-vtos][-rcount][-scount][[-jcomputer-list]
3、[-kcomputer-list]][-wtimeout]destination-list-tping指定的计算机直到中断。ctrl+c停止-a将地址解析为计算机名-ncount发送count指定的echo数据包数。默认值为4-ittl将“生存时间”字段设置为ttl指定的值-llength发送包含由length指定的数据量的echo数据包。默
4、认为32字节;最大值是65,527ping-awww.google.comPingingwww.l.google.com[64.233.189.104]with32bytesofdata:Replyfrom64.233.189.104:bytes=32time=69msTTL=244Replyfrom64.233.189.104:bytes=32time=78msTTL=244Replyfrom64.233.189.104:bytes=32time=78msTTL=244Replyfrom64.233.189.104:byte
5、s=32time=77msTTL=244Pingstatisticsfor64.233.189.104:Packets:Sent=4,Received=4,Lost=0(0%loss),Approximateroundtriptimesinmilli-seconds:Minimum=69ms,Maximum=78ms,Average=75mspingwww.163.com-t-l10000Pingingwww.cache.gslb.netease.com[61.135.253.16]with10000bytesofdata:R
6、eplyfrom61.135.253.16:bytes=10000time=169msTTL=55Replyfrom61.135.253.16:bytes=10000time=171msTTL=55Replyfrom61.135.253.16:bytes=10000time=187msTTL=55Replyfrom61.135.253.16:bytes=10000time=171msTTL=55Replyfrom61.135.253.16:bytes=10000time=171msTTL=55Replyfrom61.135.2
7、53.16:bytes=10000time=171msTTL=55Replyfrom61.135.253.16:bytes=10000time=171msTTL=55Replyfrom61.135.253.16:bytes=10000time=171msTTL=55Replyfrom61.135.253.16:bytes=10000time=171msTTL=55Replyfrom61.135.253.16:bytes=10000time=171msTTL=55Replyfrom61.135.253.16:bytes=1000
8、0time=171msTTL=55Pingstatisticsfor61.135.253.16:Packets:Sent=11,Received=11,Lost=0(0%loss),Approximateroundtriptimesinmilli-seconds:Minimum=169ms,Maximum=187ms,Average=172msControl-C^Cpingwww.163.com-i3Pingingwww.cache.gslb.netease.com[61.135.253.16]with32bytesofdat
9、a:Replyfrom124.161.1.53:TTLexpiredintransit.Replyfrom124.161.1.53:TTLexpiredintransit.Replyfrom124.161.1.53:TTLexpiredintransit.Replyfrom1
此文档下载收益归作者所有