1
Spring2002 CS461 1
Routing
Outline
Algorithms Scalability
Spring2002 CS461 2
Overview
- Forwardingvs Routing
– forwarding:toselectanoutputportbasedon destinationaddressandroutingtable – routing:processbywhichroutingtableisbuilt
- NetworkasaGraph
- Problem:Findlowestcostpathbetweentwonodes
- Factors
– static:topology – dynamic:load
4 3 6 2 1 9 1 1 D A F E B C Spring2002 CS461 3
DistanceVector
- Eachnodemaintainsasetoftriples
– (Destination,Cost,NextHop)
- Directlyconnectedneighborsexchangeupdates
– periodically(ontheorderofseveralseconds) – whenevertablechanges(calledtriggered update)
- Eachupdateisalistofpairs:
– (Destination,Cost)
- Updatelocaltableifreceivea“better”route
– smallercost – camefromnext-hop
- Refreshexistingroutes;deleteiftheytimeout