Presentation is loading. Please wait.

Presentation is loading. Please wait.

Link State Route Calculations

Similar presentations


Presentation on theme: "Link State Route Calculations"— Presentation transcript:

1 Link State Route Calculations
Calculate shortest path for node s Dijkstra’s Algorithm: s source node. Dn cost of the least-cost path from node s to node n M = {s}; for each n  M Dn = dsn; while (M  all nodes) do Find w  M for which Dw = min{Dj ; j  M}; Add w to M; Dn = minw [ Dn, Dw + dwn ]; Update route; enddo Malathi Veeraraghavan (originals by Jörg Liebeherr)

2 Example Malathi Veeraraghavan (originals by Jörg Liebeherr)

3 Example (at node 1) Iteration M D1 D2 D3 D4 D5 D6 Init
Malathi Veeraraghavan (originals by Jörg Liebeherr)

4 Answer Dijkstra’s algorithm Malathi Veeraraghavan
(originals by Jörg Liebeherr)

5 Resulting Routing Tree
The tree is translated into a routing table at node 1: Destination Next Hop Malathi Veeraraghavan (originals by Jörg Liebeherr)


Download ppt "Link State Route Calculations"

Similar presentations


Ads by Google