<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: TAKUMI SUGATA</title>
    <description>The latest articles on DEV Community by TAKUMI SUGATA (@taqq).</description>
    <link>https://dev.to/taqq</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3893113%2F337933c5-31af-4a18-bc73-b34ee78241dc.jpg</url>
      <title>DEV Community: TAKUMI SUGATA</title>
      <link>https://dev.to/taqq</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/taqq"/>
    <language>en</language>
    <item>
      <title>Stop Memorizing the PDU names — Understand It Like Amazon Delivery</title>
      <dc:creator>TAKUMI SUGATA</dc:creator>
      <pubDate>Wed, 22 Apr 2026 22:35:15 +0000</pubDate>
      <link>https://dev.to/taqq/stop-memorizing-the-pdu-names-understand-it-like-amazon-delivery-38km</link>
      <guid>https://dev.to/taqq/stop-memorizing-the-pdu-names-understand-it-like-amazon-delivery-38km</guid>
      <description>&lt;h2&gt;
  
  
  Introduction
&lt;/h2&gt;

&lt;p&gt;While studying for CompTIA Network+, I couldn't totally grasp the PDU names in the OSI model. I could memorize them, but I never understood why the names are what they are.&lt;/p&gt;

&lt;p&gt;One day, while ordering some items on Amazon, it hit me — the ordering process maps perfectly to the OSI model. So I decided to write it down.&lt;/p&gt;




&lt;h2&gt;
  
  
  What is OSI model
&lt;/h2&gt;

&lt;p&gt;The OSI model is a framework that divides network communication into 7 layers. Separating responsibilities by layer makes it easier to identify which layer is causing a problem. &lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Layer&lt;/th&gt;
&lt;th&gt;Name&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;7&lt;/td&gt;
&lt;td&gt;Application&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;6&lt;/td&gt;
&lt;td&gt;Presentation&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;5&lt;/td&gt;
&lt;td&gt;Session&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;4&lt;/td&gt;
&lt;td&gt;Transport&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;3&lt;/td&gt;
&lt;td&gt;Network&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;td&gt;Data Link&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;Physical&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Note: This mnemonic goes from Layer 1 to 7 (bottom to top).&lt;br&gt;
Physical → Data Link → Network  → Transport  → Session  → Presentation  → Applicaion&lt;/p&gt;




&lt;h2&gt;
  
  
  What is PDU
&lt;/h2&gt;

&lt;p&gt;PDU (Protocol Data Unit) is the name given to data at each layer. Each time data passes through a layer, it gets a new name. &lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Layer&lt;/th&gt;
&lt;th&gt;PDU name&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;7–5&lt;/td&gt;
&lt;td&gt;Data&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;4&lt;/td&gt;
&lt;td&gt;Segment&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;3&lt;/td&gt;
&lt;td&gt;Packet&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;td&gt;Frame&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;Bit&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;We can memorize them:&lt;br&gt;
" Do Some People Fear Birthdays?"&lt;/p&gt;

&lt;p&gt;Data → Segment  → Packet  → Frame  → Bit&lt;/p&gt;




&lt;h2&gt;
  
  
  What is Encapsulation and Decapsulation
&lt;/h2&gt;

&lt;p&gt;-Encapsulation: The process of adding headers to data as it moves down the layers (sender side).&lt;br&gt;
-Decapsulation: The process of removing headers from data as it moves up the layers (receiver side).&lt;/p&gt;

&lt;p&gt;We can memorize them:&lt;/p&gt;

&lt;p&gt;-En = put in an envelope → Top to Bottom (7-1), adding header when sending.&lt;br&gt;
-De = take out of the envelope → Bottom to Top (1-7), removing header when receiving.&lt;/p&gt;




&lt;h2&gt;
  
  
  Understand the concept with Amazon ordering
&lt;/h2&gt;

&lt;p&gt;This section is the main part of this article.&lt;br&gt;
When I think about Amazon ordering process - from ordering items to delivering them, I could understand them easily. &lt;/p&gt;




&lt;h3&gt;
  
  
  Layer 7-5 (Data) - Items themselves
&lt;/h3&gt;

&lt;p&gt;Data represents the items we ordered in Amazon.&lt;br&gt;
T-shirts, gadgets, or other items stays in Amazon warehouse. &lt;br&gt;
It is not wrapped yet.&lt;/p&gt;

&lt;h3&gt;
  
  
  Layer 4 (Segment) - Dividing and Numbering them
&lt;/h3&gt;

&lt;p&gt;It can be difficult to deliver them, if the order consists of multiple items. &lt;br&gt;
Therefore, we need to divide into small portion and numbering them 1,2,3…&lt;/p&gt;

&lt;p&gt;Without numbers, it would be impossible to identify which piece is missing if they arrive out of order.&lt;/p&gt;

&lt;h3&gt;
  
  
  Layer 3 (Packet) - Putting in boxes and Labeling them
&lt;/h3&gt;

&lt;p&gt;In this process, divided items are put into boxes and labeling each of them. &lt;br&gt;
Labels show the destination address about receiver (IP address).&lt;br&gt;
The multiple boxes come to do have same address labels.&lt;/p&gt;

&lt;p&gt;The labels are useful to determine routes to deliver. &lt;/p&gt;

&lt;h3&gt;
  
  
  Layer 2 (Frame) - Adding relay labels about next delivering center to Boxes
&lt;/h3&gt;

&lt;p&gt;The destination address (IP address) always stays the same, but the package doesn't travel directly to the final destination -it goes through multiple delivery centers along the way.  &lt;/p&gt;

&lt;p&gt;The actual delivering process is going through many delivering center in each locations until completing delivering, and relay labels, shows destination center, are replaced each time.&lt;br&gt;
This label is the Frame (MAC Address).&lt;/p&gt;

&lt;p&gt;-Destination address label (IP Address) = Final destination = stays same&lt;br&gt;
-Relay label (MAC Address) = Next center destination = replaced whenever the items go through delivering center&lt;/p&gt;

&lt;h3&gt;
  
  
  Layer 1 (Bit) - Transporting
&lt;/h3&gt;

&lt;p&gt;Actually, those boxes are transported physically by track.&lt;br&gt;
Items go through cables or wireless as electrical or light signal (0,1) .&lt;br&gt;
Ultimately, any data are exchanged to 0 and 1.&lt;/p&gt;




&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;[Sending side: Encapsulation]&lt;br&gt;
Items (Data)&lt;br&gt;
↓ Dividing and numbering&lt;br&gt;
Segments&lt;br&gt;
↓ Labeling with destination address (IP Address)&lt;br&gt;
Packets&lt;br&gt;
↓ Labeling with next delivery center (MAC Address)&lt;br&gt;
Frames&lt;br&gt;
↓ Physical transport&lt;br&gt;
Bits → Network&lt;/p&gt;

&lt;p&gt;[Receiving side: Decapsulation]&lt;br&gt;
Bits ← Network&lt;br&gt;
↓ Removing relay labels at each delivery center&lt;br&gt;
Frames → Packets → Segments&lt;br&gt;
↓ Reassembling and unpacking&lt;br&gt;
Items (Data)&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>learning</category>
      <category>networking</category>
      <category>tutorial</category>
    </item>
  </channel>
</rss>
