BGP: the Internet's postal treaty
▶ Start the interactive lesson
The CEO is furious: the single ISP went down for 3 hours. Board decision: add a second ISP. Maya forwards you the email: "You're leading the BGP design. Don't panic. It's just policy."
Key points
- BGP connects different organisations (autonomous systems, AS). It's a path-vector protocol running over TCP port 179. eBGP runs between ASes, iBGP inside one.
- BGP is about policy, not speed. Best path order (simplified): Weight → LOCAL_PREF → locally originated → shortest AS_PATH → origin → MED → eBGP over iBGP → lowest IGP cost → oldest → lowest router ID.
- Outbound (how you leave): set LOCAL_PREF. Inbound (how the world reaches you): AS-path prepending on the backup makes it look longer, or MED.
The full lesson has more: animations, a hands-on exercise, 3 quiz questions and spaced review cards. Open it free →