CNLAB-4 TCP
CNLAB-4 TCP
se22ucse100-GAYATRI K NAYAK
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? To
answer this question, it’s probably easiest to select an HTTP message and
explore the details of the TCP packet used to carry this HTTP message,
using the “details of the selected packet header window” (refer to Figure 2
in the “Getting Started with Wireshark” Lab if you’re uncertain about the
Wireshark windows).
A1. Solution: Client computer (source)
IP address: 10.70.12.213
TCP port number: 42878
10. Are there any retransmitted segments in the trace file? What did you
check for (in the trace) in order to answer this question?
A10.
There are no retransmitted segments in the trace file. We can verify this
by checking the sequence numbers of the TCP segments in the trace file.
In the Time-Sequence-Graph (Stevens) of this trace, all sequence numbers
from the source to the destination (128.119.245.12) are increasing
monotonically with respect to time. If there is a retransmitted segment, the
sequence number of this retransmitted segment should be smaller than
those of its neighboring segments.
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 257 in the text).
A11.
● Packet 73: Ack=16585
● Packet 74: Ack=17967 (Difference: 1382 bytes)
● Packet 75: Ack=19349 (Difference: 1382 bytes)
● Packet 76: Ack=22113 (Difference: 2764 bytes)
● Packet 77: Ack=23495 (Difference: 1382 bytes)
● Packet 78: Ack=24877 (Difference: 1382 bytes)
● Packet 79: Ack=26259 (Difference: 1382 bytes)
This is a clear case of the receiver ACKing every other segment instead
of each one individually.
12. What is the throughput (bytes transferred per unit time) for the TCP
connection?
Explain how you calculated this value.
A12
The first data segment is sent at 10.429340481 seconds.The last
acknowledgement is received at 11.003306719 seconds.
Time=11.003306719−10.429340481=0.573966238
From the sequence numbers in the provided segments:
Around 0.75s to 1s, you see a rapid jump, possibly indicating a fast
retransmit or a temporary window size increase before stabilizing
again.
Post 1s, the graph flattens, showing that the connection likely
reached a steady state or the maximum congestion window allowed
by the network conditions.