Layer 2 — Data Link

Ethernet frames, VLANs, STP, ARP, and how data travels within a broadcast domain.

Ethernet Frames — The Layer 2 Unit of Delivery

ETHERNET

How data is packaged into Ethernet frames, what every field in the frame means, and how switches use frames to make forwarding decisions.

layer2ethernetmacframeswitchingieee802.3

MAC Addressing — Hardware Identifiers at Layer 2

MAC

What MAC addresses are, how they are structured, the difference between unicast, multicast, and broadcast addresses, and how modern devices handle privacy through MAC randomization.

layer2macaddressingouiethernetieee802

ARP — Resolving IP Addresses to MAC Addresses

ARP

How a device discovers the MAC address of a target IP on the same subnet — the ARP request, the ARP reply, the cache, and the security problems that come with it.

layer2arpmacipv4broadcastrfc826

VLANs — Segmenting a Network at Layer 2

VLANS

How VLANs divide a single physical switch infrastructure into multiple isolated broadcast domains, how 802.1Q tagging carries VLAN membership across trunk links, and how inter-VLAN routing brings those segments back together.

layer2vlan802.1qtrunkingdot1qnative-vlaninter-vlan

STP — Eliminating Loops in Switched Networks

STP

How the Spanning Tree Protocol detects and eliminates Layer 2 loops by electing a root bridge, assigning port roles, and blocking redundant paths — and how RSTP and modern improvements addressed STP's slow convergence.

layer2stprstpspanning-treebpduroot-bridgeloopieee802.1d

EtherChannel — Bundling Links for Bandwidth and Redundancy

ETHERCHANNEL

How EtherChannel combines multiple physical links into a single logical bundle, why it solves the STP bandwidth-wasting problem, and how LACP and PAgP negotiate the bundle automatically.

layer2etherchannellacppagplink-aggregationlagbondingieee802.3ad

CDP & LLDP — Network Discovery at Layer 2

CDP-LLDP

How network devices advertise their identity, capabilities, and neighbors using CDP and LLDP, what information these protocols exchange, and why they are essential for network visibility and troubleshooting.

layer2cdplldpdiscoverytlvneighborieee802.1ab

PPP — Point-to-Point Protocol

PPP

How PPP provides a complete Layer 2 framing standard for point-to-point links — including link establishment, authentication, compression, and multi-link bonding — and why it became the foundation of DSL and dial-up internet access.

layer2ppplcpncpchappappppoewanrfc1661