edited by
25,636 views
78 votes
78 votes

Consider a source computer $(S)$ transmitting a file of size $10^{6}$ bits to a destination computer $(D)$ over a network of two routers $(R_{1}\text{ and }R_{2})$ and three links $(L_{1},L_{2},\text{ and } L_{3})$. $L_{1}$ connects $S$ to $R_{1}$; $L_{2}$ connects $R_{1}$ to $R_{2}$; and $L_{3}$ connects $R_{2}$ to $D$. Let each link be of length $\text{100 km}$. Assume signals travel over each link at a speed of $10^{8}$ meters per second. Assume that the link bandwidth on each link is $\text{1 Mbps}$. Let the file be broken down into $1000$ packets each of size $1000$ bits. Find the total sum of transmission and propagation delays in transmitting the file from $S$ to $D$?

  1. $\text{1005 ms}$
  2. $\text{1010 ms}$
  3. $\text{3000 ms}$
  4. $\text{3003 ms}$
edited by

8 Answers

3 votes
3 votes
A common doubt is why after the first packet arrives, every other packet arrives in 1 ms when clearly there is transmission and propagation delay (1ms + 1ms) to consider.

To see why this is so, consider a single link connecting the source to destination. Lets say there is 1ms transmission time and 1ms propagation time. So the first packet reaches the destination in 2 ms. But does the next packet require 2ms too?

No, because the sender has already finished transmission of the second packet (at t = 2ms) when the first packet reached the destination. Hence there is only the 1ms propagation delay to consider now.

Apply that same logic here. The first packet takes ms to reach the destination. But after that, the following packet needs only 1ms propagation delay to reach the destination. This gives our answer of 6ms + 999 ms = 1005ms.
0 votes
0 votes

Tt = 1ms, Tp = 1ms

Source~~Router1~~Router2~~Destination

Let’s think in terms of the last packet.

When the last packet reaches destination then all packets will reach and we will get the final answer. So we will count for last packet only. Now, the last packet will be transmitted on the first link L1 only when all previous packets have been transmitted.

So,

Time required = transmission time of 999 pkts from S + transmission time of last pkt From S + propagation from S to R  + transmission time of last pkt From R1 + propagation from R1 to R2 + transmission time of last pkt From R2 + propagation from R2 to D

= (999*1) + 1 + 1 + 1 + 1 + 1 +1

= 1005 ms

 

–2 votes
–2 votes
ok!

BW=10^3 Kbps

Tt=1ms

i.e., 1Kb (or 1 packet) is put on link in 1 ms

So, by the time 1st packet reaches R1, the IInd packet will already have been put on the 1st link.

(Please note Router processing time has been ignored here )

In other words, all the subsequent packets will be 1ms behind each other on the path

that's why after 6 second of packet 1's journey, it's +1ms+1ms ...    till 999 ms

Hope it helped :)
Answer:

Related questions

0 votes
0 votes
3 answers
3
1 votes
1 votes
1 answer
4
go_editor asked Jul 7, 2016
1,357 views
Match the following with link quality measurement and handoff initiation :$\begin{array}{clcl} \text{(a)} & \text{Networked-Controlled}& \text{(i)} & \text{MS connect to...