06-17-2014 02:18 AM - edited 03-01-2019 02:47 PM
Hi Team,
As per my knowledge, minimum TTL value should be 2. Then how come OSPF uses TTL =1 to restrict not to forward packet more than one hop ?
Because Lets say R1 >>>> R2 (back 2 back) then when R1 sends TTL =1 with OSPF packet to R2 then R2 will decrea to 1-1=0 and packet will be dropped by R2 right ?
Please help me in understanding.
Solved! Go to Solution.
06-17-2014 09:28 AM
Hi Lohit,
Because Lets say R1 >>>> R2 (back 2 back) then when R1 sends TTL =1 with OSPF packet to R2 then R2 will decrea to 1-1=0 and packet will be dropped by R2 right ?
<Nagendra>No. When the TTL of received packet reaches 0 after processing, it will still process the packet, if it is destinated to self or any multicast address to which it is listening to.
In this case, all OSPF routers will listen to 224.0.0.5 nd 224.0.0.6. So if it is received with TTL=1, it will be processed further by looking into the payload. But when the TTL reches 0 after processing and if the packet is not self destinated (or to any address to which it is listening), an ICMP error code will be sent to the source.
-Nagendra
06-17-2014 09:28 AM
Hi Lohit,
Because Lets say R1 >>>> R2 (back 2 back) then when R1 sends TTL =1 with OSPF packet to R2 then R2 will decrea to 1-1=0 and packet will be dropped by R2 right ?
<Nagendra>No. When the TTL of received packet reaches 0 after processing, it will still process the packet, if it is destinated to self or any multicast address to which it is listening to.
In this case, all OSPF routers will listen to 224.0.0.5 nd 224.0.0.6. So if it is received with TTL=1, it will be processed further by looking into the payload. But when the TTL reches 0 after processing and if the packet is not self destinated (or to any address to which it is listening), an ICMP error code will be sent to the source.
-Nagendra
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide