尊敬的 微信汇率:1円 ≈ 0.046166 元 支付宝汇率:1円 ≈ 0.046257元 [退出登录]
SlideShare a Scribd company logo
CSC-3080
Data Communication and Network
Title Routing
Group Member:
Mohsin Shoukat 12-NTU-1065
Shahmeer Ali 12-NTU-1083
Submitted to: Sir Asif Habib.
Submission Date: 24/03/2015
..………………… /………………….. .................................
Members Sign Teacher Sign
Acknowledgement
We agree all the content written in this documentation is our selves’ .We are
responsible to this. We are thankful to our teacher Mr. Asif Habib to help write this
document.
Table of Contents
What is Router .................................................................................................................................1
What is Routing................................................................................................................................1
Desirable Property of Routing Algorithms......................................................................................2
Design Parameter of Routing Algorithms ........................................................................................2
Routing Strategies ...........................................................................................................................3
Fixed Routing ...................................................................................................................................3
Least Cost Path ................................................................................................................................4
Dijkstra Algorithm............................................................................................................................5
Flooding Routing ..............................................................................................................................6
Selective Flooding ............................................................................................................................7
Utilities of Flooding ..........................................................................................................................7
Random Routing ..............................................................................................................................8
Adaptive Routing............................................................................................................................10
Distance Vector Routing ................................................................................................................11
Link State Routing ..........................................................................................................................12
Multicast Routing............................................................................................................................. 13
1
Router
A router is networking hardware device which send and receive data packets to other
networks.
Routing Defined
From particularstationtoparticular station, i.e. fromsource todestinationthere are manypath, sothe
routingisto choose the bestcost effectivepath,whichisselectedbyroutingalgorithm.
Detail:
Thisis packetswitchnetwork,numberof stationA,B,ETC , numberof nodesswitching,which
connected toothernodesandstation, suppose stationA -> D , you can see there isnotpath , other
words, bothare not directly connect,so itcan go several path, i.e. 1-2-6 ,itcan alsogo 1-3-5-6 or it can
go 1-4-6
so there are several routes,sowhichone isthe best, so the keypointisfromS TO D the bestcost
effectivepathisselection,andthisselectionbyroutingalgorithm
Routingisone of mostcomplex andcrucial aspectof packetswitched network, itplay animportantrole
innetworking.
2
Desirable Properties of Routing
1: Correctness andsimplicity:self-explanatory
to delivertocorrectlocation station, androutingalgorithmshouldbe simple, otherwiseitputoverhead
on nodes.
2: Robustness:Networkisqof packetsdynamically change with time, alsopossible nodefailure, so
underthe failure congestion sothatroutingalgorithmcansendpacketto its locationinthiscase.
3:Stability:Qof packetschangingin networksuppose thereistrafficinthispart, so routing algorithm
diverttootherpart maycongestion,so quick changingconditionitalsocan handle ,so itshouldcan
bearstability.
4: Fairness andoptimality: obviousrequirementbut confliction.
What isdesired eachnode ,stationhave each particularrouting,but some packetsgive priority ,but
thisisnot fairness,solike we give priority tosome adjacentnode ,butlongnodesdon’tgetfairness,so
there istrade off , givingsome kindof weightage.
5: Efficiency:Minimumcomplex,routing algorithmshouldbe simple not complexsothatitcan’t make
overheads, itshouldsimple thatItcan deliverpackettoitsdestination.
Design Parameter of Routing Algorithm
Performance criteria:numberofhopswhenpacketgo to one to node to othernode to itsD, it passesto
numberof hops, cost, if bandwidthishighcostis lessitinversely proportion,Delaydepends onsize of Q
, if in particulate packetif thisis large miserable delaywill there , throughput numberof packets
deliverperunittime …….These are variousparameterforperformance parameter
Decision time:whenitdesignitshould routing, perpacket(datagram),persession(virtual circuit) in
virtual circuitforparticularstation,all packetssendtothispath.
Decisionplane:whodecidetorouting,each node decide toselectionparticularpath
EACHNODE(Distributed), central Node(centralized) centernode whichdecidethe routing, originated
node(source) orsource node decide the routing
Network information source:there are algorithmwhichdon’ttake cost, topology none ,QLENGTH take
no othergatherinformation local ,particularnode gatheradjacentnode information adjacentnode , it
may be alongpath route nodesalong route ,or itcan be global a node gatherinfoof all nodesafter
several time tomake algorithmtablesall nodes.
3
Network information updatingtime:itcanbe continuous local whatcan info,all node periodic, major
loadchange congestionsmajorload change, topologychange.
So these are the designparameter which shouldtake inmindduring developingof routingalgorithm.
Routing Strategies
A large numberof strategiesare develop till now here are some popular
 Fixedrouting
 Floodingrouting
 Randomrouting
 Flowbasedrouting
 Adaptive/dynamicrouting
Fixed Routing
A route isselectedforeach source-destinationpairof nodesinnetwork.
The routesare fixedtheyonlymaychange if there ischange intopologyinnetwork.
That meanfor givingnetworkthe routingisfixed,
So howit is fixed?There are
FixedRouting:Example
A central routingmatrix iscreatedbased onleast-costpath, whichisstoredinnetworkcontrol center.
The matrix showfor each source-destinationpartof node, the identity of nextnode toroute.
From
Node
To Node
1 2 3 4 5 6
1 - 2 3 2 2 2
2 1 - 1 6 6 6
3 1 1 - 4 5 1
4 6 6 3 - 5 6
5 4 4 3 4 - 4
6 2 2 2 4 4 -
SUCH a bigroutingdirectory iscreatedinnetworkcontrol center.
Thishas a big drawbacks.If this NC centerfail everythingfail, soitisnot very reliable.
4
Otherapproach to thisisthat create directoryof each node, eachmeannode have copyof directory
From the mainrouting matrix, routingtablestobe usedby eachindividualnode canbe developed.
So thisis disturbed routingalgorithms
As directoryispacketreceive and sendittoits nextnode.
Questionishowthese directory created?
Least-Cost Path
That can be createdonleast-costpath.
A cost isassociated witheachlink.
The simplestcriteriaischoose minimum-hoproute throughnetwork
-easily measured criterion.
A generalizationisleast –costrouting, I.e. bandwidth,q length, distance
For any pairof attach station, the leastcostroute through the networkislookedfor.
Several waystochoose optimal path.
5
- Dijkstraalgorithm
-Bellman-fordalgorithm.
What theyalgorithmsdo, forgivingtopology fromsourstoall destination theyfindthylestcostroute
Dijkstra Algorithm
It findthe leastcostpaths fromgivennode toall othernodesinorderto increasingpathlength.
The algorithmworkinstatic conditiononthe topology andlinkcost.
These are basic steps:
-initialization;M={s} , Dn =DSN for n!=s
-findneighboringnodesnotinMhas least-costpathfroms include inM.
-update the leastcostpath.
Iteration M C(2) path C(3) path C(4) path C(5) path C(6) path
1 (1) 2, 1-2 2, 1-3 ------- ------- -------
2 (1,2) 2, 1-2 2, 1-3 6,1-2-4 ------- 3, 1-2-6
3 (1,2,3) 2, 1-2 2, 1-3 5,1-2-6-4 7, 1-2-6-4-5 3, 1-2-6
4 (1,2,3,6) 2, 1-2 2, 1-3 5, 1-2-6-4 7, 1-2-6-4-5 3, 1-2-6
5 (1,2,3,4,6) 2,1-2 2, 1-3 5, 1-2-6-4 7, 1-2-6-4-5 3, 1-2-6
6 (1,2,3,4,5,6) 2, 1-2 2, 1-3 5, 1-2-6-4 7,1-2-6-4-5 3,1-2-6
So fromthisyou can create routingtable for centerroutingor distributedsystem follow byleastcost
path Dijkstraalgorithm.
6
Fixed routing
 Advantages:
