932 views
0 0 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.
---- for above ans is network layer =4
      data link layer=6
what will be the ans if two intermediate routers are replaced by a 2-layer bridge

1 Answer

Best answer
1 1 vote
Lets first try to understand the 1st case 1st :

a)At source end , we move down the hierarchy and hence network layer and data link layer is touched only once.After data link layer ,sender sends to router r1 via physical medium which comes under physical layer.

b) When the packet comes to r1 , now we know since router identifies IP address only , we have to go up the hierarchy so from physical layer to data link layer to network layer .Here we stop since we require IP address only .So network layer is touched only once but then again transmission to r2 is needed via physical medium.So data link layer is touched once again.

c) Same story repeats for r2

d)At the receivers end we go only up the hierarchy hence both data link and network layer are touched once only.

So number of times network layer is touched = 4

number of times data link layer is touched = 6

 

Now coming to your question similar logic can be applied and in that case , we need not go to network layer for 2-layer bridge since they are networking devices being used in data link layer.So only data link layer is required and touched once in these bridges.Hence in this case

number of times network layer is touched = 2[at source and destination only]

number of times data link layer is touched = 4[at source,destination , and each of 2 bridges]
selected by
Position:
Show:

Related questions

0 0 votes
0 0 answers
1.1k
1.1k views
Abhishek Kumar 38 asked Aug 5, 2018
1,136 views
Sir i have a doubt in data link layer. I read somewhere DLL takes packet from Network Layer and split into frame. And i also read DLL takes raw bit stream from physical l...
6 6 votes
4 answers 4 answers
3.1k
3.1k views
rahul sharma 5 asked Dec 29, 2017
3,054 views
Consider the following statements with respect to application layer:S1 : Datagram is the PDU (Protocol data unit) used.S2 : There is a fixed limit on the maximum size of ...