Question 4 - TCP Error Control: Assume that a client has opened a TCP connection with...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Question 4 - TCP Error Control: Assume that a client has opened a TCP connection with a server to download a file. When the connection is opened and established, the following connection parameters are set: The client receive window is set to 4000 bytes (rwind = 4000). The server Initial Sequence Number (ISN) is set to 1. The MSS size is set to 1000 bytes. The error-control algorithm for this connection is set to GBN with Fast-Transmission feature enabled (resending a segment upon receiving three duplicate ACKS without waiting for the timer to expire). Once the connection is opened, the server sent four TCP segments, each one carries MSS bytes. Assume that the 2nd segment got lost during the transmission and never reached the client. (a) How many ACKs the client will send to the server? (b) What is the ACK number of the last ACK sent by the client to the server? (c) Assume that 1) the lost packet timer has not expired yet, and 2) no more segments will be lost from now on for this connection, what are the sequence numbers of the next four TCP segments that the server is going to send next (Hint: you might want to draw the exchange of segments between the client and the server to help you visualize the traffic flow. Review the discussion slide number 21 and 22 for flow diagrams example). Now let's assume that the client has closed the TCP connection and opened another TCP connection with the server. This time, the client and the server has the same connection parameters except for the last one where the error-control algorithm is set to SR instead of GBN. Once the connection is opened, the server sent four TCP segments, each one carries MSS bytes. Assume that the 2nd segment got lost during the transmission and never reached the client. (d) How many ACKs the client will send to the server? (e) What is the ACK number of the last ACK sent by the client to the server? (f) Assume that 1) the lost packet timer has not expired yet, and 2) no more segments will be lost from now on, what are the sequence numbers of the next four TCP segments that the server is going to send next? (Hint: SR has no Fast-Transmission feature). Question 1 - TCP Connection Flow: Assume that a server with an IP address 100.100.100.5 has a running TCP process listening for incoming TCP connections on port 5555. Then there is a client with IP address 65.155.80.8 that wants to open a TCP connection with the aforementioned server to download 1000KB file from the server. Assume that the Initial Sequence Number (ISN) for client is 100 and for the server is 500. The following events took place between the client and the server: (a) 3-way TCP handshake. (b) the server sent 100KB then the client ACKed the receiption of the 100KB. (c) the server sent 200KB then the client ACKed the receiption of the 200KB. (d) the server sent 400KB then the client ACKed the receiption of the 400KB. (e) the server sent 300KB then the client ACKed the receiption of the 300KB. (f) the client closed the TCP connection. For each event, provide the exchanged TCP segments between the client and the server. For each segment, you must show the following parameters: Source IP. Source port. Destination IP. Destination Port. Sequence number. ACK number. TCP flags Hint 1: in event (a), there are three segments. In events (b) to (e), there are two segments in each event. In event (f), there are four segments. Hint 2: in the "flags" field, you should list all of the TCP flags that are switched on for the segment. For this question, consider only the following TCP flags: SYN, FIN, ACK. Hint 3: client chooses its port randomly so any port (besides well-known ports and server port) should suffice. Question 4 - TCP Error Control: Assume that a client has opened a TCP connection with a server to download a file. When the connection is opened and established, the following connection parameters are set: The client receive window is set to 4000 bytes (rwind = 4000). The server Initial Sequence Number (ISN) is set to 1. The MSS size is set to 1000 bytes. The error-control algorithm for this connection is set to GBN with Fast-Transmission feature enabled (resending a segment upon receiving three duplicate ACKS without waiting for the timer to expire). Once the connection is opened, the server sent four TCP segments, each one carries MSS bytes. Assume that the 2nd segment got lost during the transmission and never reached the client. (a) How many ACKs the client will send to the server? (b) What is the ACK number of the last ACK sent by the client to the server? (c) Assume that 1) the lost packet timer has not expired yet, and 2) no more segments will be lost from now on for this connection, what are the sequence numbers of the next four TCP segments that the server is going to send next (Hint: you might want to draw the exchange of segments between the client and the server to help you visualize the traffic flow. Review the discussion slide number 21 and 22 for flow diagrams example). Now let's assume that the client has closed the TCP connection and opened another TCP connection with the server. This time, the client and the server has the same connection parameters except for the last one where the error-control algorithm is set to SR instead of GBN. Once the connection is opened, the server sent four TCP segments, each one carries MSS bytes. Assume that the 2nd segment got lost during the transmission and never reached the client. (d) How many ACKs the client will send to the server? (e) What is the ACK number of the last ACK sent by the client to the server? (f) Assume that 1) the lost packet timer has not expired yet, and 2) no more segments will be lost from now on, what are the sequence numbers of the next four TCP segments that the server is going to send next? (Hint: SR has no Fast-Transmission feature). Question 1 - TCP Connection Flow: Assume that a server with an IP address 100.100.100.5 has a running TCP process listening for incoming TCP connections on port 5555. Then there is a client with IP address 65.155.80.8 that wants to open a TCP connection with the aforementioned server to download 1000KB file from the server. Assume that the Initial Sequence Number (ISN) for client is 100 and for the server is 500. The following events took place between the client and the server: (a) 3-way TCP handshake. (b) the server sent 100KB then the client ACKed the receiption of the 100KB. (c) the server sent 200KB then the client ACKed the receiption of the 200KB. (d) the server sent 400KB then the client ACKed the receiption of the 400KB. (e) the server sent 300KB then the client ACKed the receiption of the 300KB. (f) the client closed the TCP connection. For each event, provide the exchanged TCP segments between the client and the server. For each segment, you must show the following parameters: Source IP. Source port. Destination IP. Destination Port. Sequence number. ACK number. TCP flags Hint 1: in event (a), there are three segments. In events (b) to (e), there are two segments in each event. In event (f), there are four segments. Hint 2: in the "flags" field, you should list all of the TCP flags that are switched on for the segment. For this question, consider only the following TCP flags: SYN, FIN, ACK. Hint 3: client chooses its port randomly so any port (besides well-known ports and server port) should suffice.
Expert Answer:
Related Book For
Auditing a risk based approach to conducting a quality audit
ISBN: 978-1133939153
9th edition
Authors: Karla Johnstone, Audrey Gramling, Larry Rittenberg
Posted Date:
Students also viewed these computer network questions
-
Image transcription text Module 5 Discussion A' Instructions: This discussion will be completed in two parts, and will give you an opportunity to reect upon this week's content and to interact with...
-
Define the contextual-equivalence relation ` M =ctx M0 : for pairs of PCF terms M, M0 , PCF types , and PCF type environments . [3 marks] (ii) For PCF terms M and N with respective typings ` M : and...
-
Consider the following loan information. . Total acquisition price: $3,000,000. Property consists of twelve office suites, five on the first floor and seven on the second. Contract rents: three...
-
Haysbert Company provides management services for apartments and rental units. In general, Haysbert packages its services into two groups: basic and complete. The basic package includes advertising...
-
Write a program that accepts a number of minutes and converts it both to hours and days. For example, 6,000 minutes equals 100 hours and equals 4.167 days. Save the program as MinutesConversion.java.
-
Heritage, a general contractor, had filed a breach of contract action against an electrical subcontracting firm that had withdrawn its bid right before the contract was to be performed. A jury had...
-
A large retailer obtains merchandise under the credit terms of 1/15, net 45, but routinely takes 60 days to pay its bills. Given that the retailer is an important customer, suppliers allow the firm...
-
Consider an object falling through air, where po is the density of the object, Pair is the density of the air, m is the mass of the object, A is the effective cross-sectional area of the object, or...
-
Y1 has zero mean and covariance matrix Y2 The random vector Y = %3D 2 Cy 2 Determine the linear, minimum-mean-square-error (LMMSE) estimate YLMMSE = AX +b of Y, based on the %3D scalar measurement X...
-
Leveraging excellent engineering, German machine toolmakers are world leaders in their industry. As Chinas industrialization takes off, they are often sought after in newly built factories that make...
-
Suppose the length of time a student waits to register for courses is distributed exponentially with a mean of 1/15 min. (a) What percentage of students will register within 10 min? (b) What...
-
Explain what happens to the size of the confidence interval when (a) The standard deviation increases. (b) The standard deviation decreases. (c) The probability content (1 - ) increases from 95 % to...
-
Suppose you take an ordinary deck of 52 cards randomly select five cards without replacement. How many different combinations of sample car can you have?
-
The California Public Employees Retirement System (CalPERS) is one of the worlds largest pension funds and one of the earliest to divest stocks of firms that did not meet its ESG criteria. For...
-
Iris Floral Several years ago Iris began a floral business to have something to do in her spare time. The shop has done well and now employs several people. The trial balance at December 31, 2019 is...
-
Danielle has an insurance policy with a premium of $75 per month. In September she is in an accident and receives a bill worth $2990 for the repair of her own property. Her deductible is $250 and her...
-
Identify factors (red flags) that would be strong indicators of opportunities to commit fraud.
-
Locate and read the article listed below and answer the following questions. Blay, A. D., M. A. Geiger, and D. S. North. 2011. The auditor's going-concern opinion as a communication of risk....
-
Refer to Exhibit. Describe at least one auditing procedure for each financial statement assertion for sampling andGAS. Using Sampling to Gather Evidence Take a sample of recorded transactions...
-
Four moles of nitrogen and one mole of oxygen at \(P=1 \mathrm{~atm}\) and \(T=300 \mathrm{~K}\) are mixed together to form air at the same pressure and temperature. Calculate the entropy of mixing...
-
A mole of argon and a mole of helium are contained in vessels of equal volume. If argon is at \(300 \mathrm{~K}\), what should the temperature of helium be so that the two have the same entropy?
-
If the two gases considered in the mixing process of Section 1.5 were initially at different temperatures, say \(T_{1}\) and \(T_{2}\), what would the entropy of mixing be in that case? Would the...
Study smarter with the SolutionInn App