Table of Contents

Encapsulation / Decapsulation

Data goes through preparations to traverse the network when being sent or received. It moves through the OSI model layer by layer adding headers and trailers at each layer.

Encapsulation


The data starts at layer 7, the Application layer where it's raw data. As it goes down the stack information is added onto the data.

LAYER : PDU

The process generally looks like this:

Decapsulation


Basic travel logic:

Frame:

Packet:

Once the packet gets to it's final destination the encapsulation process is reversed by the basic travel logic stated above. So long as the addresses match the receiving device will strip each layer's travel data until it can send the data to it's ultimate destination, perhaps port 80 HTTP traffic destined for a web server.