MAC Addresses and Ethernet Frames
A local delivery label
An Ethernet frame carries data across a local link. A MAC (Media Access Control) address identifies an interface for link-layer delivery. Ordinary Ethernet addresses have 48 bits, written as six hexadecimal octets (bytes). For example, 02:00:00:00:00:0A is a synthetic locally administered individual address. Hexadecimal digits represent values 0–15 using 0–9 and A–F. A device can have multiple interfaces and addresses. A MAC address need not be permanent or globally unique.
Individual and group destinations
A unicast destination names one interface; a multicast destination names a group; FF:FF:FF:FF:FF:FF is the broadcast destination on the local Ethernet segment. The low-order bit of the first octet marks individual (0) or group (1); the next bit distinguishes universal (0) from local (1) administration. For 02 (binary 00000010), the group bit is 0 and the local bit is 1. Do not infer the meaning from the last octet. Broadcast is not a valid source address in ordinary Ethernet frames.
Read the frame from left to right
An ordinary untagged Ethernet II frame begins with the destination MAC, then the source MAC, then a two-byte EtherType that identifies the encapsulated protocol. The data field and any padding follow. The four-byte Frame Check Sequence (FCS) uses a CRC to detect transmission corruption; it is not authentication. Some Ethernet frames use the two-byte field as a length rather than EtherType. Values up to 1500 indicate length, values at least 1536 indicate EtherType; the intervening range is not used for ordinary length/type interpretation.
Worked example: inspect a header
Read this synthetic header in hexadecimal. The destination is B (...0B), the source is A (...0A), and 88 B5 is the local experimental EtherType 0x88B5, used here only for invented offline data. The header is 14 bytes. Common real examples are 0x0800 for IPv4 and 0x86DD for IPv6; these numbers are not TCP or UDP ports.
02 00 00 00 00 0B | 02 00 00 00 00 0A | 88 B5MAC and IP solve different problems
A MAC address is used for delivery on a link; an IP address is used by the network layer for delivery across networks. If a router forwards an IP packet onto another Ethernet link, it normally creates a new link-layer frame for that next hop. The Ethernet destination is therefore not necessarily the ultimate IP destination. A source MAC address alone does not prove a sender’s identity.
Practice before moving on
In the offline lab, identify both MAC fields and the protocol identifier in a different header. Explain why a broadcast destination and a unicast source can coexist. Next, learn how a switch uses these fields.
Check Your Understanding
Solidify your learning with the interactive assessment directly below this lesson.
Concept Quiz & Questions
MAC Addresses and Ethernet Frames — knowledge check
Reason about fictional Ethernet frames and forwarding.
In the header `02 00 00 00 00 0B | 02 00 00 00 00 0A | 88 B5`, which address is the destination?
What does an initial octet of `02` mean for the two low-order bits?
Which destination addresses every station in the local Ethernet broadcast domain?
What is `0x0800` in the type field of an untagged Ethernet II frame?
What is the ordinary purpose of FCS?