<aside> 🔢

L2.2 — Subnetting, Routing & NAT covers two lectures of material by Graeme Bragg. It builds on L2.1's introduction to subnets and netmasks with a chalk-and-talk binary tree method for working out IPv4 subnet ranges, available addresses (reserved/broadcast/router), a worked subnetting example (152.78.70.0/23 → /24 + 2× /25), routing fundamentals (host view, routing tables, longest prefix match, metric tiebreaker), prefix aggregation, the default free zone, Autonomous Systems (multihomed/transit/stub, ASN, IXPs), routing protocols (RIP distance-vector, link-state IS-IS/OSPF with Dijkstra's, BGP exterior), BGP operation and downsides (trust, flapping, table size ~1M IPv4 / ~128k IPv6), traceroute mechanics, routing gotchas (asymmetric routes, latency ≠ RTT/2), and NAT (NAPT, CGNAT RFC 6598, NAT64 with DNS64).

</aside>

📋 At a Glance