SlideShare a Scribd company logo
1 of 30
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

What's hot

Wireless routing protocols
Wireless routing protocolsWireless routing protocols
Wireless routing protocolsbarodia_1437
 
Zone Routing Protocol
Zone Routing ProtocolZone Routing Protocol
Zone Routing Protocolnitss007
 
Routing algorithm
Routing algorithmRouting algorithm
Routing algorithmBushra M
 
Presentation Routing algorithm
Presentation Routing algorithmPresentation Routing algorithm
Presentation Routing algorithmBasit Hussain
 
QOS (Quality of Services) - Computer Networks
 QOS (Quality of Services) - Computer Networks QOS (Quality of Services) - Computer Networks
QOS (Quality of Services) - Computer NetworksIIIT Manipur
 
Routing in Manet
Routing in ManetRouting in Manet
Routing in Manetshiujinghan
 
Internet standard routing protocols
Internet standard routing protocolsInternet standard routing protocols
Internet standard routing protocolsOnline
 
Routing and routing algorithms
Routing and routing algorithmsRouting and routing algorithms
Routing and routing algorithmsBhatt Aadil
 
Issues in routing protocol
Issues in routing protocolIssues in routing protocol
Issues in routing protocolPradeep Kumar TS
 
Lecture 11 14. Adhoc routing protocols cont..
Lecture 11 14. Adhoc  routing protocols cont..Lecture 11 14. Adhoc  routing protocols cont..
Lecture 11 14. Adhoc routing protocols cont..Chandra Meena
 
Mobile transport layer - traditional TCP
Mobile transport layer - traditional TCPMobile transport layer - traditional TCP
Mobile transport layer - traditional TCPVishal Tandel
 
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
 
Border Gateway Protocol
Border Gateway ProtocolBorder Gateway Protocol
Border Gateway ProtocolKashif Latif
 
Routing algorithm network layer
Routing algorithm  network layerRouting algorithm  network layer
Routing algorithm network layersambhenilesh
 

What's hot (20)

Wireless routing protocols
Wireless routing protocolsWireless routing protocols
Wireless routing protocols
 
Zone Routing Protocol
Zone Routing ProtocolZone Routing Protocol
Zone Routing Protocol
 
Routing algorithm
Routing algorithmRouting algorithm
Routing algorithm
 
Routing algorithm
Routing algorithmRouting algorithm
Routing algorithm
 
Presentation Routing algorithm
Presentation Routing algorithmPresentation Routing algorithm
Presentation Routing algorithm
 
AODV routing protocol
AODV routing protocolAODV routing protocol
AODV routing protocol
 
QOS (Quality of Services) - Computer Networks
 QOS (Quality of Services) - Computer Networks QOS (Quality of Services) - Computer Networks
QOS (Quality of Services) - Computer Networks
 
MPLS Presentation
MPLS PresentationMPLS Presentation
MPLS Presentation
 
Routing in Manet
Routing in ManetRouting in Manet
Routing in Manet
 
Internet standard routing protocols
Internet standard routing protocolsInternet standard routing protocols
Internet standard routing protocols
 
Routing and routing algorithms
Routing and routing algorithmsRouting and routing algorithms
Routing and routing algorithms
 
Issues in routing protocol
Issues in routing protocolIssues in routing protocol
Issues in routing protocol
 
Lecture 11 14. Adhoc routing protocols cont..
Lecture 11 14. Adhoc  routing protocols cont..Lecture 11 14. Adhoc  routing protocols cont..
Lecture 11 14. Adhoc routing protocols cont..
 
Mobile transport layer - traditional TCP
Mobile transport layer - traditional TCPMobile transport layer - traditional TCP
Mobile transport layer - traditional TCP
 
AODV protocol
AODV protocolAODV protocol
AODV protocol
 
Destination Sequenced Distance Vector Routing (DSDV)
Destination Sequenced Distance Vector Routing (DSDV)Destination Sequenced Distance Vector Routing (DSDV)
Destination Sequenced Distance Vector Routing (DSDV)
 
Border Gateway Protocol
Border Gateway ProtocolBorder Gateway Protocol
Border Gateway Protocol
 
Routing Protocols
Routing ProtocolsRouting Protocols
Routing Protocols
 
Routing algorithm network layer
Routing algorithm  network layerRouting algorithm  network layer
Routing algorithm network layer
 
Routing ppt
Routing pptRouting ppt
Routing ppt
 

Viewers also liked

Computer networks network layer,routing
Computer networks network layer,routingComputer networks network layer,routing
Computer networks network layer,routingDeepak John
 
Chapter 06 - Static Routing
Chapter 06 - Static RoutingChapter 06 - Static Routing
Chapter 06 - Static RoutingYaser Rahmati
 
Chapter 06 - Routing
Chapter 06 - RoutingChapter 06 - Routing
Chapter 06 - Routingphanleson
 
Routers and Routing Configuration
Routers and Routing ConfigurationRouters and Routing Configuration
Routers and Routing Configurationyasir1122
 

Viewers also liked (6)

Computer networks network layer,routing
Computer networks network layer,routingComputer networks network layer,routing
Computer networks network layer,routing
 
Chapter 06 - Static Routing
Chapter 06 - Static RoutingChapter 06 - Static Routing
Chapter 06 - Static Routing
 
Static Routing
Static RoutingStatic Routing
Static Routing
 
Chapter 06 - Routing
Chapter 06 - RoutingChapter 06 - Routing
Chapter 06 - Routing
 
Routing
RoutingRouting
Routing
 
Routers and Routing Configuration
Routers and Routing ConfigurationRouters and Routing Configuration
Routers and Routing Configuration
 

Similar to Routing Presentation

