IPv4 Example

Minimum Header

Study the smallest possible IPv4 header with no payload. See a 20-byte header only, demonstrating the minimum structure required for any IPv4 packet.

Hex Data

45 00 00 14 00 01 00 00 40 01 AB CD C0 A8 01 02 C0 A8 01 01
Note: Total length only 20 bytes (header only, no payload)
Load in Visualizer
minimum

Field Breakdown

Version
IP version (always 4 for IPv4)
69
IHL
Internet Header Length in 32-bit words (minimum 5)
69
DSCP
Differentiated Services Code Point (QoS)
0b000000
ECN
Explicit Congestion Notification
0b00
Total Length
Total length of IP packet in bytes (header + data)
20
Identification
Unique identifier for fragmentation reassembly
0x0001
Flags
Control flags (Reserved, DF, MF)
0b000
Fragment Offset
Position of fragment in original datagram (in 8-byte blocks)
0
TTL
Time To Live (hop limit)
64
Protocol
Protocol used in data portion
1
ICMP
Header Checksum
Checksum of IP header only
0xABCD
Source IP
Source IP address
0x-3F57FEFE
Destination IP
Destination IP address
0x-3F57FEFF

About IPv4

Internet Protocol version 4 (RFC 791)

Fields: 13
Endianness: big
Specification: RFC 791