A host workstation on Subnet A transmits data to a server located on Subnet B across an intermediate IP router. Which of the following best describes the header modifications that occur when the router processes and forwards the data unit to the next hop?
- The Layer 2 source and destination MAC addresses are updated for the next hop, while the Layer 3 source and destination IP addresses remain unchanged.Answer
- BThe Layer 3 source and destination IP addresses are updated for the next hop, while the Layer 2 source and destination MAC addresses remain unchanged.
- CBoth the Layer 2 MAC addresses and Layer 3 IP addresses are modified at each intermediate routing hop.
- DThe Layer 4 source and destination port numbers are modified for the next hop, while the Layer 2 frame header remains unchanged.
Answer
The Layer 2 source and destination MAC addresses are updated for the next hop, while the Layer 3 source and destination IP addresses remain unchanged.
During routing, the router de-encapsulates the incoming Layer 2 frame, inspects the Layer 3 IP packet header to determine the outgoing interface and next hop, and then re-encapsulates the IP packet into a new Layer 2 frame. The new frame uses the router egress interface MAC address as the source MAC and the next-hop device MAC address as the destination MAC. The IP header source and destination addresses remain unchanged.
Step-by-Step Solution
Key Concept
Hop-by-hop Layer 2 re-framing vs. end-to-end Layer 3 packet encapsulation
Estimated Time:1m 30s