MMT Lab3b
MMT Lab3b
HỒ CHÍ MINH
TRƯỜNG ĐẠI HỌC BÁCH KHOA
KHOA HỌC VÀ KỸ THUẬT MÁY TÍNH
BÁO CÁO
MẠNG MÁY TÍNH THỰC HÀNH (CO3094)
LAB 3B
2. What is the IP address of gaia.cs.umass.edu? On what port number is it sending and receiving
TCP segments for this connection?
3. What is the IP address and TCP port number used by your client computer (source) to transfer
the file to gaia.cs.umass.edu?
Answer: My IP address was 192.9.8.101 receiving on port 80
4. What is the sequence number of the TCP SYN segment that is used to initiate the TCP
connection between the client computer and gaia.cs.umass.edu? What is it in the segment that
identifies the segment as a SYN segment?
Answer: The sequence number of the segment used to initiate the TCP connection is 0. We
can see that the message contains a SYN flag indicating that it is a SYN segment
5. What is the sequence number of the SYNACK segment sent by gaia.cs.umass.edu to the
client computer in reply to the SYN? What is the value of the Acknowledgement field in the
SYNACK segment? How did gaia.cs.umass.edu determine that value? What is it in the segment
that identifies the segment as a SYNACK segment?
Answer: The sequence number of the SYNACK segment is 0.
The value of the acknowledgement field is 1. This value is determined by the initial sequence
number +1.
The message carries flags that show it to be a SYN ACK message.
6. What is the sequence number of the TCP segment containing the HTTP POST command?
Note that in order to find the POST command, you’ll need to dig into the packet content field at
the bottom of the Wireshark window, looking for a segment with a “POST” within its DATA
field.
Answer: The sequence number of the TCP segment containing the HTTP Post Command is
151830.
7. 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 TCP
segment was sent, and when its acknowledgement was received, what is the RTT value for each
of the six segments? What is the EstimatedRTT value (see Section 3.5.3, page 242 in text) after
the receipt of each ACK? Assume that the value of the EstimatedRTT is equal to the measured
RTT for the first segment, and then is computed using the EstimatedRTT equation on page 242
for all subsequent segments.
Answer:
9. 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?
Answer: The minimum amount of available buffer space is listed as 65535. The sender is never
throttled because we never reach full capacity of the window.
10. Are there any retransmitted segments in the trace file? What did you check for (in the trace)
in order to answer this question?
Anwser: No, no segments were ever retransmitted. This is shown by the fact that an old
Acknowledgement number was never resent in order to re-request former packets.
11. How much data does the receiver typically acknowledge in an ACK? Can you identify cases
where the receiver is ACKing every other received segment (see Table 3.2 on page 250 in the
text).
Answer: The receiver is typically acking 432 bits. There are cases where the receiver acks every
other segment. This is shown when more than one ack occurs in a row.
12 . What is the throughput (bytes transferred per unit time) for the TCP connection? Explain
how you calculated this value.
Answer: The throughput can be calculated by using the value of the last ack(149,629)- the first
sequence number(1) divided by the time since first frame (1.6) = 93517.6 bps.
13. Use the Time-Sequence-Graph(Stevens) plotting tool to view the sequence number versus
time plot of segments being sent from the client to the gaia.cs.umass.edu server. Can you
identify where TCP’s slowstart phase begins and ends, and where congestion avoidance takes
over? Comment on ways in which the measured data differs from the idealized behavior of TCP
that we’ve studied in the text
Answer: The TCP slowstart phase begins at just above seq number 5000, and ends just before
sequence number 10000. Congestion avoidance takes over at 10000.