Comparison of LS and DV algorithms
LS: with n nodes, E links, O(nE) msgs sent each
DV: exchange between neighbors only
LS: O(n**2) algorithm requires O(nE) msgs
DV: convergence time varies
- may be routing loops
- count-to-infinity problem
Robustness: what happens if router malfunctions?
LS:
- node can advertise incorrect link cost
- each node computes only its own table
DV:
- DV node can advertise incorrect path cost
- each node’s table used by others
- error propagate thru network
-
-