IPv4: addressing and routing
The Internet Protocol puts a source and destination address on every packet so routers can move it across networks. IPv4 addresses look like 192.168.1.20.
19 IPv4 fields, explained
ip.version-
The IP version. 4 means IPv4.
ip.hdr_len-
How long the IP header is. Usually 20 bytes.
Why it matters: Longer headers mean IP options are present, which is unusual today.
ip.dsfield-
Quality-of-service markings that can ask routers to prioritize this packet.
Why it matters: Many networks ignore or reset these markings.
ip.len-
The size of this IP packet in bytes, including its header and everything it carries.
ip.id-
An identifier used to reassemble a packet if it gets split into fragments.
ip.flags-
Fragmentation flags.
Why it matters: "Don't fragment" asks routers to drop the packet rather than split it; this is used to discover the path's maximum packet size.
ip.ttl-
Time to live: how many more routers this packet may pass through before it's discarded.
Why it matters: Each router subtracts one. It stops packets from looping forever, and the starting value hints at the sender's operating system.
ip.proto-
Which transport protocol is inside: TCP (6), UDP (17), or ICMP (1).
ip.checksum-
A check value that lets routers detect a damaged header.
Why it matters: Captures taken on the sending computer often show wrong checksums because the network card fills them in later. That's normal.
ip.src-
The IP address that sent this packet.
Why it matters: Behind a home router, many devices share one public address, so this isn't always one device.
ip.dst-
The IP address this packet is going to.
ip.frag_offset-
Where this piece belongs if the packet was split into fragments. Zero means it's the first or only piece.
ip.stream-
A number Wireshark gives each pair of IP addresses talking to each other.
Why it matters: Generated by Wireshark, not part of the packet.
ip.checksum.status-
Whether Wireshark checked the header checksum.
Why it matters: Checksum validation is often off by default because network cards fill checksums in after capture.
ip.dsfield.dscp-
A priority marking that asks routers to treat this packet faster or slower.
ip.dsfield.ecn-
Explicit Congestion Notification: lets routers signal congestion without dropping packets.
ip.flags.rb-
A reserved bit that must be zero.
ip.flags.mf-
More fragments: set when more pieces of this packet follow.
ip-
An IP header. Inside an ICMP error, this is the header of the packet that caused the error, quoted back to its sender.
Why it matters: Quoting the original header lets the sender match the error to the exact packet it sent.