Protocols
Saved & recent

IP fragmentation

Also called: fragmentation, IP reassembly, fragment offset, DF flag

IP fragmentation divides one datagram into smaller fragments so they can cross a link’s size limit. Each fragment carries information that lets the destination reconstruct the original datagram. IPv4 routers can fragment when permitted by the packet’s flags; IPv6 routers do not, so IPv6 fragmentation is performed only by the source.

For example, an IPv4 datagram with a 20-byte header and 2,000-byte payload can become fragments carrying 1,480 and 520 payload bytes across a 1,500-byte MTU link. Each fragment has its own header. Losing one fragment prevents complete reassembly unless the missing information is recovered through another mechanism. Path MTU discovery helps senders avoid needing IP fragmentation in the first place.

Read first
Maximum transmission unit
Related
IPv4, IPv6, Path MTU discovery
Further reading
original IPv4 packet 20 B header 2,000 payload bytes IPv4 fragments 20 B 1,480 B payload 20 B 520 B payload 1,500 bytes total 540 bytes total reassembled at destination DF clear · no IPv4 options IPv6 fragmentation · source only
Illustrative IPv4 fragmentation with no header options and fragmentation allowed: the 2,000-byte payload splits into 1,480- and 520-byte pieces.

View in the full Protocols collection