Skip to document

Week 5 Lab - Week 5 Lab

Week 5 Lab
Course

Networking Fundamentals (41092)

238 Documents
Students shared 238 documents in this course
Academic year: 2023/2024
Uploaded by:
Anonymous Student
This document has been uploaded by a student, just like you, who decided to remain anonymous.
University of Technology Sydney

Comments

Please sign in or register to post comments.

Preview text

Week 5 Lab

  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.

 Source Port  Destination Port  Length  Checksum

  1. By consulting the displayed information in Wireshark’s packet content field for this packet, determine the length (in bytes) of each of the UDP header fields.

Each Header is 2 bytes

  1. 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.

There are 58 bytes as shown in the screenshot. This includes the UPD header of 8 bytes. 58 – 8 = 50 bytes, thus the UPD packet minus the header is 50 bytes

  1. What is the maximum number of bytes that can be included in a UDP payload? (Hint: the answer to this question can be determined by your answer to 2. above)

2^16 – 1 = 65535 Bytes.

65535 – 8 (header) = 65527 Bytes

  1. What is the largest possible source port number? (Hint: see the hint in 4.)

65535

  1. 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

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.

Source port of the first packet is the destination port of the second packet & destination port of the first packet is the source port of the second packet.

Was this document helpful?

Week 5 Lab - Week 5 Lab

Course: Networking Fundamentals (41092)

238 Documents
Students shared 238 documents in this course
Was this document helpful?
Week 5 Lab
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.
Source Port
Destination Port
Length
Checksum
2. By consulting the displayed information in Wireshark’s packet content field for this packet,
determine the length (in bytes) of each of the UDP header fields.
Each Header is 2 bytes