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
Ad

More Related Content

What's hot (20)

Routing
RoutingRouting
Routing
Saima Azam
 
Presentation Routing algorithm
Presentation Routing algorithmPresentation Routing algorithm
Presentation Routing algorithm
Basit Hussain
 
Multicast Routing Protocols
Multicast Routing ProtocolsMulticast Routing Protocols
Multicast Routing Protocols
Ram Dutt Shukla
 
Routing ppt
Routing pptRouting ppt
Routing ppt
ArpiSaxena1
 
TCP & UDP ( Transmission Control Protocol and User Datagram Protocol)
TCP & UDP ( Transmission Control Protocol and User Datagram Protocol)TCP & UDP ( Transmission Control Protocol and User Datagram Protocol)
TCP & UDP ( Transmission Control Protocol and User Datagram Protocol)
Kruti Niranjan
 
IP Multicasting
IP MulticastingIP Multicasting
IP Multicasting
Tharindu Kumara
 
Routing protocols
Routing protocolsRouting protocols
Routing protocols
rajshreemuthiah
 
MEDIUM ACCESS CONTROL
MEDIUM ACCESS CONTROLMEDIUM ACCESS CONTROL
MEDIUM ACCESS CONTROL
junnubabu
 
Network Layer design Issues.pptx
Network Layer design Issues.pptxNetwork Layer design Issues.pptx
Network Layer design Issues.pptx
Acad
 
Wireless routing protocols
Wireless routing protocolsWireless routing protocols
Wireless routing protocols
barodia_1437
 
Open Shortest Path First
Open Shortest Path FirstOpen Shortest Path First
Open Shortest Path First
Kashif Latif
 
Destination Sequenced Distance Vector Routing (DSDV)
Destination Sequenced Distance Vector Routing (DSDV)Destination Sequenced Distance Vector Routing (DSDV)
Destination Sequenced Distance Vector Routing (DSDV)
ArunChokkalingam
 
Unit 3 Network Layer PPT
Unit 3 Network Layer PPTUnit 3 Network Layer PPT
Unit 3 Network Layer PPT
KalpanaC14
 
Distance Vector & Link state Routing Algorithm
Distance Vector & Link state Routing AlgorithmDistance Vector & Link state Routing Algorithm
Distance Vector & Link state Routing Algorithm
MOHIT AGARWAL
 
Network Layer
Network LayerNetwork Layer
Network Layer
Dr Shashikant Athawale
 
Computer network switching
Computer network switchingComputer network switching
Computer network switching
Shivani Godha
 
Multicast routing
Multicast routingMulticast routing
Multicast routing
Gunasekara Reddy
 
Routing Information Protocol (RIP)
Routing Information Protocol(RIP)Routing Information Protocol(RIP)
Routing Information Protocol (RIP)
waqasahmad1995
 
ospf routing protocol
ospf routing protocolospf routing protocol
ospf routing protocol
Ameer Agel
 
Routing Protocols
Routing Protocols Routing Protocols
Routing Protocols
KhushbirSinghSandhu
 
Presentation Routing algorithm
Presentation Routing algorithmPresentation Routing algorithm
Presentation Routing algorithm
Basit Hussain
 
Multicast Routing Protocols
Multicast Routing ProtocolsMulticast Routing Protocols
Multicast Routing Protocols
Ram Dutt Shukla
 
TCP & UDP ( Transmission Control Protocol and User Datagram Protocol)
TCP & UDP ( Transmission Control Protocol and User Datagram Protocol)TCP & UDP ( Transmission Control Protocol and User Datagram Protocol)
TCP & UDP ( Transmission Control Protocol and User Datagram Protocol)
Kruti Niranjan
 
MEDIUM ACCESS CONTROL
MEDIUM ACCESS CONTROLMEDIUM ACCESS CONTROL
MEDIUM ACCESS CONTROL
junnubabu
 
