Networks Lab2
Networks Lab2
Q3)
Sequence number: 0
We identify it as SYN statement since it is the first connection message initiated between my
computer 172.29.15.19 to the server 128.119.245.12 and recognised as [SYN] with seq=0.
Q4)
Sequence number: 0
Acknowledgment number: 1
The server sets the acknowledgment number to the client's initial sequence number plus one,
indicating it successfully received the client's SYN request. The acknowledgment number
indicates the next expected sequence number from the client, which confirms that the client's
initial sequence number has been received.
MSS=1380 as specified in the MSS field of the [SYN, ACK ] statement.
Q5)
First 6 packets of the HTTP POST request transmitted:
Cumulative ACK received upto sequence length 13173 received next. In TCP, the
acknowledgment (ACK) mechanism is cumulative. This means that each ACK number signifies
that all bytes up to that number have been successfully received.
ACKs Received:
RTT Calculations
EstimatedRTT = (1−0.125)×0.250872+0.125×0.250872
EstimatedRTT = 0.250872s
EstimatedRTT = (1−0.125)×0.250872+0.125×0.248848
EstimatedRTT = 0.220653+0.031106≈0.251759s
EstimatedRTT = (1−0.125)×0.251759+0.125×0.248634
EstimatedRTT = 0.220988+0.031079≈0.252067s
EstimatedRTT = (1−0.125)×0.252067+0.125×0.248629
EstimatedRTT = 0.220685+0.031078≈0.252062s
EstimatedRTT = (1−0.125)×0.252062+0.125×0.248626
EstimatedRTT = 0.220217+0.031078≈0.251295s
EstimatedRTT = (1−0.125)×0.251295+0.125×0.248623
EstimatedRTT = 0.220168+0.031078≈0.251246s
Graph as plotted by WireShark
We see in the threeway handshake segments that agreed window scale is 7, i.e 2^7 so we
multiply the window size value by 128 to get Calculated Window size.
To determine the minimum and maximum sizes of the available receiver buffer space advertised
by the server in the provided trace, we need to look for the TCP window size values in the SYN,
SYN-ACK, and ACK packets.
The highest value observed is 183296 which is maximum advertised buffer space and
minimum is 29200 in the [SYN, ACK] statement.
These values can fluctuate based on network conditions, but these are the sizes noted in the
trace produced right now.
Q8) No, there are no retransmitted segments in this particular trace between my computer
172.29.15.19 and 128.119.245.12
However, for the two hosts we’re concerned about, my computer and gaia.cs.umass.edu, no
packet contains explicit mention of TCP Retransmission.
Then, I checked for same sequence numbers. I looked at the sequence numbers associated
with each packet. If a packet with the same sequence number is sent again without receiving an
acknowledgment for the original segment, it is considered a retransmission No such packets
were found.
Thirdly, i checked for similar ACKs. All ACK numbers are different and follow the expected
sequence, it reinforces that packets are being acknowledged correctly without the need for
retransmission.
Q9)
Ack 1:
Ack 2:
Ack 3:
Ack 4:
Ack 5:
Ack 6:
ACK 1: Acknowledges 615 bytes (this includes the first 615 bytes).
Total Acknowledged Data = 615 (from ACK 1) + 137 + 12420 + 2750 + 11040 + 2740
Q10)