Statement Purpose:: CCSXXX Lab Manual
Statement Purpose:: CCSXXX Lab Manual
Statement Purpose:
Investigate the behavior of the celebrated TCP protocol in detail
Analyze a trace of the TCP segments sent and received in transferring a 150KB file from your
computer to a remote server.
transfer
slow start and congestion avoidance in action;
-advertised flow control mechanism.
Study TCP connection setup and investigate the performance (throughput and round-trip
mputer and the server.
Activity outcomes:
Instructor Note:
observations on them.
1) StageJ(Journey)
Introduction
Capturing a bulk TCP transfer from your computer to a remote server Before beginning our
Lab Activities:
Activity 1:
1. Examples
Do the following:
What you should see is series of TCP and HTTP messages between your computer and
gaia.cs.umass.edu. You should see the initial three-way handshake containing a SYN message. You
should see an HTTP POST message. Depending on the version of Wireshark you are using, you might
Recall from our discussion in the earlier HTTP Wireshark lab, that is no such thing as an HTTP
Continuation message CP segments
8
Download the zip file http://gaia.cs.umass.edu/wireshark-labs/wireshark-traces.zip and extract the file tcp-
ethereal-trace-1. The traces in this zip f
computers, while performing the steps indicated in the Wireshark lab. Once you have downloaded the trace, you
can load it into Wireshark and view the trace using the File pull down menu, choosing Open, and then selecting
the tcp-ethereal-trace-1 trace file.
1. What is the IP address and TCP port number used by the client computer (source) that is
ly easiest to
select an HTTP message and explore the details of the TCP packet used to carry this HTTP
window so that it shows information about the TCP segments containing the HTTP messages, rather
than about the HTTP messages. To have Wireshark do this, select Analyze->Enabled Protocols. Then
uncheck the HTTP box and select OK. You should now see a Wireshark window that looks like:
found the answer and add some text (preferably with a colored pen) noting what y
highlight. If you hand in an electronic copy, it would be great if you could also highlight and annotate.
DATA field.
4. Consider the TCP segment containing the HTTP POST as the first segment in the TCP
connection. What are the sequence numbers of the first six segments in the TCP connection
(including the segment containing the HTTP POST)? At what time was each segment sent?
When was the ACK for each segment received? Given the difference between when each
window that is being sent from the client to the gaia.cs.umass.edu server. Then
select: Statistics->TCP Stream Graph->Round Trip Time Graph.
5. What is the length of each of the first six TCP segments?10
6. What is the minimum amount of available buffer space advertised at the received for the
entire trace? Does the lack of receiver buffer space ever throttle the sender?
7. Are there any retransmitted segments in the trace file? What did you check for (in the trace)
in order to answer this question?
8. What is the throughput (bytes transferred per unit time) for the TCP connection? Explain
how you calculated this value.