At the data link layer, Ethernet encapsulation injects a frame header that carries the device’s MAC addresses—destination and source—plus an EtherType field. IP addresses live in the network layer and aren’t added here, while port numbers belong to the transport layer. This is the essence of how local delivery works.

Multiple Choice

During encapsulation at the data link layer for Ethernet, which address is added?

At the data link layer, Ethernet encapsulation adds a frame header that uses the device’s physical (MAC) addresses to deliver the frame on the local network. The Ethernet header includes the destination MAC address and the source MAC address, along with an EtherType field that indicates the next protocol in the stack. These MAC addresses are hardware identifiers tied to network interfaces, which is why they’re called physical addresses. IP addresses belong to the network layer and are carried inside the payload after encapsulation, not added at this layer. Port numbers belong to the transport layer (TCP/UDP) and are part of the transport header, not the Ethernet data-link header.

Ethernet At The Data Link Layer: What’s Added, and Why It Matters

Imagine you’re mailing a letter across town. You don’t just scribble a name on the envelope and hope for the best. You stamp it with a sender and recipient address, a little postmark, and maybe a tracking code so the system knows where to push it next. In computer networking, Ethernet at the data link layer works a lot the same way. When a packet moves from one device to another on the same local area network, the frame that actually travels through the wire carries specific hardware addresses that identify both ends of the hop. And that’s the heart of the question: what address gets added at the data link layer during Ethernet encapsulation?

Let’s set the scene with a simple picture. You’ve got two devices on a LAN—say, a laptop and a printer—both connected via Ethernet cables to a switch. When your laptop wants to send data to the printer, the data doesn’t zip along as IP alone. IP is great for routing across networks, but within a local network, you need something a bit more immediate. That “more immediate” thing is the Ethernet frame, the basic unit of data link layer communication. The frame is what actually gets placed on the wire (or into the air, for wireless Ethernet). And the key to making sure that frame ends up in the right mailbox? The physical addresses baked into the frame header.

The answer is clear, if you think in terms of hardware identifiers: the physical address—commonly known as a MAC (Media Access Control) address—is added at the data link layer during Ethernet encapsulation. This is what makes option B, “The physical address is added,” the correct choice.

What exactly gets tucked into that Ethernet frame header? Two MAC addresses, to be precise. The destination MAC address tells the network interface on the receiving device where the frame should go. The source MAC address tells the receiving device which hardware interface sent the frame. It’s a bit like writing a return address and a destination address on a letter. But there’s more. The header also includes an EtherType field, which indicates what protocol is carried in the payload—the next layer up. This helps the receiving device know how to interpret the contents once the frame is de-encapsulated. If you’re wondering about the payload itself, that’s where the IP packet rides, and that IP packet holds the IP address information for routing and delivery beyond the local network.

Crucially, IP addresses live on a higher layer—the network layer. They’re essential for routing packets across multiple networks, from your home router to a distant server halfway around the world. But on the local Ethernet link, the MAC addresses do the heavy lifting of ensuring the frame arrives at the correct device on that same local network segment. Once the Ethernet frame reaches the destination device, the data link layer strips off the frame header, and the remaining payload—the IP packet—hand it up to the network layer for further processing. Only then do IP addresses come into play, guiding the packet toward its ultimate destination across different networks.

A quick mental model helps if you’ve ever sent a physical letter. The MAC addresses are like the local post office’s routing labels, making sure the letter is handed to the right mailbox within the neighborhood. IP addresses, on the other hand, function like street addresses across cities and countries, guiding the letter through a much larger journey. In Ethernet, all the local work—the decision of who gets the frame on this switch port, who duplicates frames on a busy network, who cooperates with the collision domain in older Ethernet scenarios—happens at the data link layer via MAC addresses and the frame header.

Let me pause for a moment to acknowledge the “why” behind this design. Why does Ethernet keep MAC addresses at the data link layer instead of mixing everything into IP? The answer is about efficiency and local scope. The data link layer is where devices on the same local network literally share the same broadcast domain. MAC addresses are hardware-based, fast to check, and uniquely identify network interface cards (NICs) on that local link. They’re static identifiers tied to a physical device, which makes it easy for switches to forward frames and for devices to know who sent them. IP addresses, being logical, can be changed and reassigned as devices move between networks. Keeping these layers distinct simplifies local delivery while still allowing robust global routing through IP.

