A network engineer captures network traffic using a packet analyzer at two points along a multi-hop path: at an ingress interface of an intermediate router and directly at the destination server's network adapter. The captured traffic consists of standard TCP-based application data traversing distinct IPv4 subnets. Which of the following statements accurately describe how encapsulation and de-encapsulation operate across these processing points? (Select TWO)
- The intermediate router strips the incoming Layer 2 frame header and trailer, inspects the Layer 3 IP header for forwarding decisions, and prepends a new Layer 2 frame header and trailer containing updated source and destination MAC addresses.Answer
- At the destination server, the network interface card processes and strips the Layer 2 frame header and trailer before passing the enclosed Layer 3 packet up to the operating system's protocol stack for Layer 3 IP header processing.Answer
- CThe intermediate router strips both the Layer 2 frame header and the Layer 3 IP packet header, encapsulating the underlying Layer 4 TCP segment into a new IP packet with the router's own interface IP address set as the source.
- DThe destination host's physical network interface card decapsulates all protocol headers (Layer 2, Layer 3, and Layer 4) directly in hardware before delivering the raw application data payload into user space memory.
Answer
The correct statements are: (1) The intermediate router strips the incoming Layer 2 header/trailer, inspects the Layer 3 IP header, and prepends a new Layer 2 header/trailer with updated MAC addresses; and (2) At the destination server, the network interface card processes and strips the Layer 2 header/trailer before passing the Layer 3 packet to the OS protocol stack.
Encapsulation and de-encapsulation follow specific boundaries at intermediate devices and destination endpoints. An intermediate router operates at Layer 3: it receives a Layer 2 frame, strips the frame header and trailer, checks the Layer 3 IP header to determine the outbound interface/next-hop, and encapsulates the IP packet into a new Layer 2 frame with updated source and destination MAC addresses. At the receiving host, de-encapsulation moves up the stack sequentially: the network interface card verifies the Frame Check Sequence and strips the Layer 2 header before handing the payload (the IP packet) to the operating system network stack for Layer 3 and Layer 4 de-encapsulation.
Step-by-Step Solution
Key Concept
Hop-by-hop Layer 2 re-encapsulation vs bottom-up host de-encapsulation