WCNA practice question 4 of 35

Which display filter is used to display all DHCP traffic?

Full set: 100 questions
Answer options
A: dhcp
B: bootp Correct answer
C: tcp.port==68
D: udp.dst.port==67
Correct Answer:
B. bootp
Explanation

The correct display filter to view all DHCP traffic in Wireshark is bootp. DHCP (Dynamic Host Configuration Protocol) is an extension of the older BOOTP (Bootstrap Protocol). Because of this lineage, the Wireshark dissector responsible for parsing both protocols is named "bootp". Using this filter will correctly display all DHCP message types, such as Discover, Offer, Request, and ACK, regardless of their source or destination ports. It is the most comprehensive and accurate filter for all DHCP-related traffic.

Why Incorrect

A. The filter dhcp is not a valid display filter in Wireshark for the DHCP protocol; the correct protocol filter name is bootp.
C. DHCP uses the UDP protocol, not TCP. Also, port 68 is the client port, so this filter is incorrect on multiple levels.
D. This filter only shows traffic sent to the DHCP server's port (67), missing the responses from the server sent to the client's port (68).

References

1. Wireshark Development Team. (n.d.). Display Filter Reference: Bootstrap Protocol. Wireshark.org. Retrieved from https://www.wireshark.org/docs/dfref/b/bootp.html (This official reference page lists bootp as the filter for the Bootstrap Protocol, which includes DHCP).

2. Chappell, L., & Combs, G. (2018). Wireshark Network Analysis: The Official Wireshark Certified Network Analyst (WCNA) Study Guide (2nd ed.). Chappell University. (Chapter 20: "Analyze DHCP Traffic," Section: "DHCP Display Filters").

3. Droms, R. (1997). RFC 2131: Dynamic Host Configuration Protocol. IETF. (Section 1: "Introduction," which describes DHCP's relationship to BOOTP).

Scroll to Top