• In the OSI Model lesson, you followed your data down the seven layers, from the application to the wire.
    Now the bits arrive at their destination, and the whole journey runs in reverse.

    When the receiving device receives the data, it performs decapsulation, which is the reverse of encapsulation.

    The data moves up through the OSI layers, with each layer removing the information that its counterpart added on the sender’s side.

    Layer 1 – Physical

    The Physical Layer converts incoming electrical, optical, or radio signals back into raw bits. These bits are then passed to the Data Link Layer.

    Decapsulation at the Physical layer of the OSI model converting incoming signals back into bits

    Figure 1 – Start of the De-encapsulation Process

    The Data Link Layer groups the bits into a frame, verifies it using the FCS, and removes the Layer 2 header (MAC addresses). It then passes the packet to the Network Layer.

    Decapsulation at the Data Link layer of the OSI model extracting frames

    Figure 2 – OSI Layer 2: Data Link Layer in De-encapsulation

    Layer 3 – Network

    The Network Layer processes the packet, removes the IP header, and checks the source and destination addresses. It forwards the segment to the Transport Layer.

    Decapsulation at the Network layer of the OSI model extracting IP packets

    Figure 3 – OSI Layer 3: Network Layer in De-encapsulation

    Layer 4 – Transport

    The Transport Layer reassembles the segments into the original data stream. It removes the Layer 4 header (port numbers, reliability info) and identifies the correct service.

    OSI Layer 4 Transport in de-encapsulation process removing segment header to deliver data

    Figure 4 – OSI Layer 4: Transport Layer in De-encapsulation

    Layers 5 to 7 – Upper Layers

    Once the lower layers finish processing, the data moves into the upper layers of the OSI model: Session, Presentation, and Application. These layers make sure the data is correctly managed, formatted, and delivered to the right application.

    Layer 5 – Session

    The Session Layer establishes, maintains, and ends the communication session between devices. It keeps track of the session until the transfer is complete.

    Decapsulation in the upper OSI layers: Session, Presentation, and Application

    Figure 5 – De-encapsulation in the Upper OSI Layers

    Layer 6 – Presentation

    The Presentation Layer ensures the data is in a usable format. It may handle translation, compression, or encryption/decryption before passing the data to the application.

    OSI model decapsulation at the Presentation layer showing data translation and optional decryption before delivery to the application.

    Figure 6 – OSI Layer 6: Presentation Layer in De-encapsulation

    Layer 7 – Application

    The Application Layer delivers the final data to the software the user interacts with, such as a browser, email client, or file transfer tool.

    OSI model decapsulation at the Application layer showing final data delivery to the end-user application.

    Figure 7 – OSI Layer 7: Application Layer in De-encapsulation

    After understanding encapsulation and decapsulation, the next step is to see how OSI layers interact locally and between devices.

    Answer the question below

    Which OSI layer uses IP addresses for routing?