Encapsulation vs. Tunneling

Difference Between Encapsulation and Tunneling

Tunneling and Encapsulation are important concepts found in Computer Networking. Tunneling is a method used to transfer a payload (a frame or packet) of a protocol using an infrastructure for inter-network to another protocol. Because Transmitted payload belongs to a different protocol it cannot be sent as it is created. Encapsulation is the process of encapsulating the payload and with an additional header so as to send it (tunneled) via the intermediate network correctly. On transmission, payload must be contained de-encapsulated .At the end of show and routing can be sent to the final destination. We call the whole process because of containing, by issuing and later de-encapsulating tunneling. However, tunneling is sometimes known as encapsulation (the causing confusion) as well.

What is Tunneling?

Tunneling is a method used to transfer a payload of a protocol using a medium of inter-network transmission of another protocol. The data to be transferred are characteristically frames / packets belonging to a certain protocol (different from the protocol used to send data). Because of this, passengers and cargo cannot be sent as it is produced by its origin. In order to transmit data correctly, the frames must be contained in an additional header that provides routing information. Then a tunnel (a logical path that connects the end points between which the timber must travel) is created and the frames are routed between tunnel endpoints in the internetwork. When the packets contained reach the end point of destination of the tunnel, they are de-encapsulated packet and original content are sent in to the desired destination. We call this overall process including the encapsulation and de-encapsulation tunneling. As long as the Layer 2 Layer 3 (the Reference Model of Open Systems Interconnection) uses tunneling. Typical Layer 2 tunneling protocols are PPTP (Point-to-Point Tunneling Protocol) and L2TP (Layer Two Tunneling Protocol). Layer 3 uses the usual tunnel mode IPSec as a protocol tunneling.

What is Encapsulation?

As mentioned above, the process of encapsulating the packets within an additional header before tunneling is Encapsulation. The additional header provides routing information needed to send passengers and cargo contained in the internetwork through. This information is essential because the passengers and cargo is sent by a network (the protocol) network in which different data was created. In Layer 2 (using frames as the unit of exchange) tunneling, both PPTP L2TP encapsulations are in a PPP (Point Protocol-to-point) the frame. In layer 3 (which uses packets as the unit of exchange) tunneling, the tunnel mode IPsec provides IP (Internet Protocol) packets with an additional IP header.

What is the difference between Encapsulation and Tunneling?

Tunneling is a method used to transport payload of a protocol using an infrastructure for inter-network to another protocol. Encapsulation is the process of containing the frame with an additional header for it to be sent (tunneled) correctly by the intermediate network. Tunneling is returned to the entire process of encapsulation, transmission and de-encapsulation during encapsulation is only a step in this whole process. Yet, regardless of the integer part report, tunneling is sometimes also known as encapsulation.

 

Category: VS  |  Tags: