0% found this document useful (0 votes)
34 views

Lab 4 TCP Protocol JB

The document discusses a lab assignment analyzing the TCP protocol. It contains questions about IP addresses, port numbers, sequence numbers, flags, RTT values, buffer sizes, and typical ACK window sizes for a connection between a client and a server.

Uploaded by

irfan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
34 views

Lab 4 TCP Protocol JB

The document discusses a lab assignment analyzing the TCP protocol. It contains questions about IP addresses, port numbers, sequence numbers, flags, RTT values, buffer sizes, and typical ACK window sizes for a connection between a client and a server.

Uploaded by

irfan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

LAB 4 TCP PROTOCOL

Assignment 1
1. What is the IP address and TCP port number used by the client computer (source) that is
transferring the file to gaia.cs.umass.edu?
Source IP 192.168.0.107
Port 60857
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?
Gaia IP 128.119.245.12
Port 80
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?
Client ip 192.168.0.107
Port 60858
4. What is the IP address and TCP port number used by gaia.cs.umass.edu (destination) to
send TCP segments for this connection?
IP 128.119.245.12
Port 80

Assignment 2
5. 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? (Check the Flags)
The sequence was 0 and the flag section SYN flag is set to 1
6. What is the sequence number of the SYN/ACK 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 SYN/ACK segment? How did gaia.cs.umass.edu determine that value?
The SYN was 0, the acknowledgement field in SYN-ACK segment is determined by
Gaia server and the SYN-ACK segment is 1

7. What is the sequence number of the TCP segment containing the HTTP POST
command? Note that in order to find the POST command, you will 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.
The sequence number of the TCP segment containing HTTP post is 1.

8. You can see different TCP segments in the listing captured packets window. Select the
TCP segment containing the HTTP POST. What is RTT (the difference between when
the TCP segment was sent, and when its acknowledgement was received) value for each
TCP segments? Show the RTT graph.
9. What is the amount of available buffer space advertised at gaia.cs.umass.edu for the entire
trace? Check the Window size value in the SYN/ACK message received from the server.
The amount of the buffer size is 5840 bytes

10. How much data does the receiver typically acknowledge in an ACK? Show all ACK
messages and find the average Window size value of them.

You might also like