Time To Live (TTL) in IP protocol)

Source: Internet
Author: User

Time to live, sometimes TTL, is a computer network term that describes how a data packet is transmitted between a computer and a network device before it can be discarded, the maximum number of devices that can be experienced.

 

In IPv4, TTL is a header of an eight-bit binary IP protocol. this value can be considered as the maximum number of packets that can be jumped in the internet system. TTL is set by the sender of the data packet. This value is reduced for each host or device that passes through the destination. if the TTL value is reduced to 0 before the packet arrives at the destination, the packet will be discarded as an ICMP error packet.

 

TTL prevents unlimited transmission of data packets that cannot reach the destination in the network, forming an "undead packet ".

 

Different protocols have different settings for the TTL initial value. We can see that the TTL value set by the ping command is 128.

 

 

 

Usage

==============

In the ping command, observe the TTL value to understand the logical distance from the machine that sent the ping command to the destination.

 

When analyzing the network package in a structure such as NLB (one machine has an nlb ip address and one local IP address), even if the IP address of the same NLB is sent, you can also check through TTL. If these two values are different, it means that even if you send data packets to the same IP address, they are also different hosts.

 

Source:

Time to live

Http://en.wikipedia.org/wiki/Time_to_live

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.