0% found this document useful (0 votes)
20 views6 pages

Lab4 Watermark

The document describes experiments analyzing throughput and the UDP protocol using Wireshark. It includes the network topology diagram and screenshots from the experiments. It also provides exercises with questions about the experiments and solutions to the questions.

Uploaded by

Sun Tzu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
20 views6 pages

Lab4 Watermark

The document describes experiments analyzing throughput and the UDP protocol using Wireshark. It includes the network topology diagram and screenshots from the experiments. It also provides exercises with questions about the experiments and solutions to the questions.

Uploaded by

Sun Tzu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

IT304 Computer Networks

Lab 4

Soham Viradiya 202101472

Dhirubhai Ambani Institute of Information and


Communication Technology

September 12, 2023


September 12, 2023

Contents
1 Analyzing throughput 2
1.1 Experiment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.2 Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3

2 Analysing UDP protocol using wireshark 3


2.1 Experiment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
2.2 Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4

List of Figures
1 Network Topology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
2 Analyzing throughput . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
3 Throughput graph . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
4 Analysing UDP protocol using wireshark . . . . . . . . . . . . . . . . . . . . . 4

1
September 12, 2023

1 Analyzing throughput
1.1 Experiment

Figure 1: Network Topology

Figure 2: Analyzing throughput

2
September 12, 2023

Figure 3: Throughput graph

1.2 Exercises
Problem 1

1 Calculate and Observe moving average throughput throughput of both the ap-
plications (CBR and VIDEO).

2 Observe the delay and throughput metrics in the simulation window and write
down your observation.

3 Calculate throughput: (1) fix throughput (2) moving average throughput

Solution.

2 See fig 1.

3 fix: APP1_CBR = 6.88


APP2_CBR = 0.043
APP3_VIDEO = 5.76
APP4_VIDEO = 5.68
moving: See fig 2.

2 Analysing UDP protocol using wireshark


2.1 Experiment

3
September 12, 2023

Figure 4: Analysing UDP protocol using wireshark

2.2 Exercises
Problem 2

1 Select one UDP packet from your trace. From this packet, determine how many
fields there are in the UDP header. Name these fields.

2 By consulting the displayed information in Wireshark’s packet content field for


this packet, determine the length (in bytes) of the UDP header fields.

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.

4 What is the maximum number of bytes that can be included in a UDP payload?

5 What is the largest possible source port number?

6 What is the protocol number for UDP? Give your answer in both hexadecimal and
decimal notation. To answer this question, you’ll need to look into the Protocol
field of the IP datagram containing this UDP segment.

7 Why we have used DNS commands to capture UDP packets? Do you know any-
other method to generate UDP traffic using wireshark? Write your answer in
detail.

Solution.

4
September 12, 2023

1 Source Port, Destination Port, Length, Checksum.


2 2 bytes
3 header bytes + data bytes
4 216 − 1 − 8 = 65527
5 65535
6 17, 0x11
7 Because DNS uses UDP as its transport protocol. We can use any other application
that uses UDP as its transport protocol. For example, we can use Google QUIC services.

You might also like