De-encapsulation and addresses: MAC changes at every hop, IP does not
Sign in to read this lesson
The receiving device opens the headers one by one, from the bottom up (de-encapsulation). Along the way, routers open the frame and rebuild it: the MAC address changes at every hop, while the IP address stays the same end to end.
What you will learn
- De-encapsulation: the receiving device opens the headers from the bottom up and passes the data to the right application.
- A switch looks only at the Ethernet header (MAC); a router also looks at the IP header.
- The IP address (Layer 3) does not change end to end: the source and destination stay the same.
- The MAC address (Layer 2) changes at every hop: the router drops the old frame and builds a new one for the next link.
- When going to another network, the destination MAC is the default gateway's MAC.
The lesson has 5 key points, an explanation and 5 questions. It opens with a package.