Routing
How routers forward packets with longest prefix match and aggregation, and how link-state and distance-vector algorithms fill the tables.
About 4 hours of study
Learning objectives
- Choose the matching forwarding entry with the longest prefix
- Merge networks into shorter prefixes
- Compare Dijkstra and Bellman-Ford routing and explain count to infinity
Lessons
- 1
Routing tables and longest prefix match
How a router decides where to send each packet: forwarding tables, the longest matching prefix, the default route, route aggregation and the TTL.
- 2
Routing algorithms: link state and distance vector Intermediate
How routers fill their tables: link-state routing with Dijkstra (OSPF), distance-vector routing with Bellman-Ford (RIP), and the count-to-infinity problem.
Module practice
- Is the address in this network?Easy
- Longest prefix matchMedium
- Aggregate routesHard
- Best neighbour for a destinationEasy
- Cheapest path with DijkstraMedium
- Distance-vector routingMedium
- Count to infinityHard
Module quiz
‹ Local networks and addressingTransport: TCP, reliability and congestion ›