简单来说就是表示一个数据包在网络中可以跳跃的结点数据,当该数据为零时本数据包将被抛弃

详细解释看以下引用:

TTL (although named as "time" to live) is actually refering to the number of hops a packet can go thru before it "dies" off. How? Why?   Well, let's go back to some basics (help me out if I am wrong here okay?)
- data is sent thru the internet in form of packets (ie small packages/group of bits collected in the binary form)
- besides the data, there are many more other information that is packed into the same package (for many purposes like indification,   error correction, etc and also the TTL info)
- a packet will travel thru the networks to go from the sender to reach the destination using any connections of the network, it will   go thru lots of connection points (routers or hops) and it will keep on traveling (even though in loops) thru-out this network until    it reaches its destination
- just imagine lots of packets traveling in loops in a certain network but never manages to reach its destination... well, they will   keep on going around in the network to try to reach the destination... basically the network will be congested!
- so to ensure that a data will not "live" forever to clogg the network, the TTL is introduced. It is a backward counter (basically a   number) and will start from a value assigned by (probably) the sender's computer system and this number will be decremented by one   whenever it reaches a hop until the value of TTL equals to zero (which means it will die off  ) where the packet will be discarded by   the router (hop).
- TTL is a small (8-bits) data that is being attached at the end of this package (I think it is 8-bit, therefore "255")- so strictly speaking TTL refers to the number of hops a packet can make before it will be discarded; but of course, indirectly, it   also shows you the "time" of how long a packet's life is left.- when you ping TTL=243 it means that the data had traveled 12 hops that's it... (if the initial is set to 255 of course, and in this   case, I think so)
- a packet does not contain any timing information as far as I know...
- the way of knowing how fast a server connection is has been given by the time=323msMy guess is:
- a high starting/initial TTL number would indicate that a packet is important/ it might need to travel far (many hops) ?? Am I right?
- a high TTL number you see when you ping shows that the data only needs to travel less hops to reach it's destination from YOUR computer

转载于:https://www.cnblogs.com/liaojie970/p/5753473.html

ping 中的“TTL是什么意思相关推荐

  1. 讲解ping中的TTL是什么意思

    ping是icmp报文的一种应用.用来测试网络中各设备的连通性.在这几天的实验课上,我又用到了这个非常常用的命令,但是这次我发现了一些以前没有太注意的地方,那就是我在Ping不同的地址时所返回的TTL ...

  2. ping 命令中的 TTL

    ping 命令中的 TTL TTL(Time To Live) 当我们在使用ping命令时,返回结果里会带一个TTL值.这个东西的含义其实就是Time To Live,指的是报文在网络中能够'存活'的 ...

  3. TCP/IP中的TTL

    TTL是IP协议包中的一个值,它告诉网络,数据包在网络中的时间是否太长而应被丢弃.有很多原因使包在一定时间内不能被传递到目的地.解决方法就是在一段时间后丢弃这个包,然后给发送者一个报文,由发送者决定是 ...

  4. 主机ping不通虚拟机 TTL传输中过期的解决办法

    主机ping不通虚拟机 TTL传输中过期的解决办法 Linux 虚拟机设置的自动获取ip地址. 虚拟机ip地址改变之后,虚拟机可以ping通主机,主机ping虚拟机显示TTL传输中过期,CRT连接不上 ...

  5. IP协议包中的TTL(Time-To-Live)

    TTL(Time-To-Live)的作用是限制数据包在网络中存在的时间,防止数据包不断的在IP互联网络上循环. TTL指定数据包被路由器丢弃之前允许通过的最大网段数量,是IP数据包在网络中可以转发的最 ...

  6. linux ping ttl,ping 命令----根据TTL判断对方是什么操作系统

    根据TTL判断对方是什么操作系统 TTL(Time To Live,生存时间),是IP协议包中的一个值,指定数据包被路由器丢弃之前允许通过的网段数量,数据包每经过路由器转发一次都至少要把TTL减一,T ...

  7. [TCP/IP] ping traceroute和TTL

    1.Time To Live是生存时间的意思,就是说这个ping的数据包能在网络上存在多少时间.当我们对网络上的主机进行ping操作的时候,我们本地机器会发出一个数据包,数据包经过一定数量的路由器传送 ...

  8. ping 返回的TTL数值代表什么?

    ping 返回的TTL数值代表什么? 1 [root@standby ~]# dig @202.106.0.20 www.iqiyi.com2 3 ; <<>> DiG 9.8 ...

  9. 计算机网络 ping中ttl,ping命令显示的TTL是什么意思?

    文章目录 [+] 1,TTL是指定数据报被路由器丢弃之前允许通过的网段数量,如果同一服务器不同的ip,你ping这些 ip得到的ttl越高(经过转发的路由器少),延时越小,说明直连该ip会更快. 2, ...

最新文章

  1. catia 安装打开闪退_win10catia r20应用程序无法正常启动的解决办法
  2. Matlab 进行FFT
  3. Python的这几个常用库,你会用吗?
  4. Python requests请求禁止跳转重定向(判断是否为原请求链接)
  5. ip中继对接_朗视IPPBX为桃源居中澳实验学校打造IP语音校园!
  6. CentOS8 模块化仓库
  7. 走火入魔.NET从C/S单点登录到B/S系统的例子,SUID(System Unique Identification)
  8. 基于java的汽车租赁管理系统的设计与实现(含源文件)
  9. mysql to double_double todouble
  10. c语言程序设计典型题目分析
  11. 腾讯QQ不为人知的使用技巧
  12. 2019年4月份学习总结,项目驻场和读书两则
  13. 为什么很多视频一模一样,也没有被判定为搬运?
  14. 天平游码读数例题_天平使用练习题
  15. ajax 提交间隔,jQuery+Ajax实现限制查询间隔的方法
  16. 【opencv4.3.0教程】06之基础结构3之Scalar_结构详解
  17. ROS配置和使用“北通”无线手柄,主从机远程控制JP-Chassis底盘
  18. 线性代数系列(二)--矩阵变换
  19. 20 JNI - c++层 操作 java 层对象
  20. java对接支付宝(四)-即时到账无秘退款

热门文章

  1. 吐血解决python中文写入文件问题
  2. C#中 类和结构 值类型和引用类型以及 值传递和引用传递
  3. MySql 随机读取多行数据并显示
  4. centos yum方式安装nginx 并支持https
  5. spring核心包功能解析
  6. 关于判断后该数据类型是否发生了转变
  7. CSS链接四种状态注意顺序、UI伪类选择器的顺序
  8. Xcode升级插件失效修复快捷方式
  9. 某外企招聘程序员部分面试题,求作答!!!
  10. 使用 Adobe AIR 管理 WordPress 评论