The School

WANTED: A straight answer about why the internet works. Last seen buried somewhere between a Layer 2 broadcast storm and a suspicious HTTP header. This repository documents every protocol from the physical pulse on the wire to the application shaking hands with your browser — so you can stop nodding along in meetings and actually know what's happening.

Layer 1 — Physical

Cables, signals, encoding, and the raw electrical or optical pulses that carry every bit across the wire.

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.

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.

Layer 3 — Network

IP addressing, DHCP, DNS, ICMP, and how packets are routed across networks.

IPv4 Addressing — The Language of the Network Layer

IPV4

What an IP address actually is, how the 32 bits are structured, what subnetting means, and how routers use addresses to make forwarding decisions.

DHCP — How a Device Gets Its Network Identity

DHCP

From the moment a device connects with no IP address to the instant it is fully configured — every packet of the exchange, explained.

Layer 4 — Transport

TCP, UDP, ports, handshakes, flow control, and how data is reliably (or not) delivered end to end.

Application Layer

HTTP, TLS, BGP, and the protocols that power the services we use every day.

HTTP & HTTPS — How the Web Works

HTTP-HTTPS

How browsers and servers exchange resources using HTTP request/response cycles, what every status code category means, and why HTTPS is a fundamentally different security model — not just HTTP with encryption bolted on.

TLS & SSL — The Handshake Behind HTTPS

TLS-SSL

How TLS establishes an encrypted, authenticated channel before a single byte of application data flows — the handshake, certificates, certificate authorities, and why SSL is dead but its name lives on.