Lab4 Watermark
Lab4 Watermark
Lab 4
Contents
1 Analyzing throughput 2
1.1 Experiment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.2 Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
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
2
September 12, 2023
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.
Solution.
2 See fig 1.
3
September 12, 2023
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.
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?
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