Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
ASSIGMENT No. 5
Computer Networking
Source Port.
Destination Port.
Length.
Checksum.
Page | 2
From the packet content field (click on any header and observe the display at
the bottom of the Wireshark window), determine the length (in bytes) of each
of the UDP header fields.
Source Port:
2 Bytes
Destination Port:
2 Bytes
Length:
2 Bytes
Checksum:
2 Bytes
Page | 3
The value in the Length field is the length of what? Verify your claim using the
selected packet. (You can add a screenshot of your capture file and count
number of bytes)?
Length Field:
41 Bytes
Source Port + Destination Port + Length + Checksum
2
+
2
+ 2
+ 2
8 Bytes
Application Layer:
Domain Name System DNS (Query) 33 Bytes
Length Field = 33 + 8
41 Bytes
Page | 4
What is the largest possible source port number? (Hint: you can use the length
of port number header field to determine the value)
Largest Source Port No:
Header Field:
| Source port
|
16 Bits
|
|
Destination Port |
16 Bits
bits
Largest Source Port No = 2
216 - 1 = 65535
Examine the segment number 16 and 19. Describe the relationship between the
port numbers in the two packets. Briefly describe the contents of these two
segments?
Relationship:
As it is shown that, Segment No 16 is Query which is linked with
DNS through Query Message.
Page | 5
Page | 6
Page | 7
Page | 8
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 it in the segment that identifies the segment as a SYN segment?
Sequence Number:
Sequence number of the TCP SYN segment that is used to initiate
the TCP connection between the client computer and gaia.cs.umass.edu is
Sequence No: 232129012
Page | 9
P a g e | 10
P a g e | 11
What is the sequence number of the TCP segment containing the HTTP POST
command?
Sequence No: 232293053