SlideShare a Scribd company logo
Routing
12-NTU-1065 Mohsin Shoukat
12-NTU-1083 Shahmeer Ali
Table of Contents
• Routing
• Desirable properties of routing
• Design parameter of routing algorithms
• Fixed Routing
– Dijkstra Algorithm
• Flooding Routing
• Adaptive/Dynamic Routing
– Distance Vector Routing
– Link state Routing
• Multicast Routing
Router
• A routers networking hardware device which send and receive
data packets to other networks.
Routing
• The routing is to chose the best cost effective
path, which is selected by routing algorithm
Desirable Properties of Routing
 Correctness and simplicity
 Robustness
 Stability
 Fairness and Optimality
 Efficiency
Design Parameter of Routing Algorithms
Performance criteria :Number of hops , Cost , Delay, Throughput
Decision time : Datagram , Virtual circuit
Decision plane :EACH NODE (Distributed), Central Node (Centralized) , Originated
Node (Source).
Network Information source: None , Adjacent node , Nodes Along Route , All
Nodes.
Network information updating time: continuous, periodic , major load change ,
topology change.
Fixed Routing
A route is selected for each source-destination pair of nodes in network.
The routes are fixed they only may change if there is change in topology in
network.
Fixed Routing :Example
• SUCH a big routing directory is created in network control center.
• This has a big drawbacks. If this NC center fail everything fail, so it is not very
reliable.
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 -
Fixed Routing
As directory is packet receive and send it to its next node.
Question is how these directory created?
Node 1 Directory
Destinatio
n
Next Node
2 2
3 3
4 2
5 2
6 2
Node 2 Directory
Destination Next Node
1 1
3 1
4 6
5 6
6 6
Node 3 Directory
Destination Next Node
1 1
2 1
4 4
5 5
6 1
Node 4 Directory
Destinatio
n
Next Node
1 6
2 6
3 3
5 5
6 6
Node 5 Directory
Destination Next Node
1 4
2 4
3 3
4 4
6 4
Node 6 Directory
Destination Next Node
1 2
2 2
3 2
4 4
5 4
Dijkstra algorithm
It find the least cost paths from given node to all other nodes .
It work on static condition when topology and cost fix.
• These are basic steps:
• -initialization; M= {s} , Dn =dSN for n!=s
• -find neighboring nodes not in M has least-cost path from s
include in M.
• -update the least cost path.
Dijkstra Algorithm
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
Dijkstra Algorithm
Iteration M C(2) path C(3) path C(4) path C(5) path C(6) path
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
Fixed routing
Advantages:
• Simple, cost given, least cost path given you can use it simple.
• Works well for stable load network.
• Same for virtual-circuit or datagram.
Problems:
• Lack of flexibility, if network condition change it fail
• Does not react to failure network, or congestion condition
Flooding Routing
• Require no network any information whatsoever
• Every incoming packet is send to all node except from which it come.
Flooding Routing
Advantages:
• Reliable.
• All routes are tried, so at least one packet goes to shortest route.
• All nodes direct or indirectly visited.
Problems:
• Generate large number copies are generate which make congestion.
• Suitable if use damping mechanism so that larges number of packets are not
make.
Technique To Use
• Hop-Count: a hop counter is contain in header of packet and it decrease each
one time when pass through the node and discard when it reach to zero.
• Sequence Number: Keep track of packets which are responsible for flooding
using a sequence number .Avoid sending them out second time.
Flooding
Utilities Of Flooding:
 Flooding is robustness: in case of war or load or topology change under such
case this is very useful
 May be used in virtual circuit like when packet reach to D from least cost path
it send acknowledgment and it save.
 Flooding always uses shortest path since it explore every possible path to D.
 Some time to messages all nodes so it’s good. To upgrade info this helpful
 Rather its disadvantages it’s also have imp utilities.
Selective Flooding
• A variation which is slightly more practical is Selective Flooding.
• The router don’t send packets to in all direction but in the direction to the
destination. Give weightage to check whether it is going to D or moving away
to D.
Random Routing
• This has the simplicity and robustness of flooding with far
less traffic load.
• A node only selective one outgoing path for retransmission of incoming packet.
Random Routing
 Don’t need the info of the network like how many packets are in Queue
bandwidth etc.
 Round Robin fashion in which you chose random and choose a link and next
