Cheat sheets

CN-11Cheat sheet1 pageIn a paid pack

Distance-Vector Routing

Distance-vector routing for GATE CS: the Bellman-Ford equation, what each router knows and sends, one table update from neighbour vectors, synchronous rounds on a six-router network until convergence, why good news travels fast and bad news slowly, the count-to-infinity table after a link failure, and how split horizon and poison reverse help (and where they fail). RIP's choices are tagged as implementation details. All tables come from a script.

Diagrams from CN-11

CN-12Cheat sheet1 pageIn a paid pack

Link-State Routing

Link-state routing for GATE CS: what a link-state advertisement holds, reliable flooding with sequence numbers and its message count, Dijkstra's algorithm traced step by step on a six-router network with a tie, reading paths and next hops into a forwarding table, complexity, and a side-by-side comparison with distance-vector routing, plus a solved 2025 matching question. Every trace comes from a script.