What if the pieces arrive out of order?
05Fill a numbered tray at the receiver, then lose or mislabel a piece.
Each tile stands for eight original data bytes. The number is a drawing label for its position, not an extra field sent on the wire.
Arrival order can differ from byte order
- Bytes 96–111ID 1234 · last range
- Bytes 0–47ID 1234 · more follow
- Bytes 48–95ID 1234 · more follow
Destination matches the collection before filling slots
What happens if you change this?
Make one change, then watch again. Restart restores the original example.
Deliver only after the complete data range has arrived.
Key idea: Arrival order does not matter when all the right ranges arrive. One missing range still prevents the whole packet from being reassembled.
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
A final piece does not fill earlier holes; only complete data can leave.
These reference examples may differ from the selected experiment.
- Reassembly depends on identification, addresses, protocol, offsets, and the final-fragment information.
- Missing fragments can cause the incomplete reassembly to time out.
The drawing is a simplified worked example. Follow the linked RFC and its updates for implementation requirements.
RFC 791 §3.2: destination reassembly groups by source,destination,protocol,Identification, uses offset ranges, first-fragment header and final-fragment length, and needs complete coverage. Verified erratum 6356 clarifies that reassembled Total Length uses the FIRST fragment’s IHL. These fixtures have no overlaps and all headers 20 bytes; no universal IPv4 overlap policy is invented. The chosen deadline is shown abstractly, not a universal 15-second timer. RFC 1122 §3.3.2 gives later host guidance. Timeout discards this incomplete state; IP makes no automatic retransmission. ID is not authentication; RFC 6864 updates its scope.
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.