Network Layer design Issues.pptx
Network Layer design Issues.pptxNetwork Layer design Issues.pptx
Network Layer design Issues.pptx
Acad
 
Wireless routing protocols
Wireless routing protocolsWireless routing protocols
Wireless routing protocols
barodia_1437
 
Open Shortest Path First
Open Shortest Path FirstOpen Shortest Path First
Open Shortest Path First
Kashif Latif
 
Destination Sequenced Distance Vector Routing (DSDV)
Destination Sequenced Distance Vector Routing (DSDV)Destination Sequenced Distance Vector Routing (DSDV)
Destination Sequenced Distance Vector Routing (DSDV)
ArunChokkalingam
 
Unit 3 Network Layer PPT
Unit 3 Network Layer PPTUnit 3 Network Layer PPT
Unit 3 Network Layer PPT
KalpanaC14
 
Distance Vector & Link state Routing Algorithm
Distance Vector & Link state Routing AlgorithmDistance Vector & Link state Routing Algorithm
Distance Vector & Link state Routing Algorithm
MOHIT AGARWAL
 
Computer network switching
Computer network switchingComputer network switching
Computer network switching
Shivani Godha
 
Routing Information Protocol (RIP)
Routing Information Protocol(RIP)Routing Information Protocol(RIP)
Routing Information Protocol (RIP)
waqasahmad1995
 
ospf routing protocol
ospf routing protocolospf routing protocol
ospf routing protocol
Ameer Agel
 

Similar to Routing Presentation (20)

Routing algorithms mehodology materials doc1
Routing algorithms mehodology materials doc1Routing algorithms mehodology materials doc1
Routing algorithms mehodology materials doc1
Mugabo4
 
Module 3 Part B - computer networks module 2 ppt
Module 3 Part B - computer networks module 2 pptModule 3 Part B - computer networks module 2 ppt
Module 3 Part B - computer networks module 2 ppt
anushaj46
 
Unit 4_Network Layer_Part II.pptx
Unit 4_Network Layer_Part II.pptxUnit 4_Network Layer_Part II.pptx
Unit 4_Network Layer_Part II.pptx
HODElex
 
Routing algorithms
Routing algorithmsRouting algorithms
Routing algorithms
Parameswaran Selvakumar
 
Unit 3_Network Layer_Part II.pptx
Unit 3_Network Layer_Part II.pptxUnit 3_Network Layer_Part II.pptx
Unit 3_Network Layer_Part II.pptx
HODElex
 
Dc ch11 : routing in switched networks
Dc ch11 : routing in switched networksDc ch11 : routing in switched networks
Dc ch11 : routing in switched networks
Syaiful Ahdan
 
NetworkAlgorithms.ppt
NetworkAlgorithms.pptNetworkAlgorithms.ppt
NetworkAlgorithms.ppt
21121A0594
 
11 routing
11 routing11 routing
11 routing
shefali84
 
11-RoutingThe development of wireless systems traces its roots .ppt
11-RoutingThe development of wireless systems traces its roots .ppt11-RoutingThe development of wireless systems traces its roots .ppt
11-RoutingThe development of wireless systems traces its roots .ppt
vimalgaur7
 
Network layer
Network layerNetwork layer
Network layer
TharuniDiddekunta
 
routing 23.pptx
routing 23.pptxrouting 23.pptx
routing 23.pptx
zulhelmanz
 
Routing and IP in Advance Computer Network,Vikram Snehi
Routing and IP in Advance Computer Network,Vikram  SnehiRouting and IP in Advance Computer Network,Vikram  Snehi
Routing and IP in Advance Computer Network,Vikram Snehi
MR. VIKRAM SNEHI
 
Network Layer Routing Protocols - Computer Networks
Network Layer Routing Protocols - Computer NetworksNetwork Layer Routing Protocols - Computer Networks
Network Layer Routing Protocols - Computer Networks
SunilKumar481222
 
Unit-3-Part-1 [Autosaved].ppt
Unit-3-Part-1 [Autosaved].pptUnit-3-Part-1 [Autosaved].ppt
Unit-3-Part-1 [Autosaved].ppt
Ramya Nellutla
 
Classification of routing protocols
Classification of routing protocolsClassification of routing protocols
Classification of routing protocols
Menaga Selvaraj
 
Presentation 2
Presentation 2Presentation 2
Presentation 2
Haripritha
 
Lecture 7
 Lecture 7 Lecture 7
Lecture 7
Syed Ariful Islam Emon
 
CCN Unit-4 Network Layer by Dr. K. Adisesha
CCN Unit-4 Network Layer by Dr. K. AdiseshaCCN Unit-4 Network Layer by Dr. K. Adisesha
CCN Unit-4 Network Layer by Dr. K. Adisesha
Prof. Dr. K. Adisesha
 
Routing Protocols
Routing ProtocolsRouting Protocols
Routing Protocols
Dr.Ashvini Chaudhari Bhongade
 
Computer networks unit iii
Computer networks    unit iiiComputer networks    unit iii
Computer networks unit iii
JAIGANESH SEKAR
 
Routing algorithms mehodology materials doc1
Routing algorithms mehodology materials doc1Routing algorithms mehodology materials doc1
Routing algorithms mehodology materials doc1
Mugabo4
 
Module 3 Part B - computer networks module 2 ppt
Module 3 Part B - computer networks module 2 pptModule 3 Part B - computer networks module 2 ppt
Module 3 Part B - computer networks module 2 ppt
anushaj46
 
Unit 4_Network Layer_Part II.pptx
Unit 4_Network Layer_Part II.pptxUnit 4_Network Layer_Part II.pptx
Unit 4_Network Layer_Part II.pptx
HODElex
 
Unit 3_Network Layer_Part II.pptx
Unit 3_Network Layer_Part II.pptxUnit 3_Network Layer_Part II.pptx
Unit 3_Network Layer_Part II.pptx
HODElex
 
Dc ch11 : routing in switched networks
Dc ch11 : routing in switched networksDc ch11 : routing in switched networks
Dc ch11 : routing in switched networks
Syaiful Ahdan
 
NetworkAlgorithms.ppt
NetworkAlgorithms.pptNetworkAlgorithms.ppt
NetworkAlgorithms.ppt
21121A0594
 
11-RoutingThe development of wireless systems traces its roots .ppt
11-RoutingThe development of wireless systems traces its roots .ppt11-RoutingThe development of wireless systems traces its roots .ppt
11-RoutingThe development of wireless systems traces its roots .ppt
vimalgaur7
 
routing 23.pptx
routing 23.pptxrouting 23.pptx
routing 23.pptx
zulhelmanz
 
Routing and IP in Advance Computer Network,Vikram Snehi
Routing and IP in Advance Computer Network,Vikram  SnehiRouting and IP in Advance Computer Network,Vikram  Snehi
Routing and IP in Advance Computer Network,Vikram Snehi
MR. VIKRAM SNEHI
 
Network Layer Routing Protocols - Computer Networks
Network Layer Routing Protocols - Computer NetworksNetwork Layer Routing Protocols - Computer Networks
Network Layer Routing Protocols - Computer Networks
SunilKumar481222
 
Unit-3-Part-1 [Autosaved].ppt
Unit-3-Part-1 [Autosaved].pptUnit-3-Part-1 [Autosaved].ppt
Unit-3-Part-1 [Autosaved].ppt
Ramya Nellutla
 
Classification of routing protocols
Classification of routing protocolsClassification of routing protocols
Classification of routing protocols
Menaga Selvaraj
 
Presentation 2
Presentation 2Presentation 2
Presentation 2
Haripritha
 
CCN Unit-4 Network Layer by Dr. K. Adisesha
CCN Unit-4 Network Layer by Dr. K. AdiseshaCCN Unit-4 Network Layer by Dr. K. Adisesha
CCN Unit-4 Network Layer by Dr. K. Adisesha
Prof. Dr. K. Adisesha
 
