⊞ All topics

networks

10 entries · last updated 2026-07-12

Bandwidth vs Throughput vs Latency vs Jitter

The four performance words precisely: rates vs times, the highway model, bandwidth≠speed, latency-bound vs bandwidth-bound, BDP, and jitter/QoS.

Ethernet — Frame Format, MAC Addresses & EtherType

The L2 reality: 48-bit MACs (OUI + device, broadcast/unicast/multicast), the frame format, EtherType demux, FCS best-effort error detection, and the 1500-byte MTU.

How Switches Work — MAC Learning, CAM Table, Forward/Flood/Filter

Self-teaching frame forwarding: learn from SOURCE, decide by DESTINATION; forward/flood/filter, the CAM table, one-switch-one-broadcast-domain, and CAM overflow.

VLANs — Segmentation, Access vs Trunk Ports, 802.1Q Tagging

Slicing one switch into many virtual switches: access vs trunk, the 4-byte 802.1Q tag, tag add/strip journey, native-VLAN hopping, and VLAN-scoped flooding.

Spanning Tree Protocol (STP/RSTP) — Loop Prevention & Root Bridge Election

Why L2 loops are fatal (no TTL → broadcast storm) and how STP blocks them: root-bridge election, root/designated/blocking ports, path cost, and RSTP's fast convergence.

ARP — Resolving IP → MAC, ARP Cache, Gratuitous ARP

The glue between IP and MAC: broadcast request / unicast reply, next-hop-only resolution, caching, gratuitous ARP for failover, and why ARP spoofing enables MITM.

How the Internet Works End-to-End — A Packet's Journey

A packet's full journey from browser to server and back: DNS, ARP, encapsulation, TCP/TLS handshakes, hop-by-hop routing, and why the network is best-effort.

OSI 7-Layer Model — What Each Layer Does and Why the Split Exists

The seven layers and why layering exists; PDUs, the L2-vs-L3 (switch-vs-router) distinction, OSI-vs-TCP/IP reality check, and the L2/L3/L4/L7 vocabulary.

TCP/IP Model — How the 4/5-Layer Model Maps to Reality vs OSI

The real stack the internet runs on: 4- vs 5-layer, the OSI→TCP/IP mapping, where TLS/sockets sit, and the hourglass/narrow-waist model.

Encapsulation & Decapsulation — Segments → Packets → Frames → Bits

Dolls-in-dolls header wrapping/unwrapping: PDU names, load-bearing header fields, demultiplexing pointers, router re-encap per hop, and header overhead.