Do you know what the TTL value of the last return value of Ping means?

Source: Internet
Author: User

To be honest, my network knowledge has always been poor. I read a book the day before yesterday and accidentally saw the TTL. I used to know nothing but ping the server.

TTL indicates the number of routers that pass through the ping process. However, its data is not provided directly, but obtained by subtracting this value from the number of n times (greater than it) nearest to it. For example, if the TTL value is 54, the nearest n Number of 2 is 64, and the number of routers passing through is. However, if the TTL value is 11, it should be 16-11 instead of 32-11. Of course, the TTL value is usually relatively large. Its working principle is to prevent some packets from being transmitted back and forth between two routers due to router configuration errors. When TTL is 0, the data sentence is lost. In this case, when a loop occurs, the TTL is always set to 0 and the data packet is discarded.

Take www.126.com as an example:

The result of tracert is exactly 11, that is, the difference between the TTL of Ping and 64.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.