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

Lessons

  1. 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. 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

Module quiz

1. A router has entries 10.0.0.0/8 and 10.1.0.0/16. A packet is for 10.1.5.5. Which entry is used?
2. What does the TTL field protect against?
3. Which routing family has every router know the whole network map?
4. Which two networks can be merged into 10.4.0.0/23?
5. What causes count to infinity?
6. Router B hears from neighbour A (link cost 3) that A reaches D at cost 4, and from neighbour C (link cost 1) that C reaches D at cost 7. What is B's best cost to D?

‹ Local networks and addressingTransport: TCP, reliability and congestion ›