Академический Документы
Профессиональный Документы
Культура Документы
Link-state Routing"
CSE 123: Computer Networks
Alex C. Snoeren
Lecture 12 Overview"
Routing overview
Router Tasks"
Forwarding
Routing
Make sure that the next hop actually leads to the destination
Global decisions; distributed computation and communication
Can go slower (only important when topology changes)
Forwarding Options"
Source routing
Virtual circuits
Destination-based forwarding
Source Routing"
Routing
Forwarding
In practice
Virtual Circuits"
Routing
Forwarding
In practice
Destination-based Forwarding"
Routing
Forwarding
In Practice: IP routing
Routing Tables"
Next
Hop
B
C
A
D
E
Routing on a Graph"
1
1
F
=router
=link
=cost
G
9
Routing Challenges"
10
Intra-domain Routing"
Overall goals
Non-goals
Extreme scalability
Lying, and/or disagreements about edge costs
11
Basic Approaches"
Static
Link state
Type in the right answers and hope they are always true
So far
Distance vector
12
Link-state Routing"
Two phases
Reliable flooding
Tell all routers what you know about your local topology
Motivation
13
14
5
2
15
10
10
2
1
3
5
5
16
10
2
1
3
14
9
5
5
17
10
2
1
3
13
9
5
5
18
10
2
1
3
9
9
5
5
19
Example: Conclusion"
8
10
2
1
3
9
9
5
5
20
Reliable flooding
Challenges
Packet loss
Out-of-order arrival
Solutions
21
Flooding Example"
T=0
T=1
C
T=2
T=3
C
22
23
When to Flood?"
Periodically
24
Convergence"
25
Transient Disruptions"
Detection delay
2
3
2
1
1
4
4
5
3
26
Transient Disruptions"
2
3
2
1
1
4
4
5
3
2
3
2
1
4
3
27
Convergence Delay"
Detection latency
Flooding of link-state information
Shortest-path computation
Creating the forwarding table
28
Reducing Delay"
Faster detection
Faster flooding
Flooding immediately
Sending link-state packets with high-priority
Faster computation
29
30
Summary"
Convergence process
31
32