Lab Course “RouterLab”
OSPF - Open Shortest Path First (RFC 2328)
1 Some of the slides come from: http://www.ietf.org/proceedings/07dec/slides/IDRTut-0.pdf
Lab Course RouterLab OSPF - Open Shortest Path First (RFC 2328) - - PowerPoint PPT Presentation
Lab Course RouterLab OSPF - Open Shortest Path First (RFC 2328) Some of the slides come from: http://www.ietf.org/proceedings/07dec/slides/IDRTut-0.pdf 1 Miscellaneous Anything that needs discussion? OSPF 2 Internet Routing
OSPF - Open Shortest Path First (RFC 2328)
1 Some of the slides come from: http://www.ietf.org/proceedings/07dec/slides/IDRTut-0.pdf
OSPF
2
OSPF
routes for all destinations that I know and you tell me yours.
topology from local perspective
3
about my links and the addresses I originate on each link and listen to everyoneʼs announcement.
OSPF
up/down announcements
link
same map and performed the same path selection
4
OSPF
5
Wait for an announce Recompute Map Issue periodic announcement Recompute shortest-paths tree
i = 0, S0 = {u0 = s}, L (u0) = 0, L (v) = ∞,
v = u0
∀v ∈ (V \ Si) L (v) = min{L (v) , L (ui) + dui
v }
ui+1 = v′ : L (v′) = min∀v∈(V \Si){L (v)}
Si+1 = Si ∪ ui+1, i = i + 1
i =| V | −1
OSPF
6
OSPF
7
OSPF
8
OSPF
9
OSPF
address on the loopback)
10
R1 R3 R2 N1 R4
Router Router-LSA
From To Cost
R2 N1 1 R2 R3 9
Netw Network-LSA
From To Cost
R1 3 N1 R2 7 N1 R3 1
OSPF
11
Database
R1
R3 R2
N1
R4
1
3
9 7
1
3
9 7
OSPF
12
OSPF
13
RT1 RT2
DD Hello Hello DD DD LS-Request LS-Request DD DD LS-Update LS-Update
Down Down ExStart Init Loading Exchange Full ExStart Exchange Full
OSPF
14
OSPF
15
R1
1
R5 R4 R3 R2 R6
2 5 2 2 3 3 4
Destination Cost Next-Hop R1 R2 R3 R5 R4 R6
*
1 link 2 link 4 R3 6 R2 7 R3
OSPF
16
OSPF
summarize information
through Area 0
17
10.1.2.0/24 10.1.128.0/24 10.1.3.0/24
LSA-summary 10.3.0.0/16
OSPF
18
OSPF
19
OSPF
20