What if the packet will not fit?
04Fit a long note through a smaller link by cutting its data into numbered ranges.
The packet has a 20-byte IP header and 112 carried bytes. The next link sets a size limit on the whole IP packet, not just the note.
112 data bytes need room for a header too
20 + 112 = 132 IP bytes
Each numbered tile represents eight bytes, not one.
What happens if you change this?
Make one change, then watch again. Restart restores the original example.
With DF set, reject the oversized datagram instead.
Key idea: Split the carried data only when allowed, add a header to every piece, and write where each piece belongs.
Terms
- IPv4
- Internet Protocol version 4: carries individually addressed packets between networks.
- Header
- The information at the start used to handle the carried data.
- Router
- A computer that chooses the next link for packets travelling between networks.
- MTU
- The largest whole IP packet that fits on the link being discussed.
- Fragment
- One smaller piece of a split IP packet, with its own header.
Rules & examples
Each allowed fragment needs its own header and a place in the original data.
These reference examples may differ from the selected experiment.
- DF forbids fragmentation; MF identifies a fragment with more fragments after it.
- Fragment Offset uses eight-octet units, and Identification helps associate the pieces.
The drawing is a simplified worked example. Follow the linked RFC and its updates for implementation requirements.
RFC 791 §§2.3,3.1–3.2: fragment offset is in 8-octet units, non-final fragment data is an 8-octet multiple, Total Length is per fragment, DF blocks fragmentation and MF marks more fragments. These are legal chosen MTUs≥68 and 20-byte headers without options; real option-copy rules may give fragments different IHL. This model chooses maximum aligned chunks; it is not the only valid split. The fragment set shares source,destination,protocol and Identification0x1234. RFC 6864 limits ID meaning to fragmentation/reassembly and retains uniqueness within that tuple for non-atomic datagrams, not a universal global serial number. IPv6 routers do not perform this IPv4 operation.
Sources
New to this? Start hereA quick picture + helpful background
A message needs an address.
Think of a packet as a small addressed envelope. Devices pass it onward; transport protocols decide what delivery promises an application gets.
Start with this guide; no earlier guide is needed for the overview.
These pictures are analogies to help you learn. The linked RFC explains the actual rules.
Related RFCs and changes
“Updates” changes part of an earlier RFC. “Obsoletes” replaces it. This list shows selected related documents.
IPv6 routers do not fragment packets; only the source performs IPv6 fragmentation. These are different IP versions.
Read the updated RFC section ↗