
INFS612 HW1 Hiroko Ikezawa
12/1/2020
INFS 612 Computer Networking HW1
1. Problems from Chapter 1
Problem 3: F = L * M bits
Number of packets = M
Size of a packet = L bits
a) Virtual Circuit Network with Packet-Switching
size of a packet = (L+h) bits
setup time = Ts seconds
ans.: T = Ts + Q *(L + h)/R + (M-1)*(L+h)/R (seconds)
b) Packet-Switching with connectionless service
Size of a packet + (L + 2h) bits
ans.: T = Q * (L+2h)/R + (M-1)*(L+2h)/R (seconds)
c) Message Switching
No packets. Size of the file = (LM + 2h) bits
ans.: T = Q * (LM+2h)/R (seconds)
d) Circuit Switching
ans.: T = Ts + (LM+h)/R (seconds)
Problem 4:
Yes, the delays in the applet correspond to the delays in Problem 3.
The propagation delays affect the overall end-to-end delays both for packet switching
and message switching equally, i.e. it causes the delays of the same amount of time. If
the propagation delays are 3 seconds in packet switching, those in message switching are
also 3 seconds.
Problem 6: Propagation speed = s meters/second
Size of a packet = L bits
a) dprop = m / s
b) dtrans = L/R
c) dnodal = m / s + L/R
d) The first bit is in Host A. (about to leave)
e) The first bit is somewhere on the link.
f) The first bit is in Host B.
g) S = 2.5 * 108 , L = 100bits, R = 28kbps
L/R = m/s
m = L*S/R
m = 100*(2.5 * 108)/28000
Ans.: m = = 8.92857 * 10 5
(meters)
- 1 -