If the TTL of a IP packet becomes 0, then who will discard the IP packet i.e., either router or host.
If the TTL is 0, the packet is discarded, and never reaches the host.
So, what happens when TTL expires? The packet will not travel to the next hop. If a router sees the TTL value as zero, it will drop the packet. This procedure helps to avoid the infinite looping of packets.
If at any point the TTL count is equal to zero after the subtraction, the router will discard the packet and send an ICMP message back to the originating host.
When a labeled packet is received with a TTL of 1, the receiving LSR drops the packet and sends an ICMP message "time exceeded" (type 11, code 0) to the originator of the IP packet. This is the same behavior that a router would exhibit with an IP packet that had an expiring TTL.
The router.
If the TTL is 0, the packet is discarded, and never reaches the host.
More information in wikipedia
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With