edited by
18,437 views
40 votes
40 votes

Assume that source S and destination D are connected through two intermediate routers labeled R. Determine how many times each packet has to visit the network layer and the data link layer during a transmission from S to D.

  1. Network layer – $4$ times and Data link layer – $4$ times
  2. Network layer – $4$ times and Data link layer – $3$ times
  3. Network layer – $4$ times and Data link layer – $6$ times
  4. Network layer – $2$ times and Data link layer – $6$ times
edited by

4 Answers

Best answer
87 votes
87 votes

C is the Answer.

edited by
27 votes
27 votes

In source,

it is $1$ data link and $1$ network .. now as routers are in network layer
So in

$\text{Router1:}$At first, it goes to network layer like physical$\Rightarrow$DLL$\Rightarrow$network
(then again comes to physical like)$\Rightarrow$DLL$\Rightarrow$physical 

$\text{Router2}:$
Physical$\Rightarrow$DLL$\Rightarrow$network$\Rightarrow$Dll$\Rightarrow$physical

Destination:

Physical$\Rightarrow$DLL$\Rightarrow$Network$\Rightarrow$TCP$\Rightarrow$Application

In both routers after computation in Network layer, it is coming back to physical again...
the reason is signals can only be transmitted with physical layer.

So, Network Layer$=4 \text{ Visit}.$

DLL$=6\text{ Visit}.$

edited by
11 votes
11 votes
(C) Network layer – 4 times and Data link layer – 6 times

Sender Has one network layer and data link layer as receiver but router have 1NL,2DL and 2PL;

So Total NL=1NL(Sender)+2NL*(Router)+1N(Receiver)=4NL

Total DL=1*2DL(Sender+Receiver)+2*2DL(Router=6DL)

Option given as

(C) Network layer – 4 times and Data link layer – 6 times
Answer:

Related questions

32.6k
views
7 answers
48 votes
Arjun asked Sep 24, 2014
32,565 views
In an IPv4 datagram, the $M$ bit is $0$, the value of $HLEN$ is $10$, the value of total length is $400$ and the fragment offset value is $300$. The ... $2400$ and $2759$Last fragment, $2400$ and $2759$Middle fragment, $300$ and $689$
17.2k
views
5 answers
24 votes
Arjun asked Sep 24, 2014
17,221 views
Determine the maximum length of the cable (in km) for transmitting data at a rate of $500$ Mbps in an Ethernet LAN with frames of size $10,000$ bits. Assume the signal speed in the cable to be $2,00,000$ km/s.$1$2$ $2.5$ $5$
9.3k
views
3 answers
23 votes
Arjun asked Sep 23, 2014
9,341 views
Using public key cryptography, $X$ adds a digital signature σ to message $M$, encrypts $\langle M, \sigma \rangle$, and sends it to $Y$, where it is decrypted. ... $Y's$ private key followed by $X's$ public key
10.8k
views
5 answers
23 votes
gatecse asked Feb 14, 2018
10,782 views
Match the following: ... text{P-IV, Q-I, R-II, S-III}$\text{P-IV, Q-I, R-III, S-II}$