time you choose other link etc.
Random Routing
 A refinement is to assign a Probability to each outgoing link and to select the
link based on that probability
 So here the Data Rate is used as network information use higher data rate
path so packet shall be deliver to the destination but it also has a limitation like
it don’t select cost effective path
Adaptive routing
 Adaptive routing use networking information for it’s routing
 Routing decision change as condition on the network change.
 Two principal that affecting routing decision.
– Failure: when a node, link fail it can’t longer use as a route.
– Congestion: when a particular area of the network congested it is desirable
to move the route packets around the congestion area.
So adaptive routing changes dynamically with the networking condition.
Adapting Routing
• For Adaptive Routing, there must be exchange network information among
the nodes.
• Number Of Hops (simplest one but the not use i.e. for particular ‘S’ TO ‘D’ how
many hops packets use)
• Time Delay in msec (for a particular S to D , queue length is know we can call
the time delay)
• Total Packets : Total number of packets queued in network.
Adapting Routing
 More Information Exchange, Better Routing, More Overhead
 More Frequent, Better Routing, More Overhead
So there is trade off.
Adaptive Routing
Problems
• Routing is done dynamically changing condition so it put Burdon on
switching nodes.
• More processing power required for Routing Decisions
• It may react too quickly to change network state, thus produces
Congestion.
Adaptive Routing
Advantages
• Improve performance
• Can aid in congestion control
• Widely used
Distance Vector Routing
• Key characteristic:
Knowledge about Entire Network.
Routing only to Neighbor.
Information sharing at Regular Interval.
Network ID Cost Next Router
Link State Routing
• Basic steps:
• Identify the neighboring nodes.
• Measure the delay or cost to each of its neighbor.
• Form a packet contain all the information.
• Send the packets to all other nodes (flooding)
• Compute the shortest path to every other node (Dijkstra algorithm)
• Here in link state information gather is only from its neighboring nodes rather entire
network like distance routing.
• So the basic idea is it gather information to its neighboring node and route to all like
flooding.
• And information sharing gather is done after regular interval.
Advertise ID NetworkID
(destination)
Cost Next Router
Link State Routing
Problems
 Information is gather at regular interval
 More complex
 It’s make some kind of database.
 Computational power and memory
 Expensive
Multicast Routing
• Sending information from S to D. but in some case we have to
send some message to a group of peoples.
• Uses for Broadcasting
 Technique
-Find The Spanning Tree
-Flooding
Review
• Routing
• Desirable properties of routing
• Design parameter of routing algorithms
• Fixed Routing
• Dijkstra Algorithm
• Flooding routing
• Adaptive/dynamic routing
• Adaptive Routing
• Distance vector routing
• Link state routing
• Multicast routing
Routing Presentation

More Related Content

PPTX
Distance Vector & Link state Routing Algorithm
MOHIT AGARWAL
 
PPTX
Network Layer
reshmadayma
 
PPTX
Routing algorithm
TechStudent1
 
PPTX
Routing algorithms
Parameswaran Selvakumar
 
PPTX
Network layer - design Issues
قصي نسور
 
PPT
Routing algorithm network layer
sambhenilesh
 
PPT
HDLC, PPP and SLIP
Naveen Kumar
 
PPT
Collision & broadcast domain
NetProtocol Xpert
 
Distance Vector & Link state Routing Algorithm
MOHIT AGARWAL
 
Network Layer
reshmadayma
 
Routing algorithm
TechStudent1
 
Routing algorithms
Parameswaran Selvakumar
 
Network layer - design Issues
قصي نسور
 
Routing algorithm network layer
sambhenilesh
 
HDLC, PPP and SLIP
Naveen Kumar
 
Collision & broadcast domain
NetProtocol Xpert
 

What's hot (20)

PPTX
Presentation Routing algorithm
Basit Hussain
 
PPTX
Tcp
Varsha Kumar
 
PDF
UDP - User Datagram Protocol
Peter R. Egli
 
PPTX
Cisco Networking (Routing and Switching)
Alan Mark
 
PPTX
Routing ppt
ArpiSaxena1
 
PPTX
Multicast routing
Gunasekara Reddy
 
PPTX
Routing protocols
Sourabh Goyal
 
PPTX
Routing protocols
rajshreemuthiah
 