Computer networks unit iii
Computer networks    unit iiiComputer networks    unit iii
Computer networks unit iii
JAIGANESH SEKAR
 
Ad

More from Mohsin Ali (13)

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
 
Paper on Routing
Paper on RoutingPaper on Routing
Paper on Routing
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
 
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
 
What is Internet
What is InternetWhat is Internet
What is Internet
Mohsin Ali
 
Paper on Routing
Paper on RoutingPaper on Routing
Paper on Routing
Mohsin Ali
 
School Management System ppt
School Management System pptSchool Management System ppt
School Management System ppt
Mohsin Ali
 
What is a call letter
What is a call letterWhat is a call letter
What is a call letter
Mohsin Ali
 
Ad

Recently uploaded (20)

Political History of Pala dynasty Pala Rulers NEP.pptx
Political History of Pala dynasty Pala Rulers NEP.pptxPolitical History of Pala dynasty Pala Rulers NEP.pptx
Political History of Pala dynasty Pala Rulers NEP.pptx
Arya Mahila P. G. College, Banaras Hindu University, Varanasi, India.
 
New Microsoft PowerPoint Presentation.pptx
New Microsoft PowerPoint Presentation.pptxNew Microsoft PowerPoint Presentation.pptx
New Microsoft PowerPoint Presentation.pptx
milanasargsyan5
 
Anti-Depressants pharmacology 1slide.pptx
Anti-Depressants pharmacology 1slide.pptxAnti-Depressants pharmacology 1slide.pptx
Anti-Depressants pharmacology 1slide.pptx
Mayuri Chavan
 
Niamh Lucey, Mary Dunne. Health Sciences Libraries Group (LAI). Lighting the ...
Niamh Lucey, Mary Dunne. Health Sciences Libraries Group (LAI). Lighting the ...Niamh Lucey, Mary Dunne. Health Sciences Libraries Group (LAI). Lighting the ...
Niamh Lucey, Mary Dunne. Health Sciences Libraries Group (LAI). Lighting the ...
Library Association of Ireland
 
Handling Multiple Choice Responses: Fortune Effiong.pptx
Handling Multiple Choice Responses: Fortune Effiong.pptxHandling Multiple Choice Responses: Fortune Effiong.pptx
Handling Multiple Choice Responses: Fortune Effiong.pptx
AuthorAIDNationalRes
 
To study the nervous system of insect.pptx
To study the nervous system of insect.pptxTo study the nervous system of insect.pptx
To study the nervous system of insect.pptx
Arshad Shaikh
 
Introduction to Vibe Coding and Vibe Engineering
Introduction to Vibe Coding and Vibe EngineeringIntroduction to Vibe Coding and Vibe Engineering
Introduction to Vibe Coding and Vibe Engineering
Damian T. Gordon
 
Metamorphosis: Life's Transformative Journey
Metamorphosis: Life's Transformative JourneyMetamorphosis: Life's Transformative Journey
Metamorphosis: Life's Transformative Journey
Arshad Shaikh
 
LDMMIA Reiki Master Spring 2025 Mini Updates
LDMMIA Reiki Master Spring 2025 Mini UpdatesLDMMIA Reiki Master Spring 2025 Mini Updates
LDMMIA Reiki Master Spring 2025 Mini Updates
LDM Mia eStudios
 
Exploring-Substances-Acidic-Basic-and-Neutral.pdf
Exploring-Substances-Acidic-Basic-and-Neutral.pdfExploring-Substances-Acidic-Basic-and-Neutral.pdf
Exploring-Substances-Acidic-Basic-and-Neutral.pdf
Sandeep Swamy
 
Understanding P–N Junction Semiconductors: A Beginner’s Guide
Understanding P–N Junction Semiconductors: A Beginner’s GuideUnderstanding P–N Junction Semiconductors: A Beginner’s Guide
Understanding P–N Junction Semiconductors: A Beginner’s Guide
GS Virdi
 
