LOGBOOK

HELP

Quiz Entry - updated: 2026.07.05

What happens during IP encapsulation at the Network Layer?

IP wraps the transport-layer segment in an IP header (adding source and destination addresses), creating a Layer 3 PDU called a packet.

Encapsulation is how the Network Layer hands off data to be routed: the Transport Layer's segment (TCP or UDP) becomes the payload, and IP prepends a header carrying the source and destination IP addresses. The result is a packet — the Network Layer's Protocol Data Unit (PDU). This matters because routing works entirely on the IP header: every router along the path reads those addresses to decide where to send the packet, while the wrapped segment is never touched until it reaches the destination host. Because the header is a separate wrapper, IP can switch between IPv4 and IPv6 without disturbing the Layer 4 segment inside, and (absent NAT) the source/destination addresses stay constant end to end so each hop sees the same forwarding information.

Segment wrapped in an IP header becomes a packet

* The transport segment becomes the payload; IP adds a header to form the Layer-3 packet. *

IP Encapsulation process:

  1. IP encapsulates the Transport Layer segment (TCP or UDP)
  2. Adds an IP header containing source and destination addresses
  3. Creates a Network Layer PDU called a packet

Key characteristics:

  • IP can use either IPv4 or IPv6 packet without affecting the Layer 4 segment
  • The IP packet is examined by all Layer 3 devices (routers) as it traverses the network
  • The IP addressing does NOT change from source to destination

Note: NAT (Network Address Translation) will change addressing, but that's covered in a later module.

Go deeper:

From Quiz: NETW1 / Network Layer | Updated: Jul 05, 2026