How Data Encapsulation and Deencapsulation Works? (original) (raw)

Last Updated : 23 Jul, 2025

Data encapsulation and de-encapsulation are fundamental concepts in computer networking and communication protocols. These processes are essential for transferring data across networks efficiently and securely.

**What is Data Encapsulation?

Encapsulation is the process of adding additional information when data is traveling in an OSI or TCP/IP model. The information has been added on the sender's side, from the Application layer to the Physical layer.

**OSI Model and Working of Encapsulation

Encapsulation

Encapsulation

Encapsulation

**Protocol Data Unit (PDU)

The encapsulated data is called by different names when it travels down following layers. Those names are called Protocol Data Unit. The following table shows the name of encapsulated data in each layer.

Protocol Data Unit

Protocol Data Unit (PDU)

The TCP/IP model and Encapsulation

The Internet Protocol suite, also known as TCP/IP, contains the most extensively used network protocols and was created by the United States Department of Defence. The TCP/IP model was designed to work on a wide range of computer types. While the TCP/IP and OSI models share design concepts, but they are differ. The key distinction is that the TCP/IP model combines Layers 5–7 of the OSI model into a single application layer. It is also widely used to integrate the physical and data link layers, which are also known as the network interface or network access layer. The encapsulation and decapsulation operations of TCP/IP follow the same layer progression as in the OSI model.

**What is De-Encapsulation?

De-encapsulation is the exact reverse process of encapsulation. The additional information added on the sender's side(during encapsulation) gets removed when it travels on the receiver's side from the Physical layer to the Application layer.

**OSI Model and Working of De-encapsulation

Working of De-Encapsulation

Encapsulation & De-encapsulation