6,207 views
0 votes
0 votes

Consider transferring an enormous file of L bytes from Host A to Host B. Assume an MSS of 536 bytes.
a. What is the maximum value of L such that TCP sequence numbers are not exhausted? Recall that the TCP sequence number field has 4 bytes.
b. For the L you obtain in (a), find how long it takes to transmit the file.Assume that a total of 66 bytes of transport, network, and data-link header are added to each segment before the resulting packet is sent out over a 155 Mbps link. Ignore flow control and congestion control so A can pump out the segments back to back and continuously.

1 Answer

0 votes
0 votes

(A.) Sequence number field is 32-bit, so 2$^{32}$ sequence number are possible. And 1 sequence number is assigned to 1-byte. Therefore  2$^{32}$ sequence number will be assigned to 2$^{32}$ Bytes. Hence max. value of L  = 2$^{32}$ Bytes.

(B.) Given MSS = 536 Bytes, so number of segment = 2$^{32}/536$.

Given that 66 Byte of headers is added to each segment,

therefore, total amount of headers  =  (2$^{32}/536) * 66 Bytes$

total data to transmit = header + data = (2$^{32}/536) * 66 Bytes$  + 2$^{32}$ Bytes

Bandwidth = $155 Mbps$

Therefore, transmission time = total data * 8 bits / 155* 2$^{20}$ = 449 ms

Related questions

0 votes
0 votes
0 answers
1
dd asked Dec 5, 2016
666 views
Question :Solution :Please explain with a rough diagram showing how an application (at app layer) differentiates different source hosts (A or B) dealing with same port : ...
1 votes
1 votes
3 answers
2