Chapter 4-5 - Part2 Flashcards
What is traditional destination-based forwarding?
matching each destination one by one, by giving a range of address and then depending on that range, sends to a link interface
What is longest prefix matching?
Use the LONGEST address prefix that matches destination address.
Centralized vs Decentralized Routing Rhythm classification
Centralized (Global): all routers have complete topology, info
Decentralized: iterative process of computation, exchanging info with neighbors
Explain Dijkstra’s Algorithm from a single source
- Find closest unchecked node (v) to source.
- Find all unchecked nodes of (v). Update Distance if shorter
- Repeat step 1.
What’s a problem with Dijkstra’s algorithm?
Route oscillations are possible.
Explain Bellman Ford Algorithm
Include:
- Direct Path from source to node
- Any neighboring node of a neighbor
Explain Distance Vector Algorithm. When does it send updates to neighboring nodes?
Each node:
- waits for change in link cost
- recompute DV
- Will only send updates if DV changes!