Ethernet

Ethernet Frames and SwitchingLink layer · OSI 2

MAC addresses, switch learning, and single-link frames

Step 1 of 6: Broadcast ARP for a local MAC. Your laptop wants the NAS at 192.168.1.20 but lacks its mac-address. It sends an ARP request to ff:ff:ff:ff:ff:ff into switch port 1 .
0.0 s / 14.7 s
Your laptop00:00:5e:00:53:01LAN switch00:00:5e:00:53:04Home NAS192.168.1.20Home router192.168.1.1ARP who-has 192.168.1.20
LookupResponseHandshakeControl

Overview

moves frames between wired devices using 48-bit . A switch watches source addresses on incoming ports so frames travel only where needed, while MACs only apply on one local link.

IEEE 802.3 wraps each network packet in a 14-byte header and 4-byte FCS (64-1,518 bytes standard). IEEE 802.1Q bridges learn source MAC-to-port mappings and forward frames unchanged across one LAN; routers re-encapsulate packets per hop.

Key facts

Layer
Link (IEEE 802.3 / OSI Layer 2)
Address
48-bit MAC (single LAN scope)
Header / FCS
14 B header + 4 B FCS
Standard frame
64 to 1,518 bytes (up to 800 Gb/s)
Defined in
IEEE 802.3, IEEE 802.1Q

Switched locally, rewrapped across hops

The switch mapped source MACs to physical ports so unicast traffic stayed off idle links, while routers replaced the Ethernet frame at every hop beyond the local network.

Demonstrated IEEE 802.3 framing, IEEE 802.1Q MAC learning and selective forwarding, and Layer 3 frame re-encapsulation across link boundaries.

Learned entries
Port 1 (laptop), Port 2 (NAS)
Flooding
Broadcast & unknown MACs only
Frame format
14 B header + 4 B FCS
Routing rule
New Layer 2 frame per link

Try it yourself

Inspect local MAC addresses learned via ARP

Print the local IP-to-MAC neighbor table on your network adapter.

arp -a