Skip to content
FALCON CORETECHNOLOGIES

// Lesson 4 of 49 · Network fundamentals

Ethernet frames and MAC addresses

The Ethernet frame format, MAC address structure, unicast, broadcast and multicast, and how ARP links IP to MAC.
2 min read#ethernet#mac#arp

Ethernet is the Layer 2 technology of almost every wired LAN. Understanding its frame and addressing explains how switches and ARP work.

The Ethernet II frame

Field Size Purpose
Preamble + SFD 8 bytes Synchronisation; not usually shown in captures
Destination MAC 6 bytes Who the frame is for
Source MAC 6 bytes Who sent it
Type 2 bytes What is inside, e.g. 0x0800 = IPv4, 0x86DD = IPv6, 0x0806 = ARP
Payload 46–1500 bytes The packet; 1500 is the standard MTU
FCS 4 bytes CRC error check — damaged frames are dropped

The destination comes first so a switch can start its forwarding decision as soon as possible.

MAC addresses

A MAC address is 48 bits, written as 12 hexadecimal digits, for example 00:1A:2B:3C:4D:5E or, in Cisco style, 001a.2b3c.4d5e.

  • The first 24 bits are the OUI — the manufacturer's identifier.
  • The last 24 bits are assigned by that manufacturer.

MAC addresses are only meaningful on the local link. Routers do not forward frames; they forward packets and build a new frame for the next link.

Types of destination

  • Unicast — one specific device.
  • Broadcast — FFFF.FFFF.FFFF, every device in the VLAN. Used by ARP and DHCP discovery.
  • Multicast — a group of interested devices (IPv4 multicast MACs start with 0100.5E).

A broadcast domain is the set of devices that receive each other's broadcasts. Every VLAN is one broadcast domain; routers do not forward broadcasts.

ARP: from IP address to MAC address

To send a packet, a host needs the destination MAC for the frame:

  1. If the destination IP is in the same subnet, the host needs the MAC of the destination itself.
  2. If it is in another subnet, the host needs the MAC of its default gateway.
  3. It checks its ARP cache. If the entry is missing, it broadcasts an ARP request: "who has 192.168.10.1?"
  4. The owner replies with a unicast ARP reply containing its MAC.
  5. The host caches the answer and sends the frame.
C:\> arp -a
  Internet Address      Physical Address      Type
  192.168.10.1          00-1a-2b-3c-4d-5e     dynamic

On a Cisco router: show ip arp.

Key points

  • Ethernet frame: destination MAC, source MAC, type, payload (MTU 1500), FCS.
  • MAC = 48 bits; OUI identifies the vendor; only meaningful on one link.
  • Broadcasts stay inside the VLAN; routers stop them.
  • ARP maps an IP address to a MAC — for remote destinations, the gateway's MAC.

Sign in to save your lesson progress across devices. You can read every published lesson without an account.