when using (traceroute -q 1 serverAddress), we know that it starts with TTL(Time to Live) = 1. when it goes through router, the router decrements TTL by 1. If TTL becomes 0 at that router, it sends back ICMP error TTL exceeded message. Now, tell me here router will send the error message back to the client(means me/us). Now how will router know what TTL to set. When i used wireshark, i got the receiving ICMP error message showing TTL=64 for udp packet with initial TTL=5. How does the router set the TTL??
Asked
Active
Viewed 41 times
1 Answers
0
The router sets the TTL to whatever the router OS uses as default for traffic generated by the router itself. 64 is a common value.
![](../../users/profiles/205181.webp)
Ron Trunk
- 2,149
- 1
- 10
- 19