The complete package: where MAC addresses sit in an Ethernet frame
An Ethernet frame is a small, fixed package. The two MAC addresses come first, before anything else, and that order is the whole reason switches are fast.
Published
People say “packet” for everything that crosses a network, but on the wire an Ethernet link carries frames. An IP packet is the cargo; the frame is the package around it. And the first thing written on that package is the pair of MAC addresses.
The layout
| preamble + SFD | destination | source | type | payload | FCS |
| 8 bytes | 6 bytes | 6 bytes| 2 bytes| 46–1500 bytes| 4 |
The preamble and start-of-frame delimiter only synchronise the receiver; capture tools never show them. What you see in a capture starts with the destination address.
Destination first, on purpose
A switch starts deciding where a frame goes as soon as it has read six bytes. Putting the destination at the very front lets cut-through switches begin forwarding before the rest of the frame has even arrived. The source address comes next, and the switch uses it to learn which port that sender lives on.
A real header, in hex
00 00 5e 00 53 01 destination
00 00 5e 00 53 02 source
08 00 type: IPv4
45 00 00 3c ... the IP packet begins
The type field tells the receiver what the payload is: 08 00 for IPv4, 08 06 for ARP, 86 dd for IPv6. When a VLAN tag is present, 81 00 and two more bytes are inserted between the source address and the type.
What is not in the package
There is no “from network” or “to network” in a frame, and nothing about the device’s model or owner. The addresses identify interfaces on one link. Once a router forwards the packet, it builds a new frame with new addresses, and the original MAC addresses are gone.