Answers for 9.2.3.5 Lab - Using Wireshark to Examine a UDP DNS Capture
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.
IP address
Answers will vary. 192.168.1.146
MAC address
Answers will vary. 00:24:D7:1C:50:44
Default gateway IP address
Answers will vary. 192.168.1.1
DNS server IP address
Answers will vary. 192.168.1.1
b. The Ethernet II line displays the source and destination MAC addresses. The source MAC address is from your local PC because your local PC originated the DNS
The answer should be yes. If not, please verify that Wireshark is using the same interface for capturing the packets
Local PC
Answers will vary. 192.168.1.146
Local PC
Answers will vary. 00:24:D7:1C:50:44
Default Gateway
Answers will vary. 192.168.1.1
Default Gateway
Answers will vary. 14:91:82:9F:6B:8C
Is the source IP address the same as the local PC IP address you recorded in Part 1?
Yes
Is the destination IP address the same as the default gateway noted in Part 1?
Yes, if the default gateway is also performing DNS
b. In the Ethernet II frame for the DNS response, what device is the source MAC address and what device is the destination MAC address?
The source MAC address is the default gateway and the destination MAC address is the local host
Destination IP address: Source IP address:
The answer will vary. In this example, the destination is 192.168.1.146 and the source is 192.168.1.1
What happened to the roles of source and destination for the local host and default gateway?
The local host and the default gateway have reversed their roles in DNS query and response packets
What are the benefits of using UDP instead of TCP as a transport protocol for DNS?
UDP as a transport protocol provides quick session establishment, quick response, minimal overhead, no need for retries, segment reassembly, and acknowledgment of received packets
Notes for whoever is teaching it
Instructor Note: Red font color or gray highlights indicate text that appears in the instructor copy only.
Instructor Note: Using a packet sniffer, such as Wireshark, may be considered a breach of the security policy of the school. It is recommended that permission be obtained before running Wireshark for this lab. If using a packet sniffer is an issue, the instructor may wish to assign the lab as homework or perform a walkthrough demonstration.