Two hosts are connected by a path made of four links as shown in the figure below. The links are of data rate R = 2 Mbps each. Host A has a file of size F = 1,000,000 bytes to transmit to host B. The propagation delay is 3ms for each link. Neglect processing and queuing delays.
a) How long will it take to send the file from Host A to Host B in circuit-switched mode if the circuit setup and tear-down take 50ms each?
b) How long will it take to send the file in packet-switched mode if the file is divided into 1000 equal chunks, and each chunk will have 100 byte header added to form a packet?