Sunteți pe pagina 1din 3

ADVANCED NETWORKING TECHNOLOGIES

SOLUTIONS FOR ASSIGNMENT No:2

1. What is the IP address and TCP port number used by the client computer
(source and destination) that is transferring the file.

Sol:
Client Computer IP Address : 192.168.43.44, TCP Port No: 49194
Destination Computer : 128.119.245.12, TCP Port No: 80

2. What is the sequence number of the TCP SYN segment that is used to initiate
the TCP connection between the client computer and server? What is it in the
segment that identifies the segment as a SYN segment?

Sol: The sequence number is 0. A SYN is used to indicate the start a TCP session.

3. 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 server
determine that value? What is it in the segment that identifies the segment as a
SYNACK segment?

Sol:
The sequence number is 0. The value of the Acknowledgement field in the
SYNACK segment is 1. This value is determined by the server by adding one to
the initial sequence number of SYN segment from the client.

4. 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.

Sol: The sequence number of the TCP segment containing the HTTP post is
151869
5. 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 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 for all
subsequent segments.

Sol:

Segment
No. Sent Time ACK received time RTT in seconds
1 0.000543 0.720193 0.71965
2 0.002468 0.720195 0.717727
3 0.253071 0.720634 0.467563
4 0.720309 1.058056 0.337747
5 0.720422 1.063146 0.342724
6 0.720682 1.496951 0.776269

Estimated RTT after A B C D AxB+CxD


ACK 1 0.71965
ACK 2 0.875 0.71965 0.125 0.717727 0.719409625
0.7194096
ACK 3 0.875 3 0.125 0.467563 0.687928797
ACK 4 0.875 0.6879288 0.125 0.337747 0.644156072
0.6441560
ACK 5 0.875 7 0.125 0.342724 0.606477063
0.6064770
ACK 6 0.875 6 0.125 0.776269 0.627701055

(For ACK 1, first measured RTT is taken as


Estimated RTT)

6. What is the length of each of the first six TCP segments?


Sol: Length of each of first six TCP segments are : 66,66,66,54,66,54 respectively
7. 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?

Sol: The minimum amount of available buffer space is 8192.

8. Are there any retransmitted segments in the trace file? What did you check for
(in the trace) in order to answer this question?

Sol:
No retransmitted segments found in the trace. It is clear that all the sequence
numbers of packet sent from source to destination are in increasing order. If there
is a retransmitted segment, the sequence number of this retransmitted segment will
be smaller than those of its neighboring segments.

9. What is the throughput (bytes transferred per unit time) for the TCP connection?
Explain how you calculated this value and plot the throughput vs. number of TCP
flows.

Submitted By:
Abdul vahab karuthedath
Roll No:2, MTech CSE , S1

S-ar putea să vă placă și