Simple, costgiven, leastcostpathgivenyoucan use it simple
Works well forstable loadnetwork
Same for virtual-circuitordatagram.
 Problems:
Lack of flexibility, if networkconditionchange itfail
Doesnot react to failure network, orcongestion condition
Flooding Routing
Require nonetworkanyinformationwhatsoever
Everyincomingpacketissendto all node exceptfromwhichitcome.
Do deliverapacketlarge numberof packetscopy generate these are alarmcondition
7
Advantages
All possible routinesfromSto D are tried.Soif there’sispath italwaysreachto its D. itsRobotsmeanif
any route failure packetbutwill reachfromotherpath.so its’ reliable.
All routesare tried,soat leastone packetgoestoshortestroute.
All nodes directorindirectly visited.
Problem
Generate large numbercopiesare generate whichmake congestion.
Suitable if use damping mechanismsothatlarges numberof packetsare not make.
Technique To Use
Hop-Count: a hopcounteris containinheaderof packetand it decrease eachone time whenpass
throughthe node and discardwhenitreach to zero.
The senderinitialize the hopcounterif notknownitissetto full diameterof subnet. Worstcase value.
Keeptrack of packetswhichare responsible forfloodingusingasequence number.Avoidsendingthem
out secondtime.
Selective Flooding
A variationwhichis slightly more practical isselective flooding.
The router don’tsendpacketstoin all directionbutinthe directiontothe destination. Give weightage
to check whetheritisgoingto D or movingawayto D.
Utilities Of Flooding
Floodingis robustness:incase of war or loador topology change undersuchcase thisis veryuseful
May be usedinvirtual circuitlike whenpacketreachtoD from least costpath it sendacknowledgment
and itsave.
Floodingalwaysusesshortestpathsince itexplore everypossible pathtoD.
Some time to messagesall nodessoit’s good.To upgrade infothishelpful
Ratherits disadvantagesit’salsohave imp utilities.
8
Random Routing
Thishas the simplicityandrobustnessof floodingwithfarlesstrafficload.
A node onlyselective one outgoingpathforretransmissionof incomingpacket.
The outgoinglinkischosenat random,excludingthe linkonwhichthe packetcome.
9
How You Do It Then?
If youit randomthenyou don’tneedthe infoof the networklike how manypacketsare inQueue
bandwidth etc.
Or you can do inanothermethodlike roundrobinfashioninwhichyouchose randomandchose a link
and nexttime youchoose otherlink etc.andreadto you destination.Soyou distribute the load.Butthis
some have limitationlike insteadof packetgoing towards destinationitmaygo towardssource side
So thiscan approx. overcome by.
A refinementistoassigna probabilityto eachoutgoinglinkandtoselectthe linkbasedonthat
probability.
The actual route will typicallynot be the least-costpath.
So here the Data rate isusedas networkinformation.Higherthe Date rate of particularlinkis
probabilityisselectedinthe network.
It has robustness because ituse higherdatarate pathso packetshall be delivertothe destinationbutit
alsohas a limitationlikeitdon’tselectcosteffectivepath.
10
Flow-Base Routing
So here we previouslyuse networking info, topologybutnotconsiderload.
An approachthat usesbothtopologyloadinformationforrouting.
Flowbetweenapairof nodesisrelativelystable andpredictable.That’smeanif you know the traffic
loadof a nodesanddata rate thenyoucan calculate the flow betweenapairof nodes.
For a givenline if the capacityandaverage flow is known,itispossible tocalculate tomeanpacketdelay
by queuingtheory.
From the mean delay of all the lines,itiseasyto calculate the flow-weightaverage togetmeandelayfor
the whole subnet.bythiswe use Dijkstraalgorithmandmake aroutingtable .soitalso fix,statictype
routing.
Thenthe routingalgorithmfindthe minimumaveragedelay.
Adaptive Routing
Routingdecisionchange asconditionon the networkchange.
Two principal thataffectingroutingdecision.
Failure:whenanode, linkfail itcan’tlongeruse asa route.
Congestion:whenaparticularareaof the network congested itisdesirable tomove the route packets
aroundthe congestion area.
So adaptive routingchangesdynamicallywiththe networkingcondition.
Classification onthe basicof informationsource:local,adjacentnodes,all nodes.
For adaptive routingto be, there mustbe exchange networkinformationamongthe nodes.
Typically metrics:
Numberof hops (simplestone butthe notuse i.e. forparticularS TO D how many hopspackets use)
Time delayinmsec(fora particularS to D, queue lengthisknow we can call the time delay)
Total numberof packets queued innetwork.
How muchof information:
11
More informationexchange betterroutingmore overhead
More frequentbetterroutingmore overhead
So there istrade off.
Draw Backs Of Adaptive Routing
Routingisdone dynamically changingconditionsoitput Burdon on switchingnodes.
So if networkconditionchangesveryquicklylike congestionthenwhatwill happenitproduce
congestion-oscillation. I.e.if there istrafficloadatone area we move the traffictoaround area then
whatwill happentrafficonotherareabecome congestive.
So thisproblemis solve by thushing.
Advantages Of Adaptive Routing
- Improve performance
- Can aidin congestion control
- Widelyused
Distance Vector Routing
Key characteristic:
1: Knowledgeaboutentire network.
2: Routingonlyto neighbor.
3: Informationsharingatregularinterval.
Each node maintainthe routingtable havingone entryforeachnode withtwootherfields;preferred
nextnode andcost estimate of distance ,basedonone of the matrices.
Network ID Cost Next Router
12
Link State Routing
Basic steps:
Identifythe neighboringnodes.
Measure the delayor cost to eachof itsneighbor.
Form a packetcontainall the information.
Sendthe packetsto all othernodes(flooding)
Compute the shortestpathto everyothernode (Dijkstraalgorithm).
Here in linkstate informationgatherisonlyfromitsneighboringnodesratherentire networklike
distance routing.
So the basicideais itgatherinformationto itsneighboringnode androute toall like flooding.
Andinformationsharinggatherisdone afterregularinterval.
Advertise ID NetworkID
(destination)
Cost NextRouter
So a linkstate packetformsand spreaditin flooding strategies.
So as informationisgatheratregularinterval everynode make some kindof itsdatabase andwiththe
passage of time thisdatabase become large. Anditas usesinformationgatheringatregularinterval it
needmore computational powerandmemory.solink state routingissome kindof expensivethen
distance routing.Howeverismore scalable thandistance Routing.
13
Multicast Routing
As we studyroutingisthe sendinginformationfromSto D. butin some case we have to sendsome
message toa group of peoples.Sendingapacketstoa groupof people isknownasMulticastingRouting.
i.e. Service providerlikemovies, TV channelswantto sendingparticularmessagestoparticulargroupof
peoplesthenthistype of routingisdone by Multicaststrategies.
To do multicastroutingeachnode computesaspanningtree coveringall nodesinsubnet.Firstwhena
packetsissendfirstnode findthe spanningtree towardsselectivegrouporDestination.Andafterthatit
sendpacketto fromthat spanningtree route. Anothertechnique isalsowe canuse like floodingwhich
we discuss recently.
Reference:
Data.And.Computer.Communications.8e.WilliamStallings
------------------------------------------------------------------------------------------------------------------------------------------

More Related Content

What's hot

International Journal of Computational Engineering Research(IJCER)
 International Journal of Computational Engineering Research(IJCER)  International Journal of Computational Engineering Research(IJCER)
International Journal of Computational Engineering Research(IJCER)
ijceronline
 
Performance of the Maximum Stable Connected Dominating Sets in the Presence o...
Performance of the Maximum Stable Connected Dominating Sets in the Presence o...Performance of the Maximum Stable Connected Dominating Sets in the Presence o...
Performance of the Maximum Stable Connected Dominating Sets in the Presence o...
csandit
 
Simulation and Performance Analysis of AODV using NS-2.34
Simulation and Performance Analysis of AODV using NS-2.34Simulation and Performance Analysis of AODV using NS-2.34
Simulation and Performance Analysis of AODV using NS-2.34
Shaikhul Islam Chowdhury
 
12 routing
12 routing12 routing
12 routing
Sanjay Thakare
 
An Adaptive Routing Algorithm for Communication Networks using Back Pressure...
An Adaptive Routing Algorithm for Communication Networks  using Back Pressure...An Adaptive Routing Algorithm for Communication Networks  using Back Pressure...
An Adaptive Routing Algorithm for Communication Networks using Back Pressure...
IJMER
 
Routing in « Delay Tolerant Networks » (DTN) Improved Routing With Prophet an...
Routing in « Delay Tolerant Networks » (DTN) Improved Routing With Prophet an...Routing in « Delay Tolerant Networks » (DTN) Improved Routing With Prophet an...
Routing in « Delay Tolerant Networks » (DTN) Improved Routing With Prophet an...
CSCJournals
 
[12] Nup 07 3
[12] Nup 07 3[12] Nup 07 3
[12] Nup 07 3
Rafael Scudelari
 
D0441722
D0441722D0441722
D0441722
IJERA Editor
 
Protocol Enhancements in LEACH
Protocol Enhancements in LEACHProtocol Enhancements in LEACH
Protocol Enhancements in LEACH
Editor IJCATR
 
Routing in telephone networks
Routing in telephone networksRouting in telephone networks
Routing in telephone networks
Renjith Ravi
 
F0313539
F0313539F0313539
F0313539
iosrjournals
 
Efficient Broadcast Authentication with Highest Life Span in Wireless Sensor ...
Efficient Broadcast Authentication with Highest Life Span in Wireless Sensor ...Efficient Broadcast Authentication with Highest Life Span in Wireless Sensor ...
Efficient Broadcast Authentication with Highest Life Span in Wireless Sensor ...
IRJET Journal
 
Is Multipath Routing Really a Panacea?
Is Multipath Routing Really a Panacea?Is Multipath Routing Really a Panacea?
Is Multipath Routing Really a Panacea?
d_medhi
 
International Journal of Engineering Research and Development
International Journal of Engineering Research and DevelopmentInternational Journal of Engineering Research and Development
International Journal of Engineering Research and Development
IJERD Editor
 
Clustering based Time Slot Assignment Protocol for Improving Performance in U...
Clustering based Time Slot Assignment Protocol for Improving Performance in U...Clustering based Time Slot Assignment Protocol for Improving Performance in U...
Clustering based Time Slot Assignment Protocol for Improving Performance in U...
journal ijrtem
 
Implementation on Data Security Approach in Dynamic Multi Hop Communication
 Implementation on Data Security Approach in Dynamic Multi Hop Communication Implementation on Data Security Approach in Dynamic Multi Hop Communication
Implementation on Data Security Approach in Dynamic Multi Hop Communication
IJCSIS Research Publications
 
A DELAY – CONSTRAINED IN MULTICAST ROUTING USING JIA ALGORITHM
A DELAY – CONSTRAINED IN MULTICAST ROUTING USING JIA ALGORITHMA DELAY – CONSTRAINED IN MULTICAST ROUTING USING JIA ALGORITHM
A DELAY – CONSTRAINED IN MULTICAST ROUTING USING JIA ALGORITHM
IJCI JOURNAL
 
A PROPOSAL FOR IMPROVE THE LIFETIME OF WIRELESS SENSOR NETWORK
A PROPOSAL FOR IMPROVE THE LIFETIME OF WIRELESS SENSOR NETWORKA PROPOSAL FOR IMPROVE THE LIFETIME OF WIRELESS SENSOR NETWORK
A PROPOSAL FOR IMPROVE THE LIFETIME OF WIRELESS SENSOR NETWORK
IJCNCJournal
 

What's hot (18)

International Journal of Computational Engineering Research(IJCER)
 International Journal of Computational Engineering Research(IJCER)  International Journal of Computational Engineering Research(IJCER)
International Journal of Computational Engineering Research(IJCER)
 
Performance of the Maximum Stable Connected Dominating Sets in the Presence o...
Performance of the Maximum Stable Connected Dominating Sets in the Presence o...Performance of the Maximum Stable Connected Dominating Sets in the Presence o...
Performance of the Maximum Stable Connected Dominating Sets in the Presence o...
 
Simulation and Performance Analysis of AODV using NS-2.34
Simulation and Performance Analysis of AODV using NS-2.34Simulation and Performance Analysis of AODV using NS-2.34
Simulation and Performance Analysis of AODV using NS-2.34
 
12 routing
12 routing12 routing
12 routing
 
An Adaptive Routing Algorithm for Communication Networks using Back Pressure...
An Adaptive Routing Algorithm for Communication Networks  using Back Pressure...An Adaptive Routing Algorithm for Communication Networks  using Back Pressure...
An Adaptive Routing Algorithm for Communication Networks using Back Pressure...
 
Routing in « Delay Tolerant Networks » (DTN) Improved Routing With Prophet an...
Routing in « Delay Tolerant Networks » (DTN) Improved Routing With Prophet an...Routing in « Delay Tolerant Networks » (DTN) Improved Routing With Prophet an...
Routing in « Delay Tolerant Networks » (DTN) Improved Routing With Prophet an...
 
[12] Nup 07 3
[12] Nup 07 3[12] Nup 07 3
[12] Nup 07 3
 
D0441722
D0441722D0441722
D0441722
 
Protocol Enhancements in LEACH
Protocol Enhancements in LEACHProtocol Enhancements in LEACH
Protocol Enhancements in LEACH
 
Routing in telephone networks
Routing in telephone networksRouting in telephone networks
Routing in telephone networks
 
F0313539
F0313539F0313539
F0313539
 
Efficient Broadcast Authentication with Highest Life Span in Wireless Sensor ...
Efficient Broadcast Authentication with Highest Life Span in Wireless Sensor ...Efficient Broadcast Authentication with Highest Life Span in Wireless Sensor ...
Efficient Broadcast Authentication with Highest Life Span in Wireless Sensor ...
 
Is Multipath Routing Really a Panacea?
Is Multipath Routing Really a Panacea?Is Multipath Routing Really a Panacea?
Is Multipath Routing Really a Panacea?
 
International Journal of Engineering Research and Development
International Journal of Engineering Research and DevelopmentInternational Journal of Engineering Research and Development
International Journal of Engineering Research and Development
 
Clustering based Time Slot Assignment Protocol for Improving Performance in U...
Clustering based Time Slot Assignment Protocol for Improving Performance in U...Clustering based Time Slot Assignment Protocol for Improving Performance in U...
Clustering based Time Slot Assignment Protocol for Improving Performance in U...
 
Implementation on Data Security Approach in Dynamic Multi Hop Communication
 Implementation on Data Security Approach in Dynamic Multi Hop Communication Implementation on Data Security Approach in Dynamic Multi Hop Communication
Implementation on Data Security Approach in Dynamic Multi Hop Communication
 
A DELAY – CONSTRAINED IN MULTICAST ROUTING USING JIA ALGORITHM
A DELAY – CONSTRAINED IN MULTICAST ROUTING USING JIA ALGORITHMA DELAY – CONSTRAINED IN MULTICAST ROUTING USING JIA ALGORITHM
A DELAY – CONSTRAINED IN MULTICAST ROUTING USING JIA ALGORITHM
 
A PROPOSAL FOR IMPROVE THE LIFETIME OF WIRELESS SENSOR NETWORK
A PROPOSAL FOR IMPROVE THE LIFETIME OF WIRELESS SENSOR NETWORKA PROPOSAL FOR IMPROVE THE LIFETIME OF WIRELESS SENSOR NETWORK
A PROPOSAL FOR IMPROVE THE LIFETIME OF WIRELESS SENSOR NETWORK
 

Similar to Paper on Routing

Routing Presentation
Routing PresentationRouting Presentation
Routing Presentation
Mohsin Ali
 
Network Layer
Network LayerNetwork Layer
Network Layer
reshmadayma
 
DCCN Network Layer congestion control TCP
DCCN Network Layer congestion control TCPDCCN Network Layer congestion control TCP
DCCN Network Layer congestion control TCP
Sreedhar Chowdam
 
Network Layer
Network LayerNetwork Layer
Network Layer
reshmadayma
 
Solving QoS multicast routing problem using ACO algorithm
Solving QoS multicast routing problem using ACO algorithmSolving QoS multicast routing problem using ACO algorithm
Solving QoS multicast routing problem using ACO algorithm
Abdullaziz Tagawy
 
Network layer new
Network layer newNetwork layer new
Network layer new
reshmadayma
 
An adaptive opportunistic routing scheme for wireless ad hoc networks
An adaptive opportunistic routing scheme for wireless ad hoc networksAn adaptive opportunistic routing scheme for wireless ad hoc networks
An adaptive opportunistic routing scheme for wireless ad hoc networks
anish9291
 
routing
 routing routing
routing
Srinivasa Rao
 
Optimized Fuzzy Routing for MANET
Optimized Fuzzy Routing for MANETOptimized Fuzzy Routing for MANET
Optimized Fuzzy Routing for MANET
iosrjce
 
D017252327
D017252327D017252327
D017252327
IOSR Journals
 
Ijtra130510
Ijtra130510Ijtra130510
IRJET- Survey on Adaptive Routing Algorithms
IRJET- Survey on Adaptive Routing AlgorithmsIRJET- Survey on Adaptive Routing Algorithms
IRJET- Survey on Adaptive Routing Algorithms
IRJET Journal
 
P01754110117
P01754110117P01754110117
P01754110117
IOSR Journals
 
Accommodation Packet
Accommodation PacketAccommodation Packet
Accommodation Packet
Denise Enriquez
 
G0544650
G0544650G0544650
G0544650
IOSR Journals
 
Qo s oriented distributed routing protocols : anna university 2nd review ppt
Qo s   oriented  distributed routing  protocols : anna university 2nd review pptQo s   oriented  distributed routing  protocols : anna university 2nd review ppt
Qo s oriented distributed routing protocols : anna university 2nd review ppt
AAKASH S
 
