Same layer and adjacent layer interactions
When we look at data in a network we can look ‘horizontally’ at a single layer in the network stack or ‘vertically’ as data moves up and down the stack between adjacent layers.
Same Layer Interaction
Same layer interaction is when we look at communication between two devices using a single protocol at a single layer. It allows us to abstract away higher and lower layers to focus on the services provided by the given layer.
For example we might look at same-layer interaction between a web browser and a web server at the application layer, ignoring how the lower layers are transporting the data. Another example is looking at the route an IP packet takes across a network – addresses and routing – without needing to know what physical media is used or what application layer protocol is being transported.
Adjacent Layer Interaction
On a given network device, it will likely provide some form of network stack. On a switch this could just support the Link Layer, on a router it could be the Link Layer and the Internet Layer or on a computer you would support all layers of the TCP/IP network stack. Each layer provides a service to the layer above it. For example at the transport layer, TCP provides error recover. Adjacent-layer interaction is the passing of data between adjacent layers in the network stack.
As data is passed to a lower adjacent layer, that layer will add its own header (and possibly also a trailer) before passing it to the layer below. This process of wrapping up higher layer data in a header and/or trailer is called encapsulation. The higher layer data being encapsulated is often referred to as the payload or 'client data'.
When the data is passed back up the stack, each layer pops off its respective header / trailer – this is called decapsulation or de-encapsulation.
Protocol Data Units
At each layer, we refer to the combination of header/trailer and the data being encapsulated as a Protocol Data Unit (PDU).
In TCP/IP, each layer has specific terminology for a PDU:
Transport Layer: Segment
Internet Layer: Packet
Link Layer: Frame
What is the protocol data unit for the TCP/IP link layer?
What is the protocol data unit for the TCP/IP network layer?
What is the protocol data unit for the TCP/IP transport layer?
Define same layer interaction.
Define adjacent layer interaction.
Removal and processing of a header (and potentially trailer) as data moves up the network stack is referred to as ...
Decapsulation or de-encapsulation.
Same layer interaction.
The wrapping of data with a header, and potentially trailer, is referred to as ...
Same layer interaction
Which of the following is the term for a Transport layer Protocol Data Unit (PDU)?
HTTP's reliance on TCP to provide a reliable connection is an example of ...
Adjacent layer interaction.
A connectionless protocol.
The link layer.
Same layer interaction.