Question

In: Computer Science

Subject: Computer Networks Chapter:packets 2.0. Suppose the path from A to B has a single switch...

Subject: Computer Networks

Chapter:packets

2.0. Suppose the path from A to B has a single switch S in between: A───S───B. Each link has a propagation delay of 60 µsec and a bandwidth of 2 bytes/µsec.

(a). How long would it take to send a single 600-byte packet from A to B?

(b). How long would it take to send two back-to-back 300-byte packets from A to B?

(c). How long would it take to send three back-to-back 200-byte packets from A to B?

If there is a diagram please draw the diagram

Solutions

Expert Solution

Answer:-----------
a). For a single 600 byte packet from A to B we divide into two steps.
From A to S
Bandwidth = 2 bytes/µsec
Propagation delay = 60 µsec
Bandwidth delay = 600 bytes / 2 bytes/µsec = 300 µsec
So from A to S for a single 600 byte packet will take = 300 µsec + 60 µsec = 360 µsec.

From S to B
Bandwidth = 2 bytes/µsec
Propagation delay = 60 µsec
Bandwidth delay = 600 bytes / 2 bytes/µsec = 300 µsec
So from S to B for a single 600 byte packet will take = 300 µsec + 60 µsec = 360 µsec.

Total from A to B = 360 µsec + 360 µsec = 720 µsec


b).
From A to S
Bandwidth = 2 bytes/µsec
Propagation delay = 60 µsec
Packets = 2
Bandwidth delay = 300 bytes / 2 bytes/µsec= 150 µsec

From S to B
Bandwidth = 2 bytes/µsec
Propagation delay = 60 µsec
Packets = 2
Bandwidth delay = 300 bytes/ 2 bytes/µsec= 150 µsec

As there will be same delay from S to B, in fact the first packet will have been even fully transmitted from S to B while both packets will have been received by the Switch S.
Therefore here:Time taken to send two back-to-back 300-byte packets from A to B
= (60 µsec +150µsec) + ( 60 µsec +150 µsec) = 210 µsec + 210 µsec = 420 µsec

c).
From A to S

Bandwidth = 2 bytes/µsec
Propagation delay = 60 µsec
Packets = 3
Bandwidth delay = 200 bytes / 2 bytes/µsec= 100 µsec

From S to B
Bandwidth = 2 bytes/µsec
Propagation delay = 60 µsec
Packets = 3
Bandwidth delay = 300 bytes/ 2 bytes/µsec= 100 µsec

As there will be same delay from S to B, in fact the first packet will have been even fully transmitted from S to B while all packets will have been received by the Switch S.
Therefore here:Time taken to send three back-to-back 200-byte packets from A to B
= (60 µsec +100µsec) + ( 60 µsec +100 µsec) + ( 60 µsec +100 µsec) = 160 µsec + 160 µsec + 160 µsec = 480 µsec


Related Solutions

Subject: Computer networks and chapter :packets 1.0. Suppose a link has a propagation delay of 20...
Subject: Computer networks and chapter :packets 1.0. Suppose a link has a propagation delay of 20 µsec and a bandwidth of 2 bytes/µsec. (a). How long would it take to transmit a 600-byte packet over such a link? (b). How long would it take to transmit the 600-byte packet over two such links, with a store-and-forward switch in between? if there is a diagram please draw the diagram
Subject: Computer Networks Explain Google as a content service provider
Subject: Computer Networks Explain Google as a content service provider
Mark the WRONG statement. A. Some Project networks do not have a critical path. B. Activities...
Mark the WRONG statement. A. Some Project networks do not have a critical path. B. Activities on a critical path have a float of zero. C. A delay in critical activity surely delays the completion of project. D. A network can have more than one critical path. E. Each critical activity has identical earliest and the latest start times.
Suppose Host A wants to send a large file to Host B. The path from Host...
Suppose Host A wants to send a large file to Host B. The path from Host A to Host B has three links, of rates R1 = 200 kbps, R2 = 2 Mbps, and R3 = 1 Mbps. Assuming no other traffic in the network, what is the average throughput for the file transfer? Suppose the file is 4 million bytes, on average, how long will it take to transfer the file to Host B? Repeat (a) and (b), but...
Computer Networks – Basic Connections a. Terminal/microcomputer-to-mainframe computer connections b. Microcomputer-to-local area network connections c. Microcomputer-to-Internet...
Computer Networks – Basic Connections a. Terminal/microcomputer-to-mainframe computer connections b. Microcomputer-to-local area network connections c. Microcomputer-to-Internet connections d. Local area network-to-local area network connections e. Personal area network-to-workstation connections f. Local area network-to-metropolitan area network connections g. Local area network-to-wide area network connections h. Wide area network-to-wide area network connections i. IOT sensor-to-local area network connections j. Satellite and microwave connections k. Wireless telephone connections List which of the eleven network connections listed above most likely involve a connection to...
1. Why do you think B&O has decided to switch from relying on external distributors in...
1. Why do you think B&O has decided to switch from relying on external distributors in Europe and emerging markets to relying more heavily on direct distribution through local stores they own and operate themselves? 2. Do you agree with this decision? Is there any downside to this choice?
Trace the path of a single erythrocyte through the heart from Superior Vena Cava to Aorta....
Trace the path of a single erythrocyte through the heart from Superior Vena Cava to Aorta. Describe the characteristics of each chamber as the erythrocyte passes through. For each feature mentioned, include its location and a brief comment describing its function. Use terms like endocardium, myocardium, the names of great vessels, auricle, papillary muscle, pectinate muscle, types/names of valves, fossa ovalis, chordae tendineae, interventricular septum. (Note: Include the pulmonary circuit in your path, but do not detail the pulmonary circuit...
A particle travelS along the circular path from A to B in 1s. If it takeS...
A particle travelS along the circular path from A to B in 1s. If it takeS 3S for it to go from A to C. Determine Its average velocity when it goes from B to C.
Problem 9 Space Shuttle has three computers. Computer A is a primary computer and Computer B...
Problem 9 Space Shuttle has three computers. Computer A is a primary computer and Computer B and Computer C are secondary and third auxiliary computers. There is a constant probability of 3% that each computer might malfunction…What is the probability that during the operation of leaving orbit, all computers would be malfunctioning?
Suppose a computer receives two ARP replies for a single request. The first reply claims that...
Suppose a computer receives two ARP replies for a single request. The first reply claims that the MAC address is M1, and the second reply claims that the MAC address is M2. How does ARP handle the replies?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT