Routing Algo
Routing Algo
Routing
■ Looping
■ Packet forwarded by a router eventually returns to the same
router
■ May occur when changes in connectivity are not
propagated fast enough to all other routers
■ An important pathology that must be prevented in routing
algorithms
I● distance
● K
d1
d2
d1 + d2 is
J ●
d3 minimal
Other path from J to
K d3 > d2
Set of all optimal routes as
• from all sources d1 + d3 > d1 + d2
• to a given destination
is a tree: sink tree
Sink Trees
■ The set of optimal routes to a particular node
forms a sink tree.
■ Sink trees are not necessarily unique
■ Goal of all routing algorithms
■ Discover sink trees for all destinations
Least-Cost Routing
■ Discard when 0
seen
Properties of Flooding