What is a protocol data unit (PDU)

What is a protocol data unit (PDU)?

The correct answer and explanation is :

Correct Answer:
A Protocol Data Unit (PDU) is a single unit of data that is transferred between two peer entities of a network layer, containing both control information (such as headers or trailers) and user data.


Detailed Explanation (300+ words):

A Protocol Data Unit (PDU) refers to the form that data takes at each layer of the OSI (Open Systems Interconnection) model as it is transmitted over a network. Each layer of the OSI model has a specific role in managing the communication process, and it packages the data accordingly. This packaging includes the data being sent and the necessary control information to manage the transfer.

In essence, a PDU is a combination of user data (payload) and protocol-specific control information, such as headers or trailers, which help with tasks like routing, error detection, and data reassembly.

Here is how the PDU changes at each layer of the OSI model:

  1. Application Layer (Layer 7), Presentation (6), Session (5):
    These layers deal with the data directly and are often collectively referred to as data.
  2. Transport Layer (Layer 4):
    The PDU is called a segment (in TCP) or a datagram (in UDP). It includes port numbers and sequencing information.
  3. Network Layer (Layer 3):
    The PDU is known as a packet, which includes logical addressing (e.g., IP addresses) for routing.
  4. Data Link Layer (Layer 2):
    Here, the PDU is a frame, which contains physical addresses (MAC addresses) and error checking codes.
  5. Physical Layer (Layer 1):
    The PDU is bits, which are the electrical or optical signals transmitted over the medium.

Each layer encapsulates the PDU from the previous layer by adding its own header (and sometimes a trailer). This process ensures reliable and organized communication across a network.

Understanding PDUs is critical for troubleshooting and network design, as it helps identify at which layer a problem may be occurring during data transmission.

Scroll to Top