Marie Boran Special Collections Librarian Hardiman Library, University of Gal...
Marie Boran Special Collections Librarian Hardiman Library, University of Gal...Marie Boran Special Collections Librarian Hardiman Library, University of Gal...
Marie Boran Special Collections Librarian Hardiman Library, University of Gal...
Library Association of Ireland
 
Social Problem-Unemployment .pptx notes for Physiotherapy Students
Social Problem-Unemployment .pptx notes for Physiotherapy StudentsSocial Problem-Unemployment .pptx notes for Physiotherapy Students
Social Problem-Unemployment .pptx notes for Physiotherapy Students
DrNidhiAgarwal
 
Quality Contril Analysis of Containers.pdf
Quality Contril Analysis of Containers.pdfQuality Contril Analysis of Containers.pdf
Quality Contril Analysis of Containers.pdf
Dr. Bindiya Chauhan
 
YSPH VMOC Special Report - Measles Outbreak Southwest US 5-3-2025.pptx
YSPH VMOC Special Report - Measles Outbreak  Southwest US 5-3-2025.pptxYSPH VMOC Special Report - Measles Outbreak  Southwest US 5-3-2025.pptx
YSPH VMOC Special Report - Measles Outbreak Southwest US 5-3-2025.pptx
Yale School of Public Health - The Virtual Medical Operations Center (VMOC)
 
K12 Tableau Tuesday - Algebra Equity and Access in Atlanta Public Schools
K12 Tableau Tuesday  - Algebra Equity and Access in Atlanta Public SchoolsK12 Tableau Tuesday  - Algebra Equity and Access in Atlanta Public Schools
K12 Tableau Tuesday - Algebra Equity and Access in Atlanta Public Schools
dogden2
 
YSPH VMOC Special Report - Measles Outbreak Southwest US 4-30-2025.pptx
YSPH VMOC Special Report - Measles Outbreak  Southwest US 4-30-2025.pptxYSPH VMOC Special Report - Measles Outbreak  Southwest US 4-30-2025.pptx
YSPH VMOC Special Report - Measles Outbreak Southwest US 4-30-2025.pptx
Yale School of Public Health - The Virtual Medical Operations Center (VMOC)
 
How to Customize Your Financial Reports & Tax Reports With Odoo 17 Accounting
How to Customize Your Financial Reports & Tax Reports With Odoo 17 AccountingHow to Customize Your Financial Reports & Tax Reports With Odoo 17 Accounting
How to Customize Your Financial Reports & Tax Reports With Odoo 17 Accounting
Celine George
 
Unit 6_Introduction_Phishing_Password Cracking.pdf
Unit 6_Introduction_Phishing_Password Cracking.pdfUnit 6_Introduction_Phishing_Password Cracking.pdf
Unit 6_Introduction_Phishing_Password Cracking.pdf
KanchanPatil34
 
CBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - Worksheet
CBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - WorksheetCBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - Worksheet
CBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - Worksheet
Sritoma Majumder
 
New Microsoft PowerPoint Presentation.pptx
New Microsoft PowerPoint Presentation.pptxNew Microsoft PowerPoint Presentation.pptx
New Microsoft PowerPoint Presentation.pptx
milanasargsyan5
 
Anti-Depressants pharmacology 1slide.pptx
Anti-Depressants pharmacology 1slide.pptxAnti-Depressants pharmacology 1slide.pptx
Anti-Depressants pharmacology 1slide.pptx
Mayuri Chavan
 
Niamh Lucey, Mary Dunne. Health Sciences Libraries Group (LAI). Lighting the ...
Niamh Lucey, Mary Dunne. Health Sciences Libraries Group (LAI). Lighting the ...Niamh Lucey, Mary Dunne. Health Sciences Libraries Group (LAI). Lighting the ...
Niamh Lucey, Mary Dunne. Health Sciences Libraries Group (LAI). Lighting the ...
Library Association of Ireland
 
