Lab Manual 7
Lab Manual 7
Laboratory Manuals
for
Computer Networks
(CL -307)
Course Instructor
Lab Instructor(s)
Section
Semester
Page 1 of 5
Lab Manual 07
Objective:
Observing the structure and working of TCP, UDP and ICMP Protocols in Wireshark.
Step 3: Now filter out all TCP packets by typing “tcp” (without quotes) in the filter field
towards the top of the Wireshark window. You should see a series of TCP and HTTP
messages between the host in MIT and gaia.cs.umass.edu. The first three packets of the
trace consist of the initial three-way handshake containing the SYN, SYN ACK and ACK
messages. You should see a series of “TCP Segment of Reassembled PDU” messages
being sent from the host in MIT to gaia.cs.umass.edu. Recall from the previous lab that
there is no such thing as an HTTP Continuation message – this is Wireshark’s way of
indicating that there are multiple segments being used to carry a single HTTP message.
You should also see TCP ACK segments being returned from gaia.cs.umass.edu to the
host in MIT.
Question 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?
Question 3: 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
in the segment that identifies the segment as a SYN segment?
Page 2 of 5
*Question 5: In packet 9, Ack = 2026 and Seq = 1. Explain these values?
*Question 6: In packet 16, Ack = 7866 and Seq = 1. Explain these values?
Step 3: Now filter out all non-UDP packets by typing “udp” (without quotes) in the filter
field towards the top of the Wireshark window
Step 4: Analyze the UDP Packets and answer the following questions
Question 1: Select the first DNS packet in the trace. Determine, how many fields there
are in the UDP header
Question 2: From the packet content field (click on any header and observe the display
in the Packet Bytes Window), determine the length (in bytes) of each of the UDP header
fields.
Question 3: The value in the Length field is the length of what? Verify your claim using
the selected packet.
Step 3: Now filter out all non-ICMP packets by typing “icmp” (without quotes) in the
filter field towards the top of the Wireshark window
Step 4: Analyze the ICMP Packets and answer the following questions
Page 3 of 5
1- Are ICMP messages sent over UDP or TCP?
Page 4 of 5
Page 5 of 5