Chapter 4: Network Layer: (PART 2)
Chapter 4: Network Layer: (PART 2)
Chapter 4: Network Layer: (PART 2)
Outline
IP: Internet Protocol
Routing Algorithms
Routing in the Internet
3
Routing Algorithms
Routing algorithm classificaiton
Global or decentralized information
Global
All routers have complete topology link cost info
Link state algorithms
Decentralized
Router knows physically connected neighbors link costs to
neighbors
Iterative process of computation
Exchange of info with neighbors
Distance vector algorithms
13
Routing Algorithms
Routing algorithm classificaiton
Static or Dynamic
Static
Routes change slowly over time
Dynamic
Routes change more quickly
Periodic update
In response to link cost changes
14
Routing Algorithms
A link-state routing algorithm
Dijkstra’s Algorithm
Network topology: Link costs known to all nodes
Computes least cost paths from one node to all other nodes
Iterative
Oscillations possible
15
Routing Algorithms
Distance vector algorithm
Bellman-Ford (dynamic programming)
Key idea: From time-to-time each node sends its own distance
vector estimate to neighbors
Iterative, asynchronous
Each local iteration caused by: local link cost change or DV update
message from neighbor
Distributed
Poisoned reverse
16