Routing algorithms mehodology materials doc1
Routing algorithms mehodology materials doc1Routing algorithms mehodology materials doc1
Routing algorithms mehodology materials doc1Mugabo4
 
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 pptanushaj46
 
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.pptxHODElex
 
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.pptxHODElex
 
Dc ch11 : routing in switched networks
Dc ch11 : routing in switched networksDc ch11 : routing in switched networks
Dc ch11 : routing in switched networksSyaiful Ahdan
 
NetworkAlgorithms.ppt
NetworkAlgorithms.pptNetworkAlgorithms.ppt
NetworkAlgorithms.ppt21121A0594
 
routing 23.pptx
routing 23.pptxrouting 23.pptx
routing 23.pptxzulhelmanz
 
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 SnehiMR. VIKRAM SNEHI
 
Unit-3-Part-1 [Autosaved].ppt
Unit-3-Part-1 [Autosaved].pptUnit-3-Part-1 [Autosaved].ppt
Unit-3-Part-1 [Autosaved].pptRamya Nellutla
 
Classification of routing protocols
Classification of routing protocolsClassification of routing protocols
Classification of routing protocolsMenaga Selvaraj
 
Presentation 2
Presentation 2Presentation 2
Presentation 2Haripritha
 
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. AdiseshaProf. Dr. K. Adisesha
 
Computer networks unit iii
Computer networks    unit iiiComputer networks    unit iii
Computer networks unit iiiJAIGANESH SEKAR
 
UNIT2-nw layer autonomy.pptx
UNIT2-nw layer autonomy.pptxUNIT2-nw layer autonomy.pptx
UNIT2-nw layer autonomy.pptxsatvikpatil5
 
ROUTING PROTOCOLS new.pptx
ROUTING PROTOCOLS new.pptxROUTING PROTOCOLS new.pptx
ROUTING PROTOCOLS new.pptxAayushMishra89
 
24-ad-hoc.ppt
24-ad-hoc.ppt24-ad-hoc.ppt
24-ad-hoc.pptsumadi26
 

Similar to Routing Presentation (20)

Routing algorithms mehodology materials doc1
Routing algorithms mehodology materials doc1Routing algorithms mehodology materials doc1
Routing algorithms mehodology materials doc1
 
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
 
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
 
Routing algorithms
Routing algorithmsRouting algorithms
Routing algorithms
 
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
 
Dc ch11 : routing in switched networks
Dc ch11 : routing in switched networksDc ch11 : routing in switched networks
Dc ch11 : routing in switched networks
 
NetworkAlgorithms.ppt
NetworkAlgorithms.pptNetworkAlgorithms.ppt
NetworkAlgorithms.ppt
 
11 routing
11 routing11 routing
11 routing
 
Network layer
Network layerNetwork layer
Network layer
 
routing 23.pptx
routing 23.pptxrouting 23.pptx
routing 23.pptx
 
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
 
Unit-3-Part-1 [Autosaved].ppt
Unit-3-Part-1 [Autosaved].pptUnit-3-Part-1 [Autosaved].ppt
Unit-3-Part-1 [Autosaved].ppt
 
Classification of routing protocols
Classification of routing protocolsClassification of routing protocols
Classification of routing protocols
 
Presentation 2
Presentation 2Presentation 2
Presentation 2
 
Lecture 7
 Lecture 7 Lecture 7
Lecture 7
 
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
 
Computer networks unit iii
Computer networks    unit iiiComputer networks    unit iii
Computer networks unit iii
 
UNIT2-nw layer autonomy.pptx
UNIT2-nw layer autonomy.pptxUNIT2-nw layer autonomy.pptx
UNIT2-nw layer autonomy.pptx
 
ROUTING PROTOCOLS new.pptx
ROUTING PROTOCOLS new.pptxROUTING PROTOCOLS new.pptx
ROUTING PROTOCOLS new.pptx
 
24-ad-hoc.ppt
24-ad-hoc.ppt24-ad-hoc.ppt
24-ad-hoc.ppt
 

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-2019Mohsin Ali
 
Mohsin shoukat cv
Mohsin shoukat cvMohsin shoukat cv
Mohsin shoukat cvMohsin Ali
 
Mohsin Shoukat Software Engineer
Mohsin Shoukat Software EngineerMohsin Shoukat Software Engineer
Mohsin Shoukat Software EngineerMohsin Ali
 
Surah Al fatiha
Surah Al fatihaSurah Al fatiha
Surah Al fatihaMohsin 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 collectionMohsin Ali
 
Bloopers in Technical Writing
Bloopers in Technical WritingBloopers in Technical Writing
Bloopers in Technical WritingMohsin Ali
 
Attributes of Technical Writing
Attributes of Technical WritingAttributes of Technical Writing
Attributes of Technical WritingMohsin Ali
 
What is Internet
What is InternetWhat is Internet
What is InternetMohsin Ali
 
Paper on Routing
Paper on RoutingPaper on Routing
Paper on RoutingMohsin Ali
 
School Management System ppt
School Management System pptSchool Management System ppt
School Management System pptMohsin Ali
 
What is a call letter
What is a call letterWhat is a call letter
What is a call letterMohsin Ali
 

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 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
 
Paper on Routing
Paper on RoutingPaper on Routing
Paper on Routing
 
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

Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin ClassesCeline George
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseAnaAcapella
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxEsquimalt MFRC
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the ClassroomPooky Knightsmith
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxDr. Sarita Anand
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701bronxfugly43
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfPoh-Sun Goh
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...ZurliaSoop
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsKarakKing
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.MaryamAhmad92
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfSherif Taha
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxVishalSingh1417
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...Nguyen Thanh Tu Collection
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 

Recently uploaded (20)

Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 

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