ttl传输中过期怎么解决
TTL is the short code for Time To Live. TTL is located in IP packets where it is used to hold the count of intermediate hops. TTL is value is set by source host. Windows operating system set it to 64 where Linux operating systems set to 128. Every router or intermediate host the packet pass will decrease the TTL value of the IP packet.
TTL是生存时间的简称。 TTL位于IP数据包中,用于保存中间跃点的计数。 TTL是由源主机设置的值。 Windows操作系统将其设置为64,Linux操作系统将其设置为128。每台路由器或中间主机的数据包传递都会减少IP数据包的TTL值。
TTL generally used with different network troubleshooting tools like tracert, ping etc. TTL value provides the intermediate host counts.
TTL通常与不同的网络故障排除工具(例如tracert,ping等)一起使用。TTL值提供中间主机计数。
追踪到Google (Trace To Google)
In this part we will trace to the google.com
where there is no TTL related restriction for IP packet transfer. We will use tracepath
command with the remote host name which is google.com
.
在这一部分中,我们将跟踪到google.com
,其中IP数据包传输没有与TTL相关的限制。 我们将使用tracepath
命令使用远程主机名google.com
。
$ tracepath google.com
啤酒花太多 (Too Many Hops)
Now we will set very low TTL value where it will reach 0 in 4. hop. We will use -m
with the 4 which is TTL.
现在,我们将设置非常低的TTL值,使其在4跳中达到0。 我们将-m
与TTL一起使用4。
$ tracepath -m 4 google.com
解决方案或解决方案–增加TTL值(Solution or Fix – Increase The TTL Value)
We will change the TTL value to the 255 which is the maximum and works like a charm. If it is not working there is loop in the network between source and destination.
我们将TTL值更改为最大值255,并且像超级按钮一样工作。 如果它不起作用,则源和目标之间的网络中存在环路。
$ tracepath -m 255 google.com
翻译自: https://www.poftut.com/ttl-expired-transit-error-solution/
ttl传输中过期怎么解决