A client workstation on a corporate LAN transmits web traffic to an external server across multiple subnets. When an intermediate router receives the Ethernet frame on its ingress interface, which of the following best describes the encapsulation and de-encapsulation actions performed by the router prior to forwarding the packet out its egress interface?
- The router strips the incoming Layer 2 frame header and trailer to inspect the Layer 3 packet, then encapsulates the original Layer 3 packet into a new Layer 2 frame formatted for the egress link.Answer
- BThe router strips both the Layer 2 frame encapsulation and the Layer 3 IP header, encapsulating the raw Layer 4 TCP segment directly into a new Layer 2 frame for the next hop.
- CThe router de-encapsulates the frame up to Layer 4 to modify source and destination port numbers before rebuilding new Layer 3 and Layer 2 headers.
- DThe router forwards the entire Layer 2 frame without removing its header or trailer, preserving the original source and destination MAC addresses throughout the path.
Answer
The router removes the incoming Layer 2 frame header and trailer, inspects the Layer 3 packet header to make a forwarding decision, decrements the Time to Live (TTL), and encapsulates the untouched IP packet inside a new Layer 2 frame for the outbound interface.
When traffic crosses a router (Layer 3 device), the router strips the incoming Layer 2 frame header and trailer because MAC addresses are only locally significant. The router inspects the Layer 3 IP header to determine the next hop, decrements the TTL, and then wraps the original IP packet inside a new Layer 2 header and trailer formatted specifically for the next hop's data link protocol.
Step-by-Step Solution
Key Concept
Hop-by-hop Layer 2 de-encapsulation and re-encapsulation by Layer 3 devices
Estimated Time:1m 30s