Implementation of hybrid data collection (mobile element and hierarchical clu...
Implementation of hybrid data collection (mobile element and hierarchical clu...Implementation of hybrid data collection (mobile element and hierarchical clu...
Implementation of hybrid data collection (mobile element and hierarchical clu...
IJARIIT
 
Iccsit2010 paper2
Iccsit2010 paper2Iccsit2010 paper2
Iccsit2010 paper2
hanums1
 
Paper id 252014153
Paper id 252014153Paper id 252014153
Paper id 252014153
IJRAT
 
distance-vector-routing-3.pdf
distance-vector-routing-3.pdfdistance-vector-routing-3.pdf
distance-vector-routing-3.pdf
Jayaprasanna4
 

Similar to Paper on Routing (20)

Routing Presentation
Routing PresentationRouting Presentation
Routing Presentation
 
Network Layer
Network LayerNetwork Layer
Network Layer
 
DCCN Network Layer congestion control TCP
DCCN Network Layer congestion control TCPDCCN Network Layer congestion control TCP
DCCN Network Layer congestion control TCP
 
Network Layer
Network LayerNetwork Layer
Network Layer
 
Solving QoS multicast routing problem using ACO algorithm
Solving QoS multicast routing problem using ACO algorithmSolving QoS multicast routing problem using ACO algorithm
Solving QoS multicast routing problem using ACO algorithm
 
Network layer new
Network layer newNetwork layer new
Network layer new
 
An adaptive opportunistic routing scheme for wireless ad hoc networks
An adaptive opportunistic routing scheme for wireless ad hoc networksAn adaptive opportunistic routing scheme for wireless ad hoc networks
An adaptive opportunistic routing scheme for wireless ad hoc networks
 
routing
 routing routing
routing
 
Optimized Fuzzy Routing for MANET
Optimized Fuzzy Routing for MANETOptimized Fuzzy Routing for MANET
Optimized Fuzzy Routing for MANET
 
D017252327
D017252327D017252327
D017252327
 
Ijtra130510
Ijtra130510Ijtra130510
Ijtra130510
 
IRJET- Survey on Adaptive Routing Algorithms
IRJET- Survey on Adaptive Routing AlgorithmsIRJET- Survey on Adaptive Routing Algorithms
IRJET- Survey on Adaptive Routing Algorithms
 
P01754110117
P01754110117P01754110117
P01754110117
 
Accommodation Packet
Accommodation PacketAccommodation Packet
Accommodation Packet
 
G0544650
G0544650G0544650
G0544650
 
Qo s oriented distributed routing protocols : anna university 2nd review ppt
Qo s   oriented  distributed routing  protocols : anna university 2nd review pptQo s   oriented  distributed routing  protocols : anna university 2nd review ppt
Qo s oriented distributed routing protocols : anna university 2nd review ppt
 
Implementation of hybrid data collection (mobile element and hierarchical clu...
Implementation of hybrid data collection (mobile element and hierarchical clu...Implementation of hybrid data collection (mobile element and hierarchical clu...
Implementation of hybrid data collection (mobile element and hierarchical clu...
 
Iccsit2010 paper2
Iccsit2010 paper2Iccsit2010 paper2
Iccsit2010 paper2
 
Paper id 252014153
Paper id 252014153Paper id 252014153
Paper id 252014153
 
distance-vector-routing-3.pdf
distance-vector-routing-3.pdfdistance-vector-routing-3.pdf
distance-vector-routing-3.pdf
 

More from Mohsin Ali

Mohsin shoukat cv 18-04-2019
Mohsin shoukat cv 18-04-2019Mohsin shoukat cv 18-04-2019
Mohsin shoukat cv 18-04-2019
Mohsin Ali
 
Mohsin shoukat cv
Mohsin shoukat cvMohsin shoukat cv
Mohsin shoukat cv
Mohsin Ali
 
Mohsin Shoukat Software Engineer
Mohsin Shoukat Software EngineerMohsin Shoukat Software Engineer
Mohsin Shoukat Software Engineer
Mohsin Ali
 
Surah Al fatiha
Surah Al fatihaSurah Al fatiha
Surah Al fatiha
Mohsin Ali
 
32 islamic hadees in urdu jumma hadith collection
32 islamic hadees in urdu jumma hadith collection32 islamic hadees in urdu jumma hadith collection
32 islamic hadees in urdu jumma hadith collection
Mohsin Ali
 
Bloopers in Technical Writing
Bloopers in Technical WritingBloopers in Technical Writing
Bloopers in Technical Writing
Mohsin Ali
 
Attributes of Technical Writing
Attributes of Technical WritingAttributes of Technical Writing
Attributes of Technical Writing
Mohsin Ali
 
DTM Decoder
DTM DecoderDTM Decoder
DTM Decoder
Mohsin Ali
 
What is Internet
What is InternetWhat is Internet
What is Internet
Mohsin Ali
 
School Management System ppt
School Management System pptSchool Management System ppt
School Management System ppt
Mohsin Ali
 
Resume
Resume Resume
Resume
Mohsin Ali
 
What is a call letter
What is a call letterWhat is a call letter
What is a call letter
Mohsin Ali
 

More from Mohsin Ali (12)

Mohsin shoukat cv 18-04-2019
Mohsin shoukat cv 18-04-2019Mohsin shoukat cv 18-04-2019
Mohsin shoukat cv 18-04-2019
 
Mohsin shoukat cv
Mohsin shoukat cvMohsin shoukat cv
Mohsin shoukat cv
 
Mohsin Shoukat Software Engineer
Mohsin Shoukat Software EngineerMohsin Shoukat Software Engineer
Mohsin Shoukat Software Engineer
 
Surah Al fatiha
Surah Al fatihaSurah Al fatiha
Surah Al fatiha
 
32 islamic hadees in urdu jumma hadith collection
32 islamic hadees in urdu jumma hadith collection32 islamic hadees in urdu jumma hadith collection
32 islamic hadees in urdu jumma hadith collection
 
Bloopers in Technical Writing
Bloopers in Technical WritingBloopers in Technical Writing
Bloopers in Technical Writing
 
Attributes of Technical Writing
Attributes of Technical WritingAttributes of Technical Writing
Attributes of Technical Writing
 
DTM Decoder
DTM DecoderDTM Decoder
DTM Decoder
 
What is Internet
What is InternetWhat is Internet
What is Internet
 
School Management System ppt
School Management System pptSchool Management System ppt
School Management System ppt
 
Resume
Resume Resume
Resume
 
What is a call letter
What is a call letterWhat is a call letter
What is a call letter
 

Recently uploaded

220711130083 SUBHASHREE RAKSHIT Internet resources for social science
220711130083 SUBHASHREE RAKSHIT  Internet resources for social science220711130083 SUBHASHREE RAKSHIT  Internet resources for social science
220711130083 SUBHASHREE RAKSHIT Internet resources for social science
Kalna College
 
Cross-Cultural Leadership and Communication
Cross-Cultural Leadership and CommunicationCross-Cultural Leadership and Communication
Cross-Cultural Leadership and Communication
MattVassar1
 
nutrition in plants chapter 1 class 7...
nutrition in plants chapter 1 class 7...nutrition in plants chapter 1 class 7...
nutrition in plants chapter 1 class 7...
chaudharyreet2244
 
Get Success with the Latest UiPath UIPATH-ADPV1 Exam Dumps (V11.02) 2024
Get Success with the Latest UiPath UIPATH-ADPV1 Exam Dumps (V11.02) 2024Get Success with the Latest UiPath UIPATH-ADPV1 Exam Dumps (V11.02) 2024
Get Success with the Latest UiPath UIPATH-ADPV1 Exam Dumps (V11.02) 2024
yarusun
 
BỘ BÀI TẬP TEST THEO UNIT - FORM 2025 - TIẾNG ANH 12 GLOBAL SUCCESS - KÌ 1 (B...
BỘ BÀI TẬP TEST THEO UNIT - FORM 2025 - TIẾNG ANH 12 GLOBAL SUCCESS - KÌ 1 (B...BỘ BÀI TẬP TEST THEO UNIT - FORM 2025 - TIẾNG ANH 12 GLOBAL SUCCESS - KÌ 1 (B...
BỘ BÀI TẬP TEST THEO UNIT - FORM 2025 - TIẾNG ANH 12 GLOBAL SUCCESS - KÌ 1 (B...
Nguyen Thanh Tu Collection
 
pol sci Election and Representation Class 11 Notes.pdf
pol sci Election and Representation Class 11 Notes.pdfpol sci Election and Representation Class 11 Notes.pdf
pol sci Election and Representation Class 11 Notes.pdf
BiplabHalder13
 
The basics of sentences session 8pptx.pptx
The basics of sentences session 8pptx.pptxThe basics of sentences session 8pptx.pptx
The basics of sentences session 8pptx.pptx
heathfieldcps1
 
220711130100 udita Chakraborty Aims and objectives of national policy on inf...
220711130100 udita Chakraborty  Aims and objectives of national policy on inf...220711130100 udita Chakraborty  Aims and objectives of national policy on inf...
220711130100 udita Chakraborty Aims and objectives of national policy on inf...
Kalna College
 
Erasmus + DISSEMINATION ACTIVITIES Croatia
Erasmus + DISSEMINATION ACTIVITIES CroatiaErasmus + DISSEMINATION ACTIVITIES Croatia
Erasmus + DISSEMINATION ACTIVITIES Croatia
whatchangedhowreflec
 
How to stay relevant as a cyber professional: Skills, trends and career paths...
How to stay relevant as a cyber professional: Skills, trends and career paths...How to stay relevant as a cyber professional: Skills, trends and career paths...
How to stay relevant as a cyber professional: Skills, trends and career paths...
Infosec
 
How to Create a Stage or a Pipeline in Odoo 17 CRM
How to Create a Stage or a Pipeline in Odoo 17 CRMHow to Create a Stage or a Pipeline in Odoo 17 CRM
How to Create a Stage or a Pipeline in Odoo 17 CRM
Celine George
 
Keynote given on June 24 for MASSP at Grand Traverse City
Keynote given on June 24 for MASSP at Grand Traverse CityKeynote given on June 24 for MASSP at Grand Traverse City
Keynote given on June 24 for MASSP at Grand Traverse City
PJ Caposey
 
Contiguity Of Various Message Forms - Rupam Chandra.pptx
Contiguity Of Various Message Forms - Rupam Chandra.pptxContiguity Of Various Message Forms - Rupam Chandra.pptx
Contiguity Of Various Message Forms - Rupam Chandra.pptx
Kalna College
 
The Science of Learning: implications for modern teaching
The Science of Learning: implications for modern teachingThe Science of Learning: implications for modern teaching
The Science of Learning: implications for modern teaching
Derek Wenmoth
 
Slides Peluncuran Amalan Pemakanan Sihat.pptx
Slides Peluncuran Amalan Pemakanan Sihat.pptxSlides Peluncuran Amalan Pemakanan Sihat.pptx
Slides Peluncuran Amalan Pemakanan Sihat.pptx
shabeluno
 
How to Download & Install Module From the Odoo App Store in Odoo 17
How to Download & Install Module From the Odoo App Store in Odoo 17How to Download & Install Module From the Odoo App Store in Odoo 17
How to Download & Install Module From the Odoo App Store in Odoo 17
Celine George
 
Brand Guideline of Bashundhara A4 Paper - 2024
Brand Guideline of Bashundhara A4 Paper - 2024Brand Guideline of Bashundhara A4 Paper - 2024
Brand Guideline of Bashundhara A4 Paper - 2024
khabri85
 
(T.L.E.) Agriculture: "Ornamental Plants"
(T.L.E.) Agriculture: "Ornamental Plants"(T.L.E.) Agriculture: "Ornamental Plants"
(T.L.E.) Agriculture: "Ornamental Plants"
MJDuyan
 
Opportunity scholarships and the schools that receive them
Opportunity scholarships and the schools that receive themOpportunity scholarships and the schools that receive them
Opportunity scholarships and the schools that receive them
EducationNC
 
Creativity for Innovation and Speechmaking
Creativity for Innovation and SpeechmakingCreativity for Innovation and Speechmaking
Creativity for Innovation and Speechmaking
MattVassar1
 

Recently uploaded (20)

220711130083 SUBHASHREE RAKSHIT Internet resources for social science
220711130083 SUBHASHREE RAKSHIT  Internet resources for social science220711130083 SUBHASHREE RAKSHIT  Internet resources for social science
220711130083 SUBHASHREE RAKSHIT Internet resources for social science
 
Cross-Cultural Leadership and Communication
Cross-Cultural Leadership and CommunicationCross-Cultural Leadership and Communication
Cross-Cultural Leadership and Communication
 
nutrition in plants chapter 1 class 7...
nutrition in plants chapter 1 class 7...nutrition in plants chapter 1 class 7...
nutrition in plants chapter 1 class 7...
 
Get Success with the Latest UiPath UIPATH-ADPV1 Exam Dumps (V11.02) 2024
Get Success with the Latest UiPath UIPATH-ADPV1 Exam Dumps (V11.02) 2024Get Success with the Latest UiPath UIPATH-ADPV1 Exam Dumps (V11.02) 2024
Get Success with the Latest UiPath UIPATH-ADPV1 Exam Dumps (V11.02) 2024
 
BỘ BÀI TẬP TEST THEO UNIT - FORM 2025 - TIẾNG ANH 12 GLOBAL SUCCESS - KÌ 1 (B...
BỘ BÀI TẬP TEST THEO UNIT - FORM 2025 - TIẾNG ANH 12 GLOBAL SUCCESS - KÌ 1 (B...BỘ BÀI TẬP TEST THEO UNIT - FORM 2025 - TIẾNG ANH 12 GLOBAL SUCCESS - KÌ 1 (B...
BỘ BÀI TẬP TEST THEO UNIT - FORM 2025 - TIẾNG ANH 12 GLOBAL SUCCESS - KÌ 1 (B...
 
pol sci Election and Representation Class 11 Notes.pdf
pol sci Election and Representation Class 11 Notes.pdfpol sci Election and Representation Class 11 Notes.pdf
pol sci Election and Representation Class 11 Notes.pdf
 
The basics of sentences session 8pptx.pptx
The basics of sentences session 8pptx.pptxThe basics of sentences session 8pptx.pptx
The basics of sentences session 8pptx.pptx
 
220711130100 udita Chakraborty Aims and objectives of national policy on inf...
220711130100 udita Chakraborty  Aims and objectives of national policy on inf...220711130100 udita Chakraborty  Aims and objectives of national policy on inf...
220711130100 udita Chakraborty Aims and objectives of national policy on inf...
 
Erasmus + DISSEMINATION ACTIVITIES Croatia
Erasmus + DISSEMINATION ACTIVITIES CroatiaErasmus + DISSEMINATION ACTIVITIES Croatia
Erasmus + DISSEMINATION ACTIVITIES Croatia
 
How to stay relevant as a cyber professional: Skills, trends and career paths...
How to stay relevant as a cyber professional: Skills, trends and career paths...How to stay relevant as a cyber professional: Skills, trends and career paths...
How to stay relevant as a cyber professional: Skills, trends and career paths...
 
How to Create a Stage or a Pipeline in Odoo 17 CRM
How to Create a Stage or a Pipeline in Odoo 17 CRMHow to Create a Stage or a Pipeline in Odoo 17 CRM
How to Create a Stage or a Pipeline in Odoo 17 CRM
 
Keynote given on June 24 for MASSP at Grand Traverse City
Keynote given on June 24 for MASSP at Grand Traverse CityKeynote given on June 24 for MASSP at Grand Traverse City
Keynote given on June 24 for MASSP at Grand Traverse City
 
Contiguity Of Various Message Forms - Rupam Chandra.pptx
Contiguity Of Various Message Forms - Rupam Chandra.pptxContiguity Of Various Message Forms - Rupam Chandra.pptx
Contiguity Of Various Message Forms - Rupam Chandra.pptx
 
The Science of Learning: implications for modern teaching
The Science of Learning: implications for modern teachingThe Science of Learning: implications for modern teaching
The Science of Learning: implications for modern teaching
 
Slides Peluncuran Amalan Pemakanan Sihat.pptx
Slides Peluncuran Amalan Pemakanan Sihat.pptxSlides Peluncuran Amalan Pemakanan Sihat.pptx
Slides Peluncuran Amalan Pemakanan Sihat.pptx
 
How to Download & Install Module From the Odoo App Store in Odoo 17
How to Download & Install Module From the Odoo App Store in Odoo 17How to Download & Install Module From the Odoo App Store in Odoo 17
How to Download & Install Module From the Odoo App Store in Odoo 17
 
Brand Guideline of Bashundhara A4 Paper - 2024
Brand Guideline of Bashundhara A4 Paper - 2024Brand Guideline of Bashundhara A4 Paper - 2024
Brand Guideline of Bashundhara A4 Paper - 2024
 
(T.L.E.) Agriculture: "Ornamental Plants"
(T.L.E.) Agriculture: "Ornamental Plants"(T.L.E.) Agriculture: "Ornamental Plants"
(T.L.E.) Agriculture: "Ornamental Plants"
 
Opportunity scholarships and the schools that receive them
Opportunity scholarships and the schools that receive themOpportunity scholarships and the schools that receive them
Opportunity scholarships and the schools that receive them
 
Creativity for Innovation and Speechmaking
Creativity for Innovation and SpeechmakingCreativity for Innovation and Speechmaking
Creativity for Innovation and Speechmaking
 

Paper on Routing

  • 1. CSC-3080 Data Communication and Network Title Routing Group Member: Mohsin Shoukat 12-NTU-1065 Shahmeer Ali 12-NTU-1083 Submitted to: Sir Asif Habib. Submission Date: 24/03/2015 ..………………… /………………….. ................................. Members Sign Teacher Sign
  • 2. Acknowledgement We agree all the content written in this documentation is our selves’ .We are responsible to this. We are thankful to our teacher Mr. Asif Habib to help write this document.
  • 3. Table of Contents What is Router .................................................................................................................................1 What is Routing................................................................................................................................1 Desirable Property of Routing Algorithms......................................................................................2 Design Parameter of Routing Algorithms ........................................................................................2 Routing Strategies ...........................................................................................................................3 Fixed Routing ...................................................................................................................................3 Least Cost Path ................................................................................................................................4 Dijkstra Algorithm............................................................................................................................5 Flooding Routing ..............................................................................................................................6 Selective Flooding ............................................................................................................................7 Utilities of Flooding ..........................................................................................................................7 Random Routing ..............................................................................................................................8 Adaptive Routing............................................................................................................................10 Distance Vector Routing ................................................................................................................11 Link State Routing ..........................................................................................................................12 Multicast Routing............................................................................................................................. 13
  • 4. 1 Router A router is networking hardware device which send and receive data packets to other networks. Routing Defined From particularstationtoparticular station, i.e. fromsource todestinationthere are manypath, sothe routingisto choose the bestcost effectivepath,whichisselectedbyroutingalgorithm. Detail: Thisis packetswitchnetwork,numberof stationA,B,ETC , numberof nodesswitching,which connected toothernodesandstation, suppose stationA -> D , you can see there isnotpath , other words, bothare not directly connect,so itcan go several path, i.e. 1-2-6 ,itcan alsogo 1-3-5-6 or it can go 1-4-6 so there are several routes,sowhichone isthe best, so the keypointisfromS TO D the bestcost effectivepathisselection,andthisselectionbyroutingalgorithm Routingisone of mostcomplex andcrucial aspectof packetswitched network, itplay animportantrole innetworking.
  • 5. 2 Desirable Properties of Routing 1: Correctness andsimplicity:self-explanatory to delivertocorrectlocation station, androutingalgorithmshouldbe simple, otherwiseitputoverhead on nodes. 2: Robustness:Networkisqof packetsdynamically change with time, alsopossible nodefailure, so underthe failure congestion sothatroutingalgorithmcansendpacketto its locationinthiscase. 3:Stability:Qof packetschangingin networksuppose thereistrafficinthispart, so routing algorithm diverttootherpart maycongestion,so quick changingconditionitalsocan handle ,so itshouldcan bearstability. 4: Fairness andoptimality: obviousrequirementbut confliction. What isdesired eachnode ,stationhave each particularrouting,but some packetsgive priority ,but thisisnot fairness,solike we give priority tosome adjacentnode ,butlongnodesdon’tgetfairness,so there istrade off , givingsome kindof weightage. 5: Efficiency:Minimumcomplex,routing algorithmshouldbe simple not complexsothatitcan’t make overheads, itshouldsimple thatItcan deliverpackettoitsdestination. Design Parameter of Routing Algorithm Performance criteria:numberofhopswhenpacketgo to one to node to othernode to itsD, it passesto numberof hops, cost, if bandwidthishighcostis lessitinversely proportion,Delaydepends onsize of Q , if in particulate packetif thisis large miserable delaywill there , throughput numberof packets deliverperunittime …….These are variousparameterforperformance parameter Decision time:whenitdesignitshould routing, perpacket(datagram),persession(virtual circuit) in virtual circuitforparticularstation,all packetssendtothispath. Decisionplane:whodecidetorouting,each node decide toselectionparticularpath EACHNODE(Distributed), central Node(centralized) centernode whichdecidethe routing, originated node(source) orsource node decide the routing Network information source:there are algorithmwhichdon’ttake cost, topology none ,QLENGTH take no othergatherinformation local ,particularnode gatheradjacentnode information adjacentnode , it may be alongpath route nodesalong route ,or itcan be global a node gatherinfoof all nodesafter several time tomake algorithmtablesall nodes.
  • 6. 3 Network information updatingtime:itcanbe continuous local whatcan info,all node periodic, major loadchange congestionsmajorload change, topologychange. So these are the designparameter which shouldtake inmindduring developingof routingalgorithm. Routing Strategies A large numberof strategiesare develop till now here are some popular  Fixedrouting  Floodingrouting  Randomrouting  Flowbasedrouting  Adaptive/dynamicrouting Fixed Routing A route isselectedforeach source-destinationpairof nodesinnetwork. The routesare fixedtheyonlymaychange if there ischange intopologyinnetwork. That meanfor givingnetworkthe routingisfixed, So howit is fixed?There are FixedRouting:Example A central routingmatrix iscreatedbased onleast-costpath, whichisstoredinnetworkcontrol center. The matrix showfor each source-destinationpartof node, the identity of nextnode toroute. From Node To Node 1 2 3 4 5 6 1 - 2 3 2 2 2 2 1 - 1 6 6 6 3 1 1 - 4 5 1 4 6 6 3 - 5 6 5 4 4 3 4 - 4 6 2 2 2 4 4 - SUCH a bigroutingdirectory iscreatedinnetworkcontrol center. Thishas a big drawbacks.If this NC centerfail everythingfail, soitisnot very reliable.
  • 7. 4 Otherapproach to thisisthat create directoryof each node, eachmeannode have copyof directory From the mainrouting matrix, routingtablestobe usedby eachindividualnode canbe developed. So thisis disturbed routingalgorithms As directoryispacketreceive and sendittoits nextnode. Questionishowthese directory created? Least-Cost Path That can be createdonleast-costpath. A cost isassociated witheachlink. The simplestcriteriaischoose minimum-hoproute throughnetwork -easily measured criterion. A generalizationisleast –costrouting, I.e. bandwidth,q length, distance For any pairof attach station, the leastcostroute through the networkislookedfor. Several waystochoose optimal path.
  • 8. 5 - Dijkstraalgorithm -Bellman-fordalgorithm. What theyalgorithmsdo, forgivingtopology fromsourstoall destination theyfindthylestcostroute Dijkstra Algorithm It findthe leastcostpaths fromgivennode toall othernodesinorderto increasingpathlength. The algorithmworkinstatic conditiononthe topology andlinkcost. These are basic steps: -initialization;M={s} , Dn =DSN for n!=s -findneighboringnodesnotinMhas least-costpathfroms include inM. -update the leastcostpath. Iteration M C(2) path C(3) path C(4) path C(5) path C(6) path 1 (1) 2, 1-2 2, 1-3 ------- ------- ------- 2 (1,2) 2, 1-2 2, 1-3 6,1-2-4 ------- 3, 1-2-6 3 (1,2,3) 2, 1-2 2, 1-3 5,1-2-6-4 7, 1-2-6-4-5 3, 1-2-6 4 (1,2,3,6) 2, 1-2 2, 1-3 5, 1-2-6-4 7, 1-2-6-4-5 3, 1-2-6 5 (1,2,3,4,6) 2,1-2 2, 1-3 5, 1-2-6-4 7, 1-2-6-4-5 3, 1-2-6 6 (1,2,3,4,5,6) 2, 1-2 2, 1-3 5, 1-2-6-4 7,1-2-6-4-5 3,1-2-6 So fromthisyou can create routingtable for centerroutingor distributedsystem follow byleastcost path Dijkstraalgorithm.
  • 9. 6 Fixed routing  Advantages: Simple, costgiven, leastcostpathgivenyoucan use it simple Works well forstable loadnetwork Same for virtual-circuitordatagram.  Problems: Lack of flexibility, if networkconditionchange itfail Doesnot react to failure network, orcongestion condition Flooding Routing Require nonetworkanyinformationwhatsoever Everyincomingpacketissendto all node exceptfromwhichitcome. Do deliverapacketlarge numberof packetscopy generate these are alarmcondition
  • 10. 7 Advantages All possible routinesfromSto D are tried.Soif there’sispath italwaysreachto its D. itsRobotsmeanif any route failure packetbutwill reachfromotherpath.so its’ reliable. All routesare tried,soat leastone packetgoestoshortestroute. All nodes directorindirectly visited. Problem Generate large numbercopiesare generate whichmake congestion. Suitable if use damping mechanismsothatlarges numberof packetsare not make. Technique To Use Hop-Count: a hopcounteris containinheaderof packetand it decrease eachone time whenpass throughthe node and discardwhenitreach to zero. The senderinitialize the hopcounterif notknownitissetto full diameterof subnet. Worstcase value. Keeptrack of packetswhichare responsible forfloodingusingasequence number.Avoidsendingthem out secondtime. Selective Flooding A variationwhichis slightly more practical isselective flooding. The router don’tsendpacketstoin all directionbutinthe directiontothe destination. Give weightage to check whetheritisgoingto D or movingawayto D. Utilities Of Flooding Floodingis robustness:incase of war or loador topology change undersuchcase thisis veryuseful May be usedinvirtual circuitlike whenpacketreachtoD from least costpath it sendacknowledgment and itsave. Floodingalwaysusesshortestpathsince itexplore everypossible pathtoD. Some time to messagesall nodessoit’s good.To upgrade infothishelpful Ratherits disadvantagesit’salsohave imp utilities.
  • 11. 8 Random Routing Thishas the simplicityandrobustnessof floodingwithfarlesstrafficload. A node onlyselective one outgoingpathforretransmissionof incomingpacket. The outgoinglinkischosenat random,excludingthe linkonwhichthe packetcome.
  • 12. 9 How You Do It Then? If youit randomthenyou don’tneedthe infoof the networklike how manypacketsare inQueue bandwidth etc. Or you can do inanothermethodlike roundrobinfashioninwhichyouchose randomandchose a link and nexttime youchoose otherlink etc.andreadto you destination.Soyou distribute the load.Butthis some have limitationlike insteadof packetgoing towards destinationitmaygo towardssource side So thiscan approx. overcome by. A refinementistoassigna probabilityto eachoutgoinglinkandtoselectthe linkbasedonthat probability. The actual route will typicallynot be the least-costpath. So here the Data rate isusedas networkinformation.Higherthe Date rate of particularlinkis probabilityisselectedinthe network. It has robustness because ituse higherdatarate pathso packetshall be delivertothe destinationbutit alsohas a limitationlikeitdon’tselectcosteffectivepath.
  • 13. 10 Flow-Base Routing So here we previouslyuse networking info, topologybutnotconsiderload. An approachthat usesbothtopologyloadinformationforrouting. Flowbetweenapairof nodesisrelativelystable andpredictable.That’smeanif you know the traffic loadof a nodesanddata rate thenyoucan calculate the flow betweenapairof nodes. For a givenline if the capacityandaverage flow is known,itispossible tocalculate tomeanpacketdelay by queuingtheory. From the mean delay of all the lines,itiseasyto calculate the flow-weightaverage togetmeandelayfor the whole subnet.bythiswe use Dijkstraalgorithmandmake aroutingtable .soitalso fix,statictype routing. Thenthe routingalgorithmfindthe minimumaveragedelay. Adaptive Routing Routingdecisionchange asconditionon the networkchange. Two principal thataffectingroutingdecision. Failure:whenanode, linkfail itcan’tlongeruse asa route. Congestion:whenaparticularareaof the network congested itisdesirable tomove the route packets aroundthe congestion area. So adaptive routingchangesdynamicallywiththe networkingcondition. Classification onthe basicof informationsource:local,adjacentnodes,all nodes. For adaptive routingto be, there mustbe exchange networkinformationamongthe nodes. Typically metrics: Numberof hops (simplestone butthe notuse i.e. forparticularS TO D how many hopspackets use) Time delayinmsec(fora particularS to D, queue lengthisknow we can call the time delay) Total numberof packets queued innetwork. How muchof information:
  • 14. 11 More informationexchange betterroutingmore overhead More frequentbetterroutingmore overhead So there istrade off. Draw Backs Of Adaptive Routing Routingisdone dynamically changingconditionsoitput Burdon on switchingnodes. So if networkconditionchangesveryquicklylike congestionthenwhatwill happenitproduce congestion-oscillation. I.e.if there istrafficloadatone area we move the traffictoaround area then whatwill happentrafficonotherareabecome congestive. So thisproblemis solve by thushing. Advantages Of Adaptive Routing - Improve performance - Can aidin congestion control - Widelyused Distance Vector Routing Key characteristic: 1: Knowledgeaboutentire network. 2: Routingonlyto neighbor. 3: Informationsharingatregularinterval. Each node maintainthe routingtable havingone entryforeachnode withtwootherfields;preferred nextnode andcost estimate of distance ,basedonone of the matrices. Network ID Cost Next Router
  • 15. 12 Link State Routing Basic steps: Identifythe neighboringnodes. Measure the delayor cost to eachof itsneighbor. Form a packetcontainall the information. Sendthe packetsto all othernodes(flooding) Compute the shortestpathto everyothernode (Dijkstraalgorithm). Here in linkstate informationgatherisonlyfromitsneighboringnodesratherentire networklike distance routing. So the basicideais itgatherinformationto itsneighboringnode androute toall like flooding. Andinformationsharinggatherisdone afterregularinterval. Advertise ID NetworkID (destination) Cost NextRouter So a linkstate packetformsand spreaditin flooding strategies. So as informationisgatheratregularinterval everynode make some kindof itsdatabase andwiththe passage of time thisdatabase become large. Anditas usesinformationgatheringatregularinterval it needmore computational powerandmemory.solink state routingissome kindof expensivethen distance routing.Howeverismore scalable thandistance Routing.
  • 16. 13 Multicast Routing As we studyroutingisthe sendinginformationfromSto D. butin some case we have to sendsome message toa group of peoples.Sendingapacketstoa groupof people isknownasMulticastingRouting. i.e. Service providerlikemovies, TV channelswantto sendingparticularmessagestoparticulargroupof peoplesthenthistype of routingisdone by Multicaststrategies. To do multicastroutingeachnode computesaspanningtree coveringall nodesinsubnet.Firstwhena packetsissendfirstnode findthe spanningtree towardsselectivegrouporDestination.Andafterthatit sendpacketto fromthat spanningtree route. Anothertechnique isalsowe canuse like floodingwhich we discuss recently. Reference: Data.And.Computer.Communications.8e.WilliamStallings ------------------------------------------------------------------------------------------------------------------------------------------
  翻译: