Answer: 1575
To find the total time elapsed, we first calculate the transmission delay (Tt) for a single packet of size 5000 bits:
Tt=BandwidthPacket size=107 bps5000 bits=5×10−4 s=500 μs
We are given:
- Propagation delay per link (Tp) = 20 μs
- Switch forwarding delay (Ts) = 35 μs
- Total data to transmit = 10000 bits, which corresponds to 2 packets (P1 and P2) of 5000 bits each.
Let's trace the timeline of transmission starting at t=0:
- t=0 μs: Host H1 starts transmitting packet P1.
- t=500 μs: H1 finishes transmitting P1 and immediately starts transmitting P2.
- t=520 μs: P1 is completely received at the switch S (500+Tp).
- t=555 μs: Switch S begins forwarding P1 (after the 35 μs processing delay).
- t=1000 μs: H1 finishes transmitting P2.
- t=1020 μs: P2 is completely received at the switch S.
- t=1055 μs: Switch S finishes transmitting P1 (555+500). At this exact moment, the switch is also ready to forward P2 (since 1020+35=1055 μs), so it immediately starts transmitting P2.
- t=1555 μs: Switch S finishes transmitting P2 (1055+500).
- t=1575 μs: P2 is completely received at the destination host H2 (1555+Tp).
Thus, the total time elapsed is 1575 microseconds.