Beruflich Dokumente
Kultur Dokumente
I
P
Sequence Number : 0
Because of the SYN flag is set to 1 .
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?
Acknowledged Acknowledged
Sequence Number Data
ACK 1 566 565
ACK 2 2026 1460
ACK 3 3486 1460
ACK 4 4946 1460
ACK 5 6406 1460
ACK 6 7866 1460
The difference between the acknowledged sequence
numbers of two consecutive ACKs indicates the data
received by the server between these two ACKs. By
inspecting the amount of acknowledged data by each
ACK, there are cases where the receiver is ACKing every
other segment. ACK No 79 – ACK No 78 = 55813-52893
= 2920 equal to the total acknowledge data of No 74 and
N0 75 , so ACK No 79 is ACKing other segment
14) Answer each of two questions above for the trace that
you have gathered when you transferred a file from your
computer to gaia.cs.umass.edu?
TCP Slow Start begins at the start of the connection, when the
HTTP POST segment is sent out. The identification of the
TCP slow start phase and congestion avoidance phase depends
on the value of the congestion window size of this TCP
sender. However, the value of the congestion window size
cannot be obtained directly from the Time-Sequence-Graph
(Stevens) graph
LAB 3 : UDP
1. Select one UDP packet from your trace. From this packet,
determine how many fields there are in the UDP header. (You
shouldn’t look in the textbook! Answer these questions directly
from what you observe in the packet trace.) Name these fields.
There are 4 fields in UDP header: Source port, Destination
port, length, checksum.
3. The value in the Length field is the length of what? (You can
consult the text for this answer). Verify your claim with your
captured UDP packet.
Each header has 2 bytes, so with 4 header we have 8 bytes.
4. What is the maximum number of bytes that can be included in a
UDP payload?
The maximum number of bytes that can be included in a
UDP payload is (2^16 – 1) bytes plus the header bytes. This
gives 65535 bytes – 8 bytes = 65527 bytes.
5. What is the largest possible source port number? (Hint: see the hint
in 4.)
The largest possible source port number is: 2^16 – 1 =
65535.
6. What is the protocol number for UDP? Give your answer in both
hexadecimal and decimal notation.
The protocol decimal for UDP is 17 and hexadecimal
notation is 0x11
7. Examine a pair of UDP packets in which your host sends the first
UDP packet and the second UDP packet is a reply to this first UDP
packet. (Hint: for a second packet to be sent in response to a first
packet, the sender of the first packet should be the destination of
the second packet). Describe the relationship between the port
numbers in the two packets.