PPTX
BASICS OF ROUTING IN NETWORKS
KABILESH RAMAR
 
PPTX
Quality of Service
Abhishek Wadhwa
 
PPT
Multicast Routing Protocols
Ram Dutt Shukla
 
PPTX
Routing Protocols
Dr.Ashvini Chaudhari Bhongade
 
PPTX
Open shortest path first (ospf)
Respa Peter
 
PPTX
Address resolution protocol (ARP)
NetProtocol Xpert
 
PPT
Switching
Shankar Gangaju
 
PPTX
TCP/IP Protocol Architeture
Manoj Kumar
 
PPTX
Routing Information Protocol
Kashif Latif
 
PPT
Address resolution protocol
asimnawaz54
 
PPTX
Multicastingand multicast routing protocols
Iffat Anjum
 
Presentation Routing algorithm
Basit Hussain
 
UDP - User Datagram Protocol
Peter R. Egli
 
Cisco Networking (Routing and Switching)
Alan Mark
 
Routing ppt
ArpiSaxena1
 
Multicast routing
Gunasekara Reddy
 
Routing protocols
Sourabh Goyal
 
Routing protocols
rajshreemuthiah
 
BASICS OF ROUTING IN NETWORKS
KABILESH RAMAR
 
Quality of Service
Abhishek Wadhwa
 
Multicast Routing Protocols
Ram Dutt Shukla
 
Open shortest path first (ospf)
Respa Peter
 
Address resolution protocol (ARP)
NetProtocol Xpert
 
Switching
Shankar Gangaju
 
TCP/IP Protocol Architeture
Manoj Kumar
 
Routing Information Protocol
Kashif Latif
 
Address resolution protocol
asimnawaz54
 
Multicastingand multicast routing protocols
Iffat Anjum
 
Ad

Similar to Routing Presentation (20)

DOCX
Paper on Routing
Mohsin Ali
 
PPTX
Routing and routing algorithms
Bhatt Aadil
 
PPT
Routing and IP in Advance Computer Network,Vikram Snehi
MR. VIKRAM SNEHI
 
PPTX
Network Layer
reshmadayma
 
PPT
11-RoutingThe development of wireless systems traces its roots .ppt
vimalgaur7
 
PPTX
Routing algorithm
Bushra M
 
PPT
11 routing
shefali84
 
PDF
IRJET- Survey on Adaptive Routing Algorithms
IRJET Journal
 
PDF
Dc ch11 : routing in switched networks
Syaiful Ahdan
 
PDF
COMPUTER NETWORKS CHAPTER 3 NETWORK LAYER NOTES CSE 3RD year sem 1
aishwaryaarrao3
 
PPT
Routing
Amit Pandey
 
PPT
NETWORK LAYER.ppt
DrTThendralCompSci
 
PPT
12-Routing Network computer cisco net.ppt
MudawilQulubMKom
 
PPTX
Routing algorithms mehodology materials doc1
Mugabo4
 
PPT
Network Layer
Ghaffar Khan
 
PPTX
NETWORK LAYER PRESENTATION IP ADDRESSING UNIT-3.pptx
troqia
 
PPTX
Module 3 Part B - computer networks module 2 ppt
anushaj46
 
PPT
12 routing(1)
wavelet7488
 
PPT
routing
Srinivasa Rao
 
PPT
NetworkAlgorithms.ppt
21121A0594
 
Paper on Routing
Mohsin Ali
 
Routing and routing algorithms
Bhatt Aadil
 
Routing and IP in Advance Computer Network,Vikram Snehi
MR. VIKRAM SNEHI
 
Network Layer
reshmadayma
 
11-RoutingThe development of wireless systems traces its roots .ppt
vimalgaur7
 
Routing algorithm
Bushra M
 
11 routing
shefali84
 
IRJET- Survey on Adaptive Routing Algorithms
IRJET Journal
 
Dc ch11 : routing in switched networks
Syaiful Ahdan
 
COMPUTER NETWORKS CHAPTER 3 NETWORK LAYER NOTES CSE 3RD year sem 1
aishwaryaarrao3
 
Routing
Amit Pandey
 
NETWORK LAYER.ppt
DrTThendralCompSci
 
12-Routing Network computer cisco net.ppt
MudawilQulubMKom
 
Routing algorithms mehodology materials doc1
Mugabo4
 
Network Layer
Ghaffar Khan
 
NETWORK LAYER PRESENTATION IP ADDRESSING UNIT-3.pptx
troqia
 
Module 3 Part B - computer networks module 2 ppt
anushaj46
 
12 routing(1)
wavelet7488
 
routing
Srinivasa Rao
 
NetworkAlgorithms.ppt
21121A0594
 
Ad

More from Mohsin Ali (12)

PDF
Mohsin shoukat cv 18-04-2019
Mohsin Ali
 
PDF
Mohsin shoukat cv
Mohsin Ali
 
PDF
Mohsin Shoukat Software Engineer
Mohsin Ali
 
PPTX
Surah Al fatiha
Mohsin Ali
 
PPTX
32 islamic hadees in urdu jumma hadith collection
Mohsin Ali
 
PPTX
Bloopers in Technical Writing
Mohsin Ali
 
PPTX
Attributes of Technical Writing
Mohsin Ali
 
DOCX
DTM Decoder
Mohsin Ali
 
PPTX
What is Internet
Mohsin Ali
 
PPTX
School Management System ppt
Mohsin Ali
 
DOCX
Resume
Mohsin Ali
 
PPTX
What is a call letter
Mohsin Ali
 
Mohsin shoukat cv 18-04-2019
Mohsin Ali
 
Mohsin shoukat cv
Mohsin Ali
 
Mohsin Shoukat Software Engineer
Mohsin Ali
 
Surah Al fatiha
Mohsin Ali
 
32 islamic hadees in urdu jumma hadith collection
Mohsin Ali
 
Bloopers in Technical Writing
Mohsin Ali
 
Attributes of Technical Writing
Mohsin Ali
 
DTM Decoder
Mohsin Ali
 
What is Internet
Mohsin Ali
 
School Management System ppt
Mohsin Ali
 
Resume
Mohsin Ali
 
What is a call letter
Mohsin Ali
 

Recently uploaded (20)

PDF
Antianginal agents, Definition, Classification, MOA.pdf
Prerana Jadhav
 
PPTX
Gupta Art & Architecture Temple and Sculptures.pptx
Virag Sontakke
 
PDF
What is CFA?? Complete Guide to the Chartered Financial Analyst Program
sp4989653
 
PPTX
INTESTINALPARASITES OR WORM INFESTATIONS.pptx
PRADEEP ABOTHU
 
PPTX
Applications of matrices In Real Life_20250724_091307_0000.pptx
gehlotkrish03
 
DOCX
pgdei-UNIT -V Neurological Disorders & developmental disabilities
JELLA VISHNU DURGA PRASAD
 
PPTX
Kanban Cards _ Mass Action in Odoo 18.2 - Odoo Slides
Celine George
 
PPTX
Sonnet 130_ My Mistress’ Eyes Are Nothing Like the Sun By William Shakespear...
DhatriParmar
 
PPTX
BASICS IN COMPUTER APPLICATIONS - UNIT I
suganthim28
 
PPTX
An introduction to Prepositions for beginners.pptx
drsiddhantnagine
 
PPTX
A Smarter Way to Think About Choosing a College
Cyndy McDonald
 
PPTX
HEALTH CARE DELIVERY SYSTEM - UNIT 2 - GNM 3RD YEAR.pptx
Priyanshu Anand
 
PPTX
How to Manage Leads in Odoo 18 CRM - Odoo Slides
Celine George
 
PDF
Review of Related Literature & Studies.pdf
Thelma Villaflores
 
PPTX
How to Close Subscription in Odoo 18 - Odoo Slides
Celine George
 
PDF
Biological Classification Class 11th NCERT CBSE NEET.pdf
NehaRohtagi1
 
PPTX
family health care settings home visit - unit 6 - chn 1 - gnm 1st year.pptx
Priyanshu Anand
 
PPTX
CONCEPT OF CHILD CARE. pptx
AneetaSharma15
 
PPTX
Measures_of_location_-_Averages_and__percentiles_by_DR SURYA K.pptx
Surya Ganesh
 
PPTX
CARE OF UNCONSCIOUS PATIENTS .pptx
AneetaSharma15
 
Antianginal agents, Definition, Classification, MOA.pdf
Prerana Jadhav
 
Gupta Art & Architecture Temple and Sculptures.pptx
Virag Sontakke
 
What is CFA?? Complete Guide to the Chartered Financial Analyst Program
sp4989653
 
INTESTINALPARASITES OR WORM INFESTATIONS.pptx
PRADEEP ABOTHU
 
Applications of matrices In Real Life_20250724_091307_0000.pptx
gehlotkrish03
 
pgdei-UNIT -V Neurological Disorders & developmental disabilities
JELLA VISHNU DURGA PRASAD
 
Kanban Cards _ Mass Action in Odoo 18.2 - Odoo Slides
Celine George
 
Sonnet 130_ My Mistress’ Eyes Are Nothing Like the Sun By William Shakespear...
DhatriParmar
 
BASICS IN COMPUTER APPLICATIONS - UNIT I
suganthim28
 
An introduction to Prepositions for beginners.pptx
drsiddhantnagine
 
A Smarter Way to Think About Choosing a College
Cyndy McDonald
 
HEALTH CARE DELIVERY SYSTEM - UNIT 2 - GNM 3RD YEAR.pptx
Priyanshu Anand
 
How to Manage Leads in Odoo 18 CRM - Odoo Slides
Celine George
 
Review of Related Literature & Studies.pdf
Thelma Villaflores
 
How to Close Subscription in Odoo 18 - Odoo Slides
Celine George
 
Biological Classification Class 11th NCERT CBSE NEET.pdf
NehaRohtagi1
 
family health care settings home visit - unit 6 - chn 1 - gnm 1st year.pptx
Priyanshu Anand
 
CONCEPT OF CHILD CARE. pptx
AneetaSharma15
 
Measures_of_location_-_Averages_and__percentiles_by_DR SURYA K.pptx
Surya Ganesh
 
CARE OF UNCONSCIOUS PATIENTS .pptx
AneetaSharma15
 

Routing Presentation

  • 2. Table of Contents • Routing • Desirable properties of routing • Design parameter of routing algorithms • Fixed Routing – Dijkstra Algorithm • Flooding Routing • Adaptive/Dynamic Routing – Distance Vector Routing – Link state Routing • Multicast Routing
  • 3. Router • A routers networking hardware device which send and receive data packets to other networks.
  • 4. Routing • The routing is to chose the best cost effective path, which is selected by routing algorithm
  • 5. Desirable Properties of Routing  Correctness and simplicity  Robustness  Stability  Fairness and Optimality  Efficiency
  • 6. Design Parameter of Routing Algorithms Performance criteria :Number of hops , Cost , Delay, Throughput Decision time : Datagram , Virtual circuit Decision plane :EACH NODE (Distributed), Central Node (Centralized) , Originated Node (Source). Network Information source: None , Adjacent node , Nodes Along Route , All Nodes. Network information updating time: continuous, periodic , major load change , topology change.
  • 7. Fixed Routing A route is selected for each source-destination pair of nodes in network. The routes are fixed they only may change if there is change in topology in network. Fixed Routing :Example • SUCH a big routing directory is created in network control center. • This has a big drawbacks. If this NC center fail everything fail, so it is not very reliable. 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 -
  • 8. Fixed Routing As directory is packet receive and send it to its next node. Question is how these directory created? Node 1 Directory Destinatio n Next Node 2 2 3 3 4 2 5 2 6 2 Node 2 Directory Destination Next Node 1 1 3 1 4 6 5 6 6 6 Node 3 Directory Destination Next Node 1 1 2 1 4 4 5 5 6 1 Node 4 Directory Destinatio n Next Node 1 6 2 6 3 3 5 5 6 6 Node 5 Directory Destination Next Node 1 4 2 4 3 3 4 4 6 4 Node 6 Directory Destination Next Node 1 2 2 2 3 2 4 4 5 4
  • 9. Dijkstra algorithm It find the least cost paths from given node to all other nodes . It work on static condition when topology and cost fix. • These are basic steps: • -initialization; M= {s} , Dn =dSN for n!=s • -find neighboring nodes not in M has least-cost path from s include in M. • -update the least cost path.
  • 10. Dijkstra Algorithm 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
  • 11. Dijkstra Algorithm Iteration M C(2) path C(3) path C(4) path C(5) path C(6) path 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
  • 12. Fixed routing Advantages: • Simple, cost given, least cost path given you can use it simple. • Works well for stable load network. • Same for virtual-circuit or datagram. Problems: • Lack of flexibility, if network condition change it fail • Does not react to failure network, or congestion condition
  • 13. Flooding Routing • Require no network any information whatsoever • Every incoming packet is send to all node except from which it come.
  • 14. Flooding Routing Advantages: • Reliable. • All routes are tried, so at least one packet goes to shortest route. • All nodes direct or indirectly visited. Problems: • Generate large number copies are generate which make congestion. • Suitable if use damping mechanism so that larges number of packets are not make. Technique To Use • Hop-Count: a hop counter is contain in header of packet and it decrease each one time when pass through the node and discard when it reach to zero. • Sequence Number: Keep track of packets which are responsible for flooding using a sequence number .Avoid sending them out second time.
  • 15. Flooding Utilities Of Flooding:  Flooding is robustness: in case of war or load or topology change under such case this is very useful  May be used in virtual circuit like when packet reach to D from least cost path it send acknowledgment and it save.  Flooding always uses shortest path since it explore every possible path to D.  Some time to messages all nodes so it’s good. To upgrade info this helpful  Rather its disadvantages it’s also have imp utilities.
  • 16. Selective Flooding • A variation which is slightly more practical is Selective Flooding. • The router don’t send packets to in all direction but in the direction to the destination. Give weightage to check whether it is going to D or moving away to D.
  • 17. Random Routing • This has the simplicity and robustness of flooding with far less traffic load. • A node only selective one outgoing path for retransmission of incoming packet.
  • 18. Random Routing  Don’t need the info of the network like how many packets are in Queue bandwidth etc.  Round Robin fashion in which you chose random and choose a link and next time you choose other link etc.
  • 19. Random Routing  A refinement is to assign a Probability to each outgoing link and to select the link based on that probability  So here the Data Rate is used as network information use higher data rate path so packet shall be deliver to the destination but it also has a limitation like it don’t select cost effective path
  • 20. Adaptive routing  Adaptive routing use networking information for it’s routing  Routing decision change as condition on the network change.  Two principal that affecting routing decision. – Failure: when a node, link fail it can’t longer use as a route. – Congestion: when a particular area of the network congested it is desirable to move the route packets around the congestion area. So adaptive routing changes dynamically with the networking condition.
  • 21. Adapting Routing • For Adaptive Routing, there must be exchange network information among the nodes. • Number Of Hops (simplest one but the not use i.e. for particular ‘S’ TO ‘D’ how many hops packets use) • Time Delay in msec (for a particular S to D , queue length is know we can call the time delay) • Total Packets : Total number of packets queued in network.
  • 22. Adapting Routing  More Information Exchange, Better Routing, More Overhead  More Frequent, Better Routing, More Overhead So there is trade off.
  • 23. Adaptive Routing Problems • Routing is done dynamically changing condition so it put Burdon on switching nodes. • More processing power required for Routing Decisions • It may react too quickly to change network state, thus produces Congestion.
  • 24. Adaptive Routing Advantages • Improve performance • Can aid in congestion control • Widely used
  • 25. Distance Vector Routing • Key characteristic: Knowledge about Entire Network. Routing only to Neighbor. Information sharing at Regular Interval. Network ID Cost Next Router
  • 26. Link State Routing • Basic steps: • Identify the neighboring nodes. • Measure the delay or cost to each of its neighbor. • Form a packet contain all the information. • Send the packets to all other nodes (flooding) • Compute the shortest path to every other node (Dijkstra algorithm) • Here in link state information gather is only from its neighboring nodes rather entire network like distance routing. • So the basic idea is it gather information to its neighboring node and route to all like flooding. • And information sharing gather is done after regular interval. Advertise ID NetworkID (destination) Cost Next Router
  • 27. Link State Routing Problems  Information is gather at regular interval  More complex  It’s make some kind of database.  Computational power and memory  Expensive
  • 28. Multicast Routing • Sending information from S to D. but in some case we have to send some message to a group of peoples. • Uses for Broadcasting  Technique -Find The Spanning Tree -Flooding
  • 29. Review • Routing • Desirable properties of routing • Design parameter of routing algorithms • Fixed Routing • Dijkstra Algorithm • Flooding routing • Adaptive/dynamic routing • Adaptive Routing • Distance vector routing • Link state routing • Multicast routing