Routing algorithms

10
Routing algorithms

description

Routing algorithms. D (v): the cost from the source node to destination that has currently the least cost . p (v): previous node along current least cost path from source to dest . N : set of nodes whose shortest path from the source is definitively known. - PowerPoint PPT Presentation

Transcript of Routing algorithms

Page 1: Routing algorithms

Routing algorithms

Page 2: Routing algorithms
Page 3: Routing algorithms
Page 4: Routing algorithms
Page 5: Routing algorithms

D(v): the cost from the source node to destination that has currently the least cost.p(v): previous node along current least cost path from source to dest. N: set of nodes whose shortest path from the source is definitively known

Page 6: Routing algorithms
Page 7: Routing algorithms
Page 8: Routing algorithms
Page 9: Routing algorithms
Page 10: Routing algorithms

Comparison between algorithms

• Message complexity– LS is more complex since changes in the links needs to be sent to all nodes.– DV sends message only if the new link cost results in a changed cost path for nodes attached

to that link.

• Speed of convergence– DV converges slower.– DV do not scale well because of the "count to infinity problem”.

• Robustness– DV is less robust since an incorrect node calculation can spread through the whole network.– LS is more robust since each node only calculus it's own routes.

LS: Link state algorithmDV: Distance vector algorithm