Problem Statement
What is the function of the Time-to-Live (TTL) field in an IP header?
Explanation
The TTL field prevents packets from looping endlessly in case of routing errors. Each router decrements TTL by one; when it reaches zero, the packet is discarded and an ICMP ‘Time Exceeded’ message is sent back. TTL protects network stability.