A few practical tangents you might find insightful

  • EtherType vs. IP: The EtherType field is a tiny but mighty detail. It’s the frame’s way of saying, “Inside this frame, my payload is an IPv4 packet,” or “my payload is an ARP message,” or other protocol types. This helps the NIC and the operating system’s networking stack decide how to interpret the inner data without opening the frame up at every hop.

  • The role of switches: On a typical LAN, switches listen to the source MAC address as frames arrive, learn which port leads to which device, and update their forwarding tables. It’s a little neighborhood map, constantly refined as devices come and go. When a frame targets a device on the same LAN, the switch can send it straight to the right port, rather than broadcasting to every connected device.

  • ARP, the next-door neighbor: When a host knows the IP address of the device it wants to reach but not its MAC address, it uses the Address Resolution Protocol (ARP) to discover the corresponding MAC. Once known, frames can be addressed precisely, and the network hums along with minimal fuss.

  • The evolution beyond: Modern Ethernet frames keep MAC addressing front and center, but the broader networking stack has grown more flexible. VLANs, security features, and various Ethernet enhancements add layers of nuance to how frames are handled and isolated on networks. Yet the core idea—MAC addresses at the data link layer enabling local delivery—remains foundational.

A practical, everyday analogy

Think about your neighborhood’s traffic and pedestrian rules. MAC addresses are like local permit numbers that let your car park in a specific driveway. The IP address is like your home’s postal code—it identifies the broader address outside your block. On a local street, the driveways (MAC) are what matter for direct delivery. If you’re sending a package to a different city or country, the postal system uses the ZIP code and more general routing (IP) to get the package on the right track before local handoff (MAC) happens again at the destination street.

Common misconceptions worth clearing up

  • Port numbers are not part of the Ethernet header. They belong to the transport layer (like TCP or UDP) and show up later in the packet’s journey, inside the payload. You’ll encounter them when you peek inside the IP packet that sits inside the Ethernet frame.

  • IP addresses aren’t added at the data link layer. They’re added and interpreted at the network layer. The frame isn’t carrying the IP address directly in its header; rather, it carries the IP packet inside. It’s inside the IP packet that the IP address information lives and travels.

  • MAC addresses aren’t purely theoretical. They’re real hardware identifiers baked into NICs. That’s why they’re called physical addresses. They’re not easily changed by software alone, which is part of why networks can be both fast and, at times, a little stubborn when devices move between networks.

A reader-friendly takeaway

If you’re trying to memorize the process, keep it simple: Ethernet encapsulation at the data link layer adds the frame header with the destination and source MAC addresses, plus an EtherType to signal what’s inside. The IP addresses come later, inside the payload, as part of the network layer’s responsibilities. Ports live inside the transport layer, not in the Ethernet frame. The result is a clean, layered approach: local delivery happens on the MAC layer; global routing happens via IP; and the ports within the transport layer unlock the application-specific conversations.

A closing thought—why this matters beyond theory

Understanding this isn’t just about acing a quiz or passing a certification. It gives you a mental model for troubleshooting real-world networks. When a device can’t reach another on the same LAN, checking MAC address tables, confirming the correct EtherType, and validating ARP entries can quickly point to where the breakdown is. And when you step back, you recognize how each layer plays its part in a symphony of data movement: the MAC addresses at the front lines, the IP addresses guiding broader travel, and the ports enabling the actual apps and services to talk to one another.

If you’re curious to explore further, you could experiment with simple home lab setups: a couple of switches, a couple of endpoints, and perhaps a lightweight router. Ping a device, capture frames with a tool like Wireshark, and watch the Ethernet header roll by—the destination MAC, the source MAC, the EtherType. It’s a tangible reminder that the network isn’t a single monolith; it’s a finely tuned stack that works because each piece sits in its own lane, doing its job with quiet reliability.

So next time you look at a networking diagram, picture that Ethernet frame cruising along the wire with its two familiar addresses—one pointing to the next stop on the local ride, the other revealing who sent it. The data link layer isn’t flashy, and that’s part of its charm: steady, efficient, and essential. The MAC addresses are the quiet workhorses that keep local delivery precise, while the bigger journey continues through IP and beyond.