02Chapter 2: Modeling a network as a weighted graphThis chapter assumes you know basic IP addressing and subnetting, the difference between a router and a switch, how a routing table uses longest-prefix match, and the graph terms node, edge, weight, and shortest path. It builds the model that every later chapter on distance-vector and link-state rou5 min read
03Chapter 3: Link costs and path metricsThis chapter assumes you know basic IP addressing and subnetting, what a routing table is, and how longest-prefix match picks a route. It also assumes you know the graph terms node, edge, weight, and shortest path. The previous chapter modeled a network as a weighted graph. Here we look at where the5 min read
04Chapter 4: Distance-vector routing: routing by rumorThis chapter assumes you know basic IP addressing, what a routing table is, how longest-prefix match picks a route, and the graph terms node, edge, weight and shortest path. It introduces the distance-vector idea and a first worked example. The exact update equation, convergence and loops come in la4 min read
05Chapter 5: The Bellman-Ford update equationThis chapter assumes you know what a routing table is, how longest-prefix match picks a route, and the graph terms node, edge, weight and shortest path. It also assumes you have read the previous chapter, which introduced distance-vector routing as "routing by rumor". Here we turn that idea into the4 min read
06Chapter 6: Exchanging vectors with neighborsThis chapter assumes you know what a routing table is, how longest-prefix match picks a route, and the Bellman-Ford update from the previous chapter. It covers the mechanics of the exchange itself: what a router sends, who receives it, how the receiver folds it into its table, and when the process s4 min read
07Chapter 7: Convergence and why it mattersThis chapter assumes you know basic IP addressing and subnetting, what a routing table is, how longest-prefix match picks a route, and the graph terms node, edge, weight, and shortest path. It also assumes you have seen the Bellman-Ford update from the previous chapters.5 min read
08Chapter 8: Routing loops and count to infinityThis chapter assumes you know how a distance-vector router builds its table from neighbors' advertisements (the Bellman-Ford update from the previous chapters). It also assumes you know what a next hop is and how convergence is defined. It explains why that update rule can fail when a link goes down5 min read
09Chapter 9: Split horizon, poison reverse, hold-down, and maximum metricThis chapter covers the four techniques distance-vector protocols use to limit routing loops and count to infinity. It assumes you know basic IP addressing, what a routing table is, and how the Bellman-Ford update works from the earlier chapters. All of the techniques are heuristics. They reduce the5 min read
10Chapter 10: RIP in practiceThis chapter covers how the Routing Information Protocol (RIP) behaves on real routers. It assumes you know the Bellman-Ford update, count to infinity, and split horizon with poison reverse from the earlier chapters. It also assumes you can read a routing table and a subnet mask.4 min read
11Chapter 11: Link-state routing: everyone holds the mapThis chapter assumes you know basic IP addressing, the difference between a router and a switch, how longest-prefix match picks a route, and the graph terms node, edge, weight and shortest path. You should also know that distance-vector routers exchange cost tables with their neighbors, as covered i4 min read
12Chapter 12: Hello packets and adjacenciesBefore a link-state router can flood anything, it needs to know who its neighbors are. Hello packets do this job. This chapter assumes you know the link-state idea from the previous chapters: every router floods its local links and then runs Dijkstra on a shared database. Here you will see how route5 min read
13Chapter 13: Flooding link-state advertisementsThis chapter covers how a link-state router tells every other router in its area about its links, and how the network makes sure every router ends up with the same data. It assumes you know what a router's neighbor adjacency is (from the previous chapter on hello packets), basic IP addressing, and t6 min read
14Chapter 14: The link-state databaseThis chapter assumes you know what a link-state advertisement (LSA) is, how hello packets form adjacencies, and how flooding spreads LSAs. It also assumes you can read a weighted graph. Here you will see what a router stores after flooding, how it decides whether a received LSA is new, and how the s4 min read
15Chapter 15: Computing shortest paths with Dijkstra's algorithmThis chapter assumes you know the link-state flow from the previous chapters: routers exchange hellos, flood link-state advertisements (LSAs), and end up with an identical link-state database (LSDB). It also assumes you know basic graph terms and how a routing table is used. Here you will see how ea4 min read
16Chapter 16: OSPF: areas, costs, and designated routersOSPF (Open Shortest Path First) is the most widely deployed link-state protocol in enterprise networks. This chapter covers the three features that shape a real OSPF design: areas, interface costs, and designated routers.7 min read
17Chapter 17: IS-IS compared with OSPFThis chapter assumes you know how OSPF builds its link-state database, floods LSAs, and runs SPF. It also assumes you know what an OSPF area, ABR, and DR are. IS-IS runs the same link-state algorithm. The differences are in the packet transport, the area model, the packet formats, and the extensibil5 min read
18Chapter 18: Choosing between distance-vector and link-stateThis chapter assumes you know basic IP addressing, the difference between a router and a switch, how longest-prefix match picks a route, and the graph terms node, edge, weight and shortest path. It also assumes you have seen the Bellman-Ford update, the Dijkstra computation, RIP and OSPF in earlier 4 min read
19Chapter 19: EIGRP and DUAL: an advanced distance-vector designThis chapter assumes you know the Bellman-Ford update, count to infinity, and the loop-prevention techniques from the earlier chapters. It also assumes you can read a routing table. EIGRP (Enhanced Interior Gateway Routing Protocol) is a distance-vector protocol that avoids routing loops by proof in4 min read
20Chapter 20: Where path-vector routing (BGP) fitsThis chapter assumes you have read the earlier chapters on distance-vector and link-state routing. It also assumes you know what an autonomous system is: a set of networks run by one organization under one routing policy. You should be comfortable with IP prefixes and with split horizon and count to4 min read