Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

From Data to Frame: The Evolution of PDUs Across the OSI Model

Posted on Aug 26 In a recent exploration, I delved into the intricacies of the OSI model, detailing the distinct roles played by each Layer throughout the networking stack. If you haven't had the chance to read that article, I recommend starting there Unpacking The OSI Model. Building on that foundation, this article aims to dive deeper, specifically focusing on the Protocol Data Units (PDUs) across the OSI layers – illuminating their operations and their crucial encapsulations. So let's commence, by starting at the layer you interact with the: Application Layer.Within the Application Layer, the PDU is referred to simply as "Data". This data is raw and unstructured. Meaning it is the user's actual message, the file they're transferring, the content of the webpage they're accessing, or even the video they're streaming. As this data descends the networking stack, it undergoes layers of encapsulation, only to be de-encapsulated at its destination, reverting to its original, unadulterated form. The PDU within the Presentation layer is still known as "Data", though the Data doesn't remain the same raw data we have in the Application Layer. This Data gets reformatted for compatibility, encrypted for security and compressed for transmission speed. The process here sets the stage for its journey further through the stack.Within the Session Layer, our PDU is still recognized as "Data", marking its final appearance under this name. This layer is crucial in orchestrating the rhythm of communication: it not only establishes, maintains, and terminates sessions between two devices but also ensures the synchronization and structured management of the data being transferred. It's here that the mechanics of dialogue come into play, guaranteeing that the conversation between devices remains harmonious and coordinated. At the Transport Layer, our PDU evolves distinctly, transitioning from the generalized "Data" to either "Segment" (within the realm of TCP) or "Datagram" (when dealing with UDP). This transformation is pivotal to end-to-end communication, as data is systematically divided into segments or datagrams for efficient transport, the PDU gains these essential attributes, encapsulated within what's known as the L4 Header. Transport Layer Header (L4 Header):At the Network Layer, our evolving PDU gains another vital header, morphing it into what we recognize as a 'Packet'. This transformation isn't merely structural; the new header equips the packet with essential attributes to navigate the vast topology of interconnected networks. Specifically, it incorporates logical addressing (IP addresses), routing indicators, and other metadata that routers and switches utilize to determine the packet's optimal path through the network. This layer ensures that each packet, regardless of its source or the path it takes, will find its way to its intended destination. Network Layer Header (L3 Header):At the Data Link Layer, our PDU is framed and readied for its voyage across the local network. This encapsulation introduces the frame's 'local address', guiding it toward its destination within the immediate network. Moreover, mechanisms such as error-checking ensure its safe transit. Data Link Layer Header (Frame Header):Data Link Layer Trailer (Frame Trailer):Entering the foundational depths of our OSI journey, we reach the Physical Layer. Here, our meticulously crafted frame is translated into electrical pulses, optical signals, or radio waves, depending on the transmission medium. It's not about the content anymore; it's about the signal and its representation. This layer doesn't concern itself with headers or PDUs; it simply transmits raw binary data, one bit at a time.As we journeyed through the OSI model, we've observed data undergoing encapsulation, layer by layer, prepped for its digital voyage. But this is only half the tale. For the end user to interact with this data, the reverse occurs. De-encapsulation systematically peels away the headers, restoring the data to its original form at the Application Layer. However, it's worth noting that while the OSI provides a structured blueprint, it's primarily a conceptual model. In practice, data handling might not always align perfectly with each OSI layer's defined function. In every online exchange, it's these rapid, detailed processes that make our digital communications possible. Truly, it showcases the wonders of today's network technologies. Thank you for joining me on this exploration, and I appreciate your time spent reading! In my upcoming blog post, I'll delve deeper into this subject using Packet Tracer, offering a hands-on, simulated exploration of networking intricacies. Stay tuned for a dynamic journey through virtual network configurations! Templates let you quickly answer FAQs or store snippets for re-use. Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink. Hide child comments as well Confirm For further actions, you may consider blocking this person and/or reporting abuse Utba Zafar - Aug 16 Ibrahim Aziz - Aug 16 Ibrahim Aziz - Aug 3 Isaac Oresanya - Aug 16 Once suspended, stungnet will not be able to comment or publish posts until their suspension is removed. Once unsuspended, stungnet will be able to comment and publish posts again. Once unpublished, all posts by stungnet will become hidden and only accessible to themselves. If stungnet is not suspended, they can still re-publish their posts from their dashboard. Note: Once unpublished, this post will become invisible to the public and only accessible to stungnet. They can still re-publish the post if they are not suspended. Thanks for keeping DEV Community safe. Here is what you can do to flag stungnet: stungnet consistently posts content that violates DEV Community's code of conduct because it is harassing, offensive or spammy. Unflagging stungnet will restore default visibility to their posts. DEV Community — A constructive and inclusive social network for software developers. With you every step of your journey. Built on Forem — the open source software that powers DEV and other inclusive communities.Made with love and Ruby on Rails. DEV Community © 2016 - 2023. We're a place where coders share, stay up-to-date and grow their careers.



This post first appeared on VedVyas Articles, please read the originial post: here

Share the post

From Data to Frame: The Evolution of PDUs Across the OSI Model

×

Subscribe to Vedvyas Articles

Get updates delivered right to your inbox!

Thank you for your subscription

×