Answers for 9.2.4.3 Lab - Using Wireshark to Examine TCP and UDP Captures
These are the answers to the questions in the lab, with the question each one answers. Work the lab first: the point of it is the capture you take yourself, and the numbers below came from somebody else’s network and will not match yours.
Source IP address
192.168.1.146*
Destination IP address
198.246.117.106
Source port number
54712*
Destination port number
21
Sequence number
0 (relative)
Acknowledgement number
Not applicable for this capture
Header length
32 bytes
Window size
8192
Asked in this lab
*Student answers will vary.
Source IP address
198.246.117.106
Destination IP address
192.168.1.146*
Source port number
21
Destination port number
54712*
Sequence number
0 (relative)
Acknowledgment number
1 (relative)
Header length
32 bytes
Window size
8192
Asked in this lab
*Student answers will vary
Source IP address
192.168.1.146*
Destination IP address
198.246.117.106
Source port number
54712*
Destination port number
21
Sequence number
1 (relative)
Acknowledgement number
1 (relative)
Header length
20
Window size
8192
Asked in this lab
*Student answers will vary.
How many other TCP datagrams contained a SYN bit?
One. The first packet sent by the host at the beginning of a TCP session
Source IP address
192.168.1.1
Destination IP address
192.168.1.3
Source port number
54009*
Destination port number
69
UDP message length
25 bytes*
UDP checksum
0x6964 [correct]*
Asked in this lab
*Student answers will vary.
How does UDP verify datagram integrity?
A checksum is sent in the UDP datagram, and the datagram checksum value is recomputed upon receipt. If the computed checksum is identical to the sent checksum, then the UDP datagram is assumed to be complete. Examine the first frame returned from the tftpd server. Fill in the information about the UDP header:
Source IP address
192.168.1.3
Destination IP address
192.168.1.1
Source port number
65001*
Destination port number
54009*
UDP message length
12 bytes*
UDP checksum
Checksum: 0x8372, incorrect, should be 0xab99 (maybe caused by "UDP checksum offload"?)*
Asked in this lab
*Student answers will vary.
This lab provided the opportunity to analyze TCP and UDP protocol operations from captured FTP and TFTP sessions. How does TCP manage communication differently
TCP manages communication much differently than UDP does because reliability and guaranteed delivery require additional control over the communication channel. UDP has less overhead and control, and the upper- layer protocol must provide some type of acknowledgment control. Both protocols, however, transport data between clients and servers using application layer protocols and are appropriate for the upper-layer protocol each supports
Notes for whoever is teaching it
Instructor Note: This is a change from previous versions of this lab because the technology has changed. Search for “checksum offloading in Wireshark”.
Instructor Note: If students point out UDP acknowledgments, explain that the UDP header does not contain an acknowledgment field. It is the responsibility of the upper-layer protocol, in this case TFTP, to manage data transfer and receipt information. This will be shown during the UDP datagram examination.