Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

Lab # 8

In this lab, we will capture packets using Wireshark software from your wireless LAN.

Install wireshark from https://www.wireshark.org/download.html

Open Wireshark and choose Wireless Network Connection

You can stop capturing packets by clicking the Stop icon.

In order to filter only TCP packets, type “tcp” and press Enter. Click one of the packets. You will see the
packet’s details as below. (Remember we call “TCP packets” as ”TCP segmentsé).
1)

For any packet, click on IP and TCP header fields and fill the fields in the header files shown below with
the data from the captured packet.

What is the destination port number in TCP? Which application is that port number used for?
(https://en.wikipedia.org/wiki/List_of_TCP_and_UDP_port_numbers)

TCP header
IPv4 header

2)

Open the “tcp-ethernal-trace-1” file with Wireshark. It is prerecorded data exchange between a client
and server.

Select Analyze->Enabled Protocols, then uncheck HTTP box, so that we can only see TCP exchanges.

Then it should look like this.

What is the sequence number of the TCP SYN segment that is used to initiate the TCP connection? How
SYN segment is differentiated from other TCP segments? (SYN message is first step of connection
establishments.)
What is the length of first 6 TCP segments?
What is the advertised window size by the receiver?
3) TCP Congestion Control

Select Statistics->TCP Stream Graph-> Time-Sequence-Graph(Stevens). Wireshark will plot the


time-sequence graph for the recorded traffic. Each dot is the TCP segment sent.

Identify at which time TCP slow start begins and ends.

Explain what happens after slow start?

Can you calculate the throughout and RTT for this transmission?

You might also like