iTranslated by AI
Understanding the OSI Model through Amazon Deliveries
Introduction
While studying for the CompTIA Network+, I found it impossible to memorize the PDU names of the OSI model.
I could memorize them by rote, but I had no idea "why they were named that way."
One day, while ordering multiple items on Amazon, I realized, "Oh, this is exactly it," so I decided to summarize it here.
What is the OSI Model?
A design model that organizes network communication into seven layers.
The reason for splitting it into layers is to isolate the responsibilities of each layer, making it easier to identify which layer is causing the problem when an issue occurs.
The layer names, from top to bottom, are:
| Layer | Name |
|---|---|
| 7 | Application |
| 6 | Presentation |
| 5 | Session |
| 4 | Transport |
| 3 | Network |
| 2 | Data Link |
| 1 | Physical |
Mnemonics (Top to Bottom)
In Japanese, you can remember the names with the phrase "Apu-Se-To-Ne-De-Ru" (taking the first few syllables of the Japanese terms).
Just by saying "Apu-Se-To-Ne-De-Ru" from layer 7 to 1, you can easily memorize them.
What is a PDU?
A PDU (Protocol Data Unit) is the name used to refer to data at each layer. As data passes through each layer, a header is added, and the name changes.
| Layer | PDU Name |
|---|---|
| 7–5 | Data |
| 4 | Segment |
| 3 | Packet |
| 2 | Frame |
| 1 | Bit |
Mnemonic for PDUs
Do Some People Fear Birthdays?
Connecting the initials gives you the order: Data → Segment → Packet → Frame → Bit.
Encapsulation and Decapsulation
- Encapsulation: The process of adding a header as data passes to the layer below on the sender side.
- Decapsulation: The process of removing the header as data passes to the layer above on the receiver side.
How to Remember
- En = Put into an envelope → Sender side, top to bottom, headers increase.
- De = Take out of an envelope → Receiver side, bottom to top, headers decrease.
Understanding with Amazon Delivery
This is the main point. The entire concept clicked for me when I mapped each layer to Amazon ordering and delivery.
Layer 7–5 (Data) — The Product Itself
The actual product ordered on Amazon. Imagine T-shirts or gadgets sitting in an Amazon warehouse. It is still just the "contents," unpacked and ready.
Layer 4 (Segment) — Sorting and Numbering Items
Since you cannot ship 10 items all at once, you divide them into shippable sizes and label them "Box 1, Box 2, Box 3."
Without these numbers, if the boxes get separated, you wouldn't know which one is missing. This is the role of the TCP/UDP header.
Layer 3 (Packet) — Addressing Each Box
You stick a delivery address (IP Address) on each individual box. It’s like when you order multiple items and each one arrives addressed to "Mr. Taqq, Shinjuku Ward."
This address determines the route the package will take.
Layer 2 (Frame) — Attaching Relay Labels for the Next Distribution Center
The destination address (IP Address) is fixed as the final destination: "Mr. Taqq, Shinjuku Ward." However, the package doesn't arrive in Shinjuku directly.
First, it goes from a warehouse in Chiba to a distribution center in Koto Ward. Once it arrives in Koto, it goes to a distribution center in Shinjuku. Once it arrives in Shinjuku, it finally goes to the local post office.
This relay label showing "where to go next" is the Frame (MAC Address).
The key is that the label is replaced every time it passes through a distribution center.
When going from Chiba to Koto Ward, the label is peeled off the moment it arrives in Koto, and a new label saying "Next: Shinjuku" is applied. When it arrives in Shinjuku, that one is peeled off again and replaced with "Next: Local Post Office."
- Destination Address (IP Address) = The final destination, "Mr. Taqq, Shinjuku Ward." It never changes.
- Relay Label (MAC Address) = The next stop. It is replaced every time it passes through a distribution center.
This "distribution center" corresponds to a router.
Layer 1 (Bit) — The Truck on the Road
The data is physically converted into 0s and 1s (electrical or optical signals) and sent through cables or wireless signals. Just as a truck carries any type of cargo, all data is ultimately converted into 0s and 1s.
The Overall Flow (Summary)
[Sender Side: Encapsulation]
Product itself (Data)
↓ Sort and number for easier shipping
Segment
↓ Add address (IP) to the box
Packet
↓ Add relay label (MAC) for the next distribution center
Frame
↓ Truck travels on the road
Bit ───────────────────→ Via Network
[Receiver Side: Decapsulation]
Unload cargo from truck (Bit)
↓ Remove relay label and send to the next center
Frame → Packet → Segment
↓ Sort by number and open the box
Data (Product arrives in your hands)
Conclusion
I failed many times trying to memorize PDU names by rote. Once I understood "why they were named that way," the information just clicked.
For layers, use "Apu-Se-To-Ne-De-Ru."
For PDUs, use "Do Some People Fear Birthdays?"
For En and De, think of "putting into/taking out of an envelope."
And the most helpful realization was the image that a MAC address label is replaced every time it passes a distribution center, while the IP address remains the same from start to finish.
I hope this helps anyone else who has been stuck on the same concept.
Discussion