Packet offset reassembly
Place out-of-order fragments by offsets and identify missing payload.
Adult planning suggestion: about 9–12 · Logic & rule checking
- Players
- 2–3 per group
- Time
- 15–25 minutes
- Materials
- Three fragment cards, 20 byte boxes and metadata labels.
Prepare
Use fictional fragments for one datagram identity 7. Card R: offset 2, MF=0, payload QRST; card P: offset 0, MF=1, ABCDEFGH; card Q: offset 1, MF=1, IJKLMNOP. Each printed Latin letter represents one byte. Offset fields are in eight-byte units, not individual letters.
Follow the rule
Place a fragment's first byte at 8×offset, using byte positions starting at 0. MF=0 marks the final fragment, so its start plus its length establishes the expected payload length. Arrival order does not decide position. Do not join a card with a different datagram identity.
Check each step
R belongs at bytes 16–19 and implies total length 20, even if it arrives first. P fills 0–7 and Q fills 8–15. The completed payload reads ABCDEFGHIJKLMNOPQRST. Showing only the final fragment does not fill the missing earlier bytes.
Worked example
Remove Q and identify bytes 8–15 as missing; do not close the gap by sliding QRST left. In this simplified classroom policy, conflicting overlaps are flagged for host review instead of silently choosing one version. It is not a claim to implement all real IP reassembly cases.
Finish and adapt
Use ten trios as receiver, placer and metadata checker. Finish after every expected byte is covered consistently and the identities match. Cards use invented non-personal content. No network traffic is captured, and the activity does not ask learners to inspect actual packets or credentials.
Purpose, observation and provenance
Within this activity: Place out-of-order fragments by offsets and identify missing payload.
Ask why an offset of 2 starts at byte 16 rather than byte 2.
Our rules, examples and printable diagrams are separately prepared. The earliest inventor of the broader mechanism is not established here.
IETF RFC 791 — Internet Protocol — Fragment offsets in units of eight octets are technical background; this paper kit omits actual headers, routing and security behavior.
Secondary practice: Cooperation and explaining a check.
For a class of 30, use ten groups of three. Prepare one player-material set per group and keep the host key with the adult. Rotate operator, recorder and checker after each worked example; a reader or scribe may help without choosing answers. Avoid public ranking or diagnostic labels.
Age bands are planning suggestions. Background references may address older learners and do not validate suitability for this age band. Goals describe observable actions, not measured long-term gains or institutional endorsement.
Free alternative: Copy the supplied grids, labels and cards onto reused paper. No specialist product is needed. Adults may prepare pieces or act as a scribe.
Printable materials
Preview at 100% scale, with browser headers and footers off. Cut with suitable help. Keep host keys separate. This is a manual tabletop kit, not an online opponent, automatic judge or solver.
Packet offset reassembly · Player materials
Before you start
Use fictional fragments for one datagram identity 7. Card R: offset 2, MF=0, payload QRST; card P: offset 0, MF=1, ABCDEFGH; card Q: offset 1, MF=1, IJKLMNOP. Each printed Latin letter represents one byte. Offset fields are in eight-byte units, not individual letters.
Place a fragment's first byte at 8×offset, using byte positions starting at 0. MF=0 marks the final fragment, so its start plus its length establishes the expected payload length. Arrival order does not decide position. Do not join a card with a different datagram identity.
| Card | ID | Offset | MF | Payload |
|---|---|---|---|---|
| R | 7 | 2 | 0 | QRST |
| P | 7 | 0 | 1 | ABCDEFGH |
| Q | 7 | 1 | 1 | IJKLMNOP |
| Byte positions | Write payload |
|---|---|
| 0–7 | _ _ _ _ _ _ _ _ |
| 8–15 | _ _ _ _ _ _ _ _ |
| 16–19 | _ _ _ _ |
| Missing / conflict | Evidence |
|---|---|
| ________ | ________ |
| ________ | ________ |
| ________ | ________ |
Packet offset reassembly · Host key — keep separate
P at 0–7, Q at 8–15, R at 16–19; total 20. Missing Q leaves exactly positions 8–15.
Run and audit
Use fictional fragments for one datagram identity 7. Card R: offset 2, MF=0, payload QRST; card P: offset 0, MF=1, ABCDEFGH; card Q: offset 1, MF=1, IJKLMNOP. Each printed Latin letter represents one byte. Offset fields are in eight-byte units, not individual letters.
Place a fragment's first byte at 8×offset, using byte positions starting at 0. MF=0 marks the final fragment, so its start plus its length establishes the expected payload length. Arrival order does not decide position. Do not join a card with a different datagram identity.
R belongs at bytes 16–19 and implies total length 20, even if it arrives first. P fills 0–7 and Q fills 8–15. The completed payload reads ABCDEFGHIJKLMNOPQRST. Showing only the final fragment does not fill the missing earlier bytes.
Remove Q and identify bytes 8–15 as missing; do not close the gap by sliding QRST left. In this simplified classroom policy, conflicting overlaps are flagged for host review instead of silently choosing one version. It is not a claim to implement all real IP reassembly cases.
Use ten trios as receiver, placer and metadata checker. Finish after every expected byte is covered consistently and the identities match. Cards use invented non-personal content. No network traffic is captured, and the activity does not ask learners to inspect actual packets or credentials.
Observe and support
Ask why an offset of 2 starts at byte 16 rather than byte 2.
Use large paper marks or a scribe when needed. A valid example is not a uniqueness or long-term learning claim.