Routing, Performance, Layers



Dijkstra's shortest path algorithm



Link-State Routing



Distance-Vector Routing



Routing: In-class exercises

  1. flooding: one person sends, everyone receives
  2. link-state routing: everyone in a network floods the information about their neighbors to everyone else in the network, each router builds their own map and routing table. The information is resent whenever it changes.
  3. distance-vector routing: everyone tells all their neighbors about who they can reach and at what distance. I send my information to all my neighbors whenever my routing table changes.