How Headers Encapsulate in the OSI stack

How Headers Encapsulate in the OSI stack

How Headers Encapsulate in the OSI stack

How Headers Encapsulate in the OSI stack: Part 2 of some refreshers. We send application data or payload by encapsulating or framing each layer within the previous layer. We looked at each one individually and now here is how they look when each layer is wrapped inside the previous layer.

OSI Model Encapsulation

 Figure 1. Here is how application data gets passed to each protocol in the stack to see a cute cat playing piano.

Each device along the path from source to destination (user to Youtube in this case) strips the header it is concerned with and imposes the new information in another header wrapping the packet back up for its next hop. The payload remains the same along the way outside of fragmentation but these days Path MTU Discovery (PMTUD) has alleviated the need to fragment packets thus reducing overhead on devices in the path. I left out the footer in the Layer 2 Ethernet layer so keep in mind there is one there along with “TCP data” on the tail of the TCP header and payload.

The packaging and re-packaging of pulse of energy and light is fascinating to try and wrap your head around and I am still amazed that the laws of physics allow us to do these things!


Part 1 breaks down each header on a previous post.