A Comprehensive Guide to IPv4 Wireshark Filters

IP wireshark filters techhyme

Wireshark is a powerful and widely used network protocol analyzer that allows users to inspect and analyze network traffic in real-time. One of the key features of Wireshark is its ability to apply filters to the captured data, enabling users to focus on specific packets and extract valuable information. Among the myriad of available filters, IPv4 filters play a crucial role in dissecting and understanding IPv4 network traffic.

In this article, we will explore various IPv4 Wireshark filters and their significance in network analysis.

Understanding IPv4

IPv4, short for Internet Protocol version 4, is the fourth iteration of the Internet Protocol (IP) and the most widely used protocol for routing data across the Internet. IPv4 addresses consist of 32 bits, typically represented in decimal format as four sets of numbers separated by dots (e.g., As IPv4 addresses are finite, the world has been transitioning to IPv6 to overcome the exhaustion of available IPv4 addresses.

IPv4 Wireshark Filters

1. ip.addr
Filter by IPv4 address. You can use this filter to focus on traffic originating from or destined for a specific IP address.

2. ip.checksum_bad and ip.checksum_good
Filter by packets with bad or good IP header checksums. A bad checksum may indicate data corruption during transmission.

3. ip.dsfield
Filter by the Differentiated Services Field (DSField) in the IPv4 header, which is used for Quality of Service (QoS) markings.

4. ip.dsfield.dscp
Filter by the Differentiated Services Code Point (DSCP) value, representing the priority of the packet.

5. ip.dsfield.ce
Filter by the Congestion Experienced (CE) bit, used to indicate network congestion.

6. ip.dsfield.ect
Filter by the Explicit Congestion Notification (ECT) bits, also used for congestion management.

7. ip.flags
Filter by the flags in the IPv4 header, such as the “Don’t Fragment” (DF) and “More Fragments” (MF) flags.

8. ip.flags.df and ip.flags.mf
Filter by the “Don’t Fragment” and “More Fragments” flags individually.

9. ip.flags.rb
Filter by the Reserved Bit in the IPv4 header.

10. ip.fragment
Filter to detect fragmented IP packets.

11. ip.fragment.error and ip.fragment.overlap
Filter to identify packets with fragmentation errors or overlapping fragments.

12. ip.fragment.multipletails
Filter to detect packets with multiple tails (i.e., packets with fragments arriving out of order).

13. ip.fragment.toolongfragment
Filter by fragments exceeding the Maximum Transmission Unit (MTU) size.

14. ip.hdr_len
Filter by the IPv4 header length in bytes.

15. ip.id
Filter by the Identification field in the IPv4 header, used for reassembling fragmented packets.

16. ip.len
Filter by the total length of the IPv4 packet.

17. ip.proto
Filter by the transport layer protocol (e.g., TCP, UDP) specified in the IPv4 header.

18. ip.reassembled_in
Filter by the number of packets a fragmented packet has been reassembled into.

19. ip.src and ip.dst
Filter by the source and destination IP addresses, respectively.

20. ip.src_host and ip.dst_host
Filter by the source and destination IP addresses, but using hostnames instead of IP addresses.

21. ip.tos
Filter by the Type of Service (ToS) value in the IPv4 header, specifying QoS requirements.

22. ip.tos.cost, ip.tos.delay, ip.tos.throughput, ip.tos.reliability, ip.tos.precedence
Filter by individual bits in the ToS field, representing different QoS parameters.

23. ip.ttl
Filter by the Time-to-Live (TTL) field in the IPv4 header, representing the number of hops a packet can traverse before being discarded.

24. ip.version
Filter by the version of IP used in the packet, typically IPv4 (4) or IPv6 (6).


IPv4 Wireshark filters are indispensable tools for network analysts to dissect and comprehend IPv4 network traffic. By applying these filters, analysts can isolate and study specific packets, revealing valuable insights into network behavior, performance issues, and security threats.

Understanding these filters empowers network professionals to make informed decisions, optimize network performance, and ensure a secure and reliable network infrastructure.

You may also like:

Related Posts

Leave a Reply