Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

[6marks] Consider two hosts, A and B, connected by a single link of rate R = 2 Mbps. Suppose that the two hosts are separated

  1. [6marks]

    Consider two hosts, A and B, connected by a single link of rate R = 2 Mbps. Suppose that the two hosts are separated by m = 50 km, and the propagation speed along the link is s = 2.5x105 km/sec. Host A is to send a packet of size L = 100 bytes to Host B.

    a) Calculate the propagation delay, dprop. b) Determine the transmission time of the packet, dtrans. c) Ignoringprocessingandqueuingdelays,whatistheend-to-enddelay?

  2. [4marks]

    Consider an HTTP client that wants to retrieve a Web document at a given URL. The IP address of the HTTP server is initially unknown. What application-layer and transport-layer protocols are needed in this scenario?

  3. [6marks]

    UDP and TCP use 1s complement for their checksums. Suppose you have the following three 8-bit bytes: 01010010, 01100110, 01110110. (Note that although UDP and TCP use 16-bit words in computing the checksum, for this problem you are being asked to consider 8-bit sums.)

    1. a) With the 1s complement scheme, how does the receiver detect errors?

    2. b) What is the 1s complement of the sum of these 8-bit bytes? Show your work step by step.

  4. [6marks]

    Suppose Host A sends two segments to Host B back-to-back over a TCP connection. The 1st and 2nd segments contain 75 and 40 bytes of data, respectively. In the first segment, the sequence number is 125, the source port number is 400, and the destination port number is 80. Host B sends an acknowledgment whenever it receives a segment from Host A.

    1. a) What are the sequence number, source port number, and destination port number in the 2nd segment sent from Host A to B?

    2. b) If the 1st segment arrives before the 2nd segment, what is the acknowledgment number, the source port number, and the destination port number in the acknowledgment of the 1st arriving segment?

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Concepts of Database Management

Authors: Philip J. Pratt, Mary Z. Last

8th edition

ISBN: 1285427106, 978-1285427102

More Books

Students also viewed these Databases questions

Question

What is the relation of physical mathematics with examples?

Answered: 1 week ago

Question

What are oxidation and reduction reactions? Explain with examples

Answered: 1 week ago

Question

Provide examples of Dimensional Tables.

Answered: 1 week ago