Learning Outcome Learning Outcome
Learning Outcome Learning Outcome
Bytheendofthischapter,studentswillbeabletocreate h d f hi h d ill b bl
dynamicroutingtablesbasedonroutingalgorithms
FACULTYOFELECTRONIC&COMPUTERENGINEERING UNIVERSITITEKNIKALMALAYSIAMELAKA
FACULTYOFELECTRONIC&COMPUTERENGINEERING UNIVERSITITEKNIKALMALAYSIAMELAKA
ChapterContents
BENT317 73DATACOM MMUNICATIO ONS&NETW WORKING
RoutinginPacketSwitchedNetwork i i k i h d k Routingstrategies
FACULTYOFELECTRONIC&COMPUTERENGINEERING UNIVERSITITEKNIKALMALAYSIAMELAKA
FACULTYOFELECTRONIC&COMPUTERENGINEERING UNIVERSITITEKNIKALMALAYSIAMELAKA
Routing
BENT317 73DATACOM MMUNICATIO ONS&NETW WORKING
Routing
BENT317 73DATACOM MMUNICATIO ONS&NETW WORKING
Akeydesignissueinswitchednetworkssuchascircuit k d i i i i h d k h i i
Routingincircuitswitchingnetworksaretraditionally i i i i i hi k di i ll
involvedastaticroutingstrategywiththeuseofalternate pathstorespondtoincreasedload paths to respond to increased load Theroutingfunctionofapacketswitchingnetwork attemptstofindtheleastcostroutethroughthe tt t t fi d th l t t t th h th network,withcostbasedonnumberofhops,expected delayorothermetrics. delay or other metrics
FACULTYOFELECTRONIC&COMPUTERENGINEERING UNIVERSITITEKNIKALMALAYSIAMELAKA
FACULTYOFELECTRONIC&COMPUTERENGINEERING UNIVERSITITEKNIKALMALAYSIAMELAKA
RoutinginPacketSwitchedNetwork
BENT317 73DATACOM MMUNICATIO ONS&NETW WORKING
PerformanceCriteria
BENT317 73DATACOM MMUNICATIO ONS&NETW WORKING
FACULTYOFELECTRONIC&COMPUTERENGINEERING UNIVERSITITEKNIKALMALAYSIAMELAKA
FACULTYOFELECTRONIC&COMPUTERENGINEERING UNIVERSITITEKNIKALMALAYSIAMELAKA
ExamplePacketSwitchedNetwork
BENT317 73DATACOM MMUNICATIO ONS&NETW WORKING BENT317 73DATACOM MMUNICATIO ONS&NETW WORKING
RoutingStrategies
Alargenumberofroutingstrategieshaveevolvedfor l b f i i h l df
FACULTYOFELECTRONIC&COMPUTERENGINEERING UNIVERSITITEKNIKALMALAYSIAMELAKA
FixedRouting
BENT317 73DATACOM MMUNICATIO ONS&NETW WORKING
FixedRoutingTables
BENT317 73DATACOM MMUNICATIO ONS&NETW WORKING
Acentralroutingdirectoryiscreated,usuallystoredatanetworkcontrol
center
The directory shows the identity of the next node on the route for each Thedirectoryshowstheidentityofthenextnodeontherouteforeach
FixedRoutingTables
BENT317 73DATACOM MMUNICATIO ONS&NETW WORKING BENT317 73DATACOM MMUNICATIO ONS&NETW WORKING
Flooding
Nonetworkinforequired ki f i d Packetsentbynodetoeveryneighbor Incomingpacketsretransmittedoneverylinkexcept
Eachnodeneedonlystoreasinglecolumnofroutingdirectory Thenodesdirectoryshowsthenextnodetotakeforeachdestination
FACULTYOFELECTRONIC&COMPUTERENGINEERING UNIVERSITITEKNIKALMALAYSIAMELAKA
FloodingExample
BENT317 73DATACOM MMUNICATIO ONS&NETW WORKING BENT317 73DATACOM MMUNICATIO ONS&NETW WORKING
PropertiesofFlooding
Allpossibleroutesaretried ll ibl i d Veryrobust Atleastonepacketwillhavetakenminimumhopcount
route
Canbeusedtosetupvirtualcircuit
theconnectivityofthenetwork
FACULTYOFELECTRONIC&COMPUTERENGINEERING UNIVERSITITEKNIKALMALAYSIAMELAKA
FACULTYOFELECTRONIC&COMPUTERENGINEERING UNIVERSITITEKNIKALMALAYSIAMELAKA
RandomRouting
BENT317 73DATACOM MMUNICATIO ONS&NETW WORKING
AdaptiveRouting
BENT317 73DATACOM MMUNICATIO ONS&NETW WORKING
Usedbyalmostallpacketswitchingnetworks db l ll k i hi k Routingdecisionschangeasconditionsonthenetwork
change
Failure Congestion
Requiresinformationaboutnetwork Decisionsmorecomplex
FACULTYOFELECTRONIC&COMPUTERENGINEERING UNIVERSITITEKNIKALMALAYSIAMELAKA
FACULTYOFELECTRONIC&COMPUTERENGINEERING UNIVERSITITEKNIKALMALAYSIAMELAKA
AdaptiveRouting
BENT317 73DATACOM MMUNICATIO ONS&NETW WORKING BENT317 73DATACOM MMUNICATIO ONS&NETW WORKING
LeastCostAlgorithms
Mostleastcostroutingalgorithmsinuseinpacket l i l ih i i k
Tradeoffbetweenqualityofnetworkinfoandoverhead d ff b li f ki f d h d Themoreinformationthatisexchanged,andthemore frequentlyitisexchanged,thebetterwillbetherouting f tl it i h d th b tt ill b th ti decisionsthateachnodemakes However the information is itself a load on the networks However,theinformationisitselfaloadonthenetworks, causingaperformancedegradation
switchingnetworksarevariationsofoneoftwocommon algorithms
Dijkstras algorithm B ll BellmanFordalgorithm F d l ith
FACULTYOFELECTRONIC&COMPUTERENGINEERING UNIVERSITITEKNIKALMALAYSIAMELAKA
FACULTYOFELECTRONIC&COMPUTERENGINEERING UNIVERSITITEKNIKALMALAYSIAMELAKA
Dijkstras Algorithm
BENT317 73DATACOM MMUNICATIO ONS&NETW WORKING BENT317 73DATACOM MMUNICATIO ONS&NETW WORKING
Dijkstras Algorithm
Findshortestpathsfromgivensourcenodetoallother i d h h f i d ll h
Namedafteritsinventor,Dutch
nodes,bydevelopingpathsinorderofincreasingpath length
N=setofnodesinthenetwork s=sourcenode d T=setofnodessofarincorporatedbythealgorithm
FACULTYOFELECTRONIC&COMPUTERENGINEERING UNIVERSITITEKNIKALMALAYSIAMELAKA
FACULTYOFELECTRONIC&COMPUTERENGINEERING UNIVERSITITEKNIKALMALAYSIAMELAKA
Dijkstras Algorithm
BENT317 73DATACOM MMUNICATIO ONS&NETW WORKING BENT317 73DATACOM MMUNICATIO ONS&NETW WORKING
Dijkstras Algorithm
Step1[Initialization] [ i i li i ] T={s}Setofnodessofarincorporatedconsistsofonly sourcenode d L(n)=w(s,n)forns I ii l Initialpathcoststoneighboringnodesaresimplylinkcosts h i hb i d i l li k Step2[GetNextNode] FindneighboringnodenotinTwithleastcostpathfroms IncorporatenodeintoT Alsoincorporatetheedgethatisincidentonthatnodeand anodeinTthatcontributestothepath
[email protected]
FACULTYOFELECTRONIC&COMPUTERENGINEERING UNIVERSITITEKNIKALMALAYSIAMELAKA
currentlyknown
Attermination,L(n)iscostofleastcostpathfromston
FACULTYOFELECTRONIC&COMPUTERENGINEERING UNIVERSITITEKNIKALMALAYSIAMELAKA
Dijkstras Algorithm
BENT317 73DATACOM MMUNICATIO ONS&NETW WORKING BENT317 73DATACOM MMUNICATIO ONS&NETW WORKING
Dijkstras Algorithm
Attermination,valueL(x)associatedwitheachnodexis i i l ( ) i d ih h d i
FACULTYOFELECTRONIC&COMPUTERENGINEERING UNIVERSITITEKNIKALMALAYSIAMELAKA
FACULTYOFELECTRONIC&COMPUTERENGINEERING UNIVERSITITEKNIKALMALAYSIAMELAKA
FACULTYOFELECTRONIC&COMPUTERENGINEERING UNIVERSITITEKNIKALMALAYSIAMELAKA
FACULTYOFELECTRONIC&COMPUTERENGINEERING UNIVERSITITEKNIKALMALAYSIAMELAKA