Simple explanation
This lesson covers how routers decide where to send traffic, and the techniques used to manage limited bandwidth fairly and efficiently.
Technical explanation
Routing concepts:
- Static routing — manually configured routes; predictable but doesn't adapt to network changes automatically.
- Dynamic routing protocols — routers automatically learn and share routes: OSPF (Open Shortest Path First — link-state, calculates the shortest path, common in enterprise networks), BGP (Border Gateway Protocol — the protocol that runs the internet itself, path-vector based, used between large networks/ISPs), EIGRP (Enhanced Interior Gateway Routing Protocol — Cisco-originated, hybrid approach).
- Administrative distance — when a router learns the same route from multiple sources, this value determines which source is trusted (lower is more trusted).
- Route redistribution — sharing routes learned via one protocol into another.
Bandwidth management:
- QoS (Quality of Service) — prioritizing certain traffic types (like voice/video) over others (like bulk file transfer) so latency-sensitive traffic isn't degraded by less time-sensitive traffic competing for the same bandwidth.
- Traffic shaping — deliberately delaying certain traffic to smooth out bursts and stay within a defined bandwidth limit.
- Load balancing — distributing traffic across multiple paths/links, both for performance and redundancy.
Synonyms / related terms
| Term | Means | |---|---| | OSPF | Open Shortest Path First | | BGP | Border Gateway Protocol | | QoS | Quality of Service |
Concept Check
"A company's VoIP calls are choppy whenever someone else on the network runs a large file backup." This isn't necessarily a bandwidth capacity problem requiring more raw bandwidth — it's often solved with QoS, prioritizing voice traffic so it isn't delayed behind large, non-time-sensitive backup traffic competing for the same limited link.
Interview-style Q&A
Q: Why would a large enterprise use BGP internally, not just at the internet edge? A: "Very large networks sometimes use BGP internally (iBGP) when they need extremely fine-grained control over routing policy between different internal autonomous regions, beyond what OSPF's shortest-path calculation alone provides. It's less common than using BGP purely at the internet-facing edge, but it does happen at large enough scale."
Memory trick
"OSPF finds the Shortest, BGP finds the Path, EIGRP finds a Balance" — three protocols, each tied to its defining approach to route selection.