13,850 views

In the diagram shown below, $L1$ is an Ethernet LAN and $L2$ is a Token-Ring LAN. An $IP$ packet originates from sender $S$ and traverses to $R$, as shown. The links within each $\text{ISP}$ and across the two $\text{ISP}$s, are all point-to-point optical links. The initial value of the $\text{TTL}$ field is $32$. The maximum possible value of the $\text{TTL}$ field when $R$ receives the datagram is _______.

"TTL" VALUE IS DECREASED ONLY AFTER FORWARDING BY A LAYER 3(OR ABOVE ) DEVICE TO ANOTHER LAYER 3(OR ABOVE) DEVICE. SINCE HOST IS CONNECT TO THE GATEWAY ROUTER ON LAYER 2 ( ROUTER AND RECIEVING HOST BEING ON THE SAME NETWORK) , THE LAST DECREASE WILL HAPPEN ON GATEWAY ROUTER ISP-2 AND LAN 2.

==>>THAT MAKES THE ANSWER TO BE "27".

NOTE : - BOTH ENDS OF A ROUTER BELONGS TO DIFFERENT LAYER 3 ADDRESS.

The last TTL decrement happens at the receiving host. The Answer will be $26$.

Each time a packet visits network layer it decrements it's TTL field. Source initializes it and others decreaments it. Inside LAN it never goes to network layer, it is forwarded from data link layer itself.. in routers it goes upto network layer to make a routing decision.. and the router decrements it because the packet has visited the network layer.. and at the receiver too, the packet has visited the network layer and network layer will do it's job and decrements the TTL value.

There are $5$ routers, So Network Layer will be visited $5$ times  and $1$ time on the destination

So, TTL $= 26$

PS:) A receiver decrements TTL value and then checks whether it is $0$ (or) not. So, $26$ is the answer (not $27$)

by

Tracer route trick is a good MCQ question.

@jatin khachane 1

It means once if packet comes to the reciever it wontw be discarded because of TTL value

At the receiver side the packet goes back to application layer & will encounter network layer in between (as going bottom to top manner) So again network layer will decrement TTL. Thus receiver will accept datagram as TTL=26

TTL only decrement at router and at dstination.It is very very important to keep under your mind untill exam finish.

So Total router=5

Destintion=1

Intial TTL value=32

TTL field reduced at each router, there are total 5 routers and finally at receiver.

=32 -(5+1)=26
by
ans 22

correctly said :-)
When R receives packet then TTL = 27,and it decrements it to make 26. Shouldn't 27 be answer??

@Vicky

TTL expiration is intended to cause datagrams to be discarded by routers, but not by the destination host.

http://networkengineering.stackexchange.com/questions/10929/when-is-an-ipv4-ttl-decremented-and-what-is-the-drop-condition

http://searchnetworking.techtarget.com/definition/time-to-live

http://www.linfo.org/time-to-live.html

I did not get any source where it is mentioned that..

2.RECEIVER reject the packet due to TTL=0 (previously it was 1 before arriving at Receiver)

Plz give a reference for above.