Handling Multiple Choice Responses: Fortune Effiong.pptx
Handling Multiple Choice Responses: Fortune Effiong.pptxHandling Multiple Choice Responses: Fortune Effiong.pptx
Handling Multiple Choice Responses: Fortune Effiong.pptx
AuthorAIDNationalRes
 
To study the nervous system of insect.pptx
To study the nervous system of insect.pptxTo study the nervous system of insect.pptx
To study the nervous system of insect.pptx
Arshad Shaikh
 
Introduction to Vibe Coding and Vibe Engineering
Introduction to Vibe Coding and Vibe EngineeringIntroduction to Vibe Coding and Vibe Engineering
Introduction to Vibe Coding and Vibe Engineering
Damian T. Gordon
 
Metamorphosis: Life's Transformative Journey
Metamorphosis: Life's Transformative JourneyMetamorphosis: Life's Transformative Journey
Metamorphosis: Life's Transformative Journey
Arshad Shaikh
 
LDMMIA Reiki Master Spring 2025 Mini Updates
LDMMIA Reiki Master Spring 2025 Mini UpdatesLDMMIA Reiki Master Spring 2025 Mini Updates
LDMMIA Reiki Master Spring 2025 Mini Updates
LDM Mia eStudios
 
Exploring-Substances-Acidic-Basic-and-Neutral.pdf
Exploring-Substances-Acidic-Basic-and-Neutral.pdfExploring-Substances-Acidic-Basic-and-Neutral.pdf
Exploring-Substances-Acidic-Basic-and-Neutral.pdf
Sandeep Swamy
 
Understanding P–N Junction Semiconductors: A Beginner’s Guide
Understanding P–N Junction Semiconductors: A Beginner’s GuideUnderstanding P–N Junction Semiconductors: A Beginner’s Guide
Understanding P–N Junction Semiconductors: A Beginner’s Guide
GS Virdi
 
Marie Boran Special Collections Librarian Hardiman Library, University of Gal...
Marie Boran Special Collections Librarian Hardiman Library, University of Gal...Marie Boran Special Collections Librarian Hardiman Library, University of Gal...
Marie Boran Special Collections Librarian Hardiman Library, University of Gal...
Library Association of Ireland
 
Social Problem-Unemployment .pptx notes for Physiotherapy Students
Social Problem-Unemployment .pptx notes for Physiotherapy StudentsSocial Problem-Unemployment .pptx notes for Physiotherapy Students
Social Problem-Unemployment .pptx notes for Physiotherapy Students
DrNidhiAgarwal
 
Quality Contril Analysis of Containers.pdf
Quality Contril Analysis of Containers.pdfQuality Contril Analysis of Containers.pdf
Quality Contril Analysis of Containers.pdf
Dr. Bindiya Chauhan
 
K12 Tableau Tuesday - Algebra Equity and Access in Atlanta Public Schools
K12 Tableau Tuesday  - Algebra Equity and Access in Atlanta Public SchoolsK12 Tableau Tuesday  - Algebra Equity and Access in Atlanta Public Schools
K12 Tableau Tuesday - Algebra Equity and Access in Atlanta Public Schools
dogden2
 
How to Customize Your Financial Reports & Tax Reports With Odoo 17 Accounting
How to Customize Your Financial Reports & Tax Reports With Odoo 17 AccountingHow to Customize Your Financial Reports & Tax Reports With Odoo 17 Accounting
How to Customize Your Financial Reports & Tax Reports With Odoo 17 Accounting
Celine George
 
Unit 6_Introduction_Phishing_Password Cracking.pdf
Unit 6_Introduction_Phishing_Password Cracking.pdfUnit 6_Introduction_Phishing_Password Cracking.pdf
Unit 6_Introduction_Phishing_Password Cracking.pdf
KanchanPatil34
 
CBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - Worksheet
CBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - WorksheetCBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - Worksheet
CBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - Worksheet
Sritoma Majumder
 

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