SlideShare ist ein Scribd-Unternehmen logo
1 von 17
Routing
Routing
   Routing is the process of selecting
    paths in a network along which to send
    network traffic
   Process of relaying packets among
    multiple interconnected networks
Least Cost Routing
   Based on efficiency
   Which of the available paths is cheapest
   A value is assigned to each link; length
    of the particular route is equal to the
    total no of the values of the component
    links.
   Shortest means the route requiring the
    smallest no of relays
Non adaptive and Adaptive routing
   Non Adaptive
       Once the pathway to destination has
        been selected, the router sends all
        packets for that destination along that
        route
   Adaptive
       Router may select a new route for each
        packet
Routing Algorithms
   Shortest Path Routing
   Flooding
   Flow Based Routing
   Distance Vector Routing
   Link State Routing
   Hierarchical Routing
   Broadcast Routing
   Multicast routing
Shortest Path Routing
   A graph of subnet is built.
   Each node represents a router
   Each arc of graph represents a
    communication link.
   To choose a route algorithm just finds
    the shortest path between them on the
    graph
Flooding
   Every incoming packet is sent out on every outgoing
    line except the one it arrived on.
   So it generates vast no. of duplicate packets.
   A hop counter is maintained in header of each packet
   Hop counter is decremented at each hop
   Packet is discarded when the counter reaches zero
   Ideally hop counter is initialized to the length of the
    path from source to destination
   Selective flooding- incoming packets are sent on lines
    that are going approximately in the right direction
Flow Based Routing
   Used when data flow between each pair of nodes is relatively
    stable and predictable
   Considers the flow in the network; mean consider the amount
    of traffic in the network before deciding on which outgoing line
    to place the packet.
   The key here is to be able to characterize the nature of the
    traffic flows over time.
   The basic idea behind the algorithm, is that any given line, if
    the capacity and average flow are known, it is possible to
    compute the mean packet delay on that line from queuing
    theory.
   The routing problem thus reduces to finding the routing
    algorithm that produces the minimum average delay for the
    subnet.
Distance Vector Routing
   Each router maintains a table giving the
    best known distance to each destination
    and which line to use to get there
   These tables are updated by
    exchanging info from neighbors.
Distance Vector Routing-
Mechanism
   Each router maintains a table indexed by and
    containing one entry for each router in the subnet.
   The entry has two parts
       Preferred outgoing line
       Estimate of time or distance to that destination
   The router is assumed to know the “distance” to
    each of its neighbors.
       if metrics is hops , distance is one hops
       If metrics is queue length, the route simply examines each
        queue
       If metrics is delay, the router can measure it directly with
        the special echo packets that the receiver just timestamps
        and send back as fast it can
TO    A    I    H    K             Line
                                      A     0    24   20   21      8     A
                                      B     12   36   31   28      20    A                New
                                                                                       estimated
                                      C     25   18   19   36      28    I            delay from J
                                      D     40   27   8    24      20    H
                                      E     14   7    30   22      17    I
    A         B       C       D       F     23   20   19   40      30    I
                                      G     18   31   6    31      18    H
                                      H     17   20   0    19      12    H
                                      I     21   0    14   22      10    I
                  F       G
E                             H       J     9    11   7    10      0     -
                                      K     24   22   22   0       6     K
                                      L     29   33   9    9       15    K

                                  L
                      K
    I         J                   J computes its new route      J to H=12 msec
                                   to router G                  H to G =6 msec
        JA Delay=8                J to A=8 msec                 Total=18 msec

        JI Delay=10               A to g=18 msec
                                                                J to K =6 msec
                                  Total=26 msec                 K To G=31 msec
        JH Delay=12
                                                                Total=37 msec
        JK Delay=6                J to I=10 msec
                                  I to G=31 msec                Best : 18 i.e via H
                                  Total=41 msec
Link State Routing
   Each router must
       Discover its neighbour and learn their network
        address by sending Hello packet
       Measure the delay or cost to each of the
        neighbours by sending echo packet
       Construct a packet telling all it has learned
       Send this packet to all other routers
       Compute the shortest path to every other router.
       In effect, the complete topology and all delays are
        experimentally measured and distributed to every
        router.
Hierarchical Routing
   As network grow, routing tables increase in size
    consuming router memory
   It is not feasible for every router to have an entry for
    every other router
   Routing is done hierarchically
   Routers are divided into regions
   Each router knows all details of router within its own
    region.
   In very large networks
       regions -> clusters
       Clusters->zones
       Zones->groups
Hierarchical Routing
 Region1           Region 2




                   Region 4
    Region 3
Routing for mobile hosts
   When a new user enters an area it must register
    itself with the foreign agent here
   Each foreign agent broadcasts a packet announcing
    its existence and address
   A newly arrived mobile host broadcasts a packet
    inquiring any foreign agents
   Mobile hosts registers with the foreign agent giving
    its home address, DL layer Address and security info
   Foreign agent contacts mobile host’s home address
   Home agent checks info sent by foreign agent, if ok,
    informs foreign agent to proceed
   Foreign agent the makes an entry in tables and
    informs mobile hosts that it is registered
Broadcast Routing
   Send messages to many or all hosts simultaneously
   Each packet contains a list of destinations
   Router examines this list to determine set of output
    lines that will be needed
   It generates a new copy of packet for each output
    line to be used and include in each packet only those
    destination that are to use the line
   Destination set is partitioned amount output lines
   Each packet will carry only one destination
Multicast Routing
   Sending messages to well defined network
    groups
   With a multicast design, applications can send
    one copy of each packet and address it to the
    group of computers that want to receive it.
   This technique addresses packets to a group
    of receivers rather than to a single receiver
   It depends on the network to forward the
    packets to only the networks that need to
    receive them.

Weitere ähnliche Inhalte

Was ist angesagt?

Rajesh basics of networking and routing
Rajesh basics of networking and routingRajesh basics of networking and routing
Rajesh basics of networking and routingr123027
 
Chapter 06 - Routing
Chapter 06 - RoutingChapter 06 - Routing
Chapter 06 - Routingphanleson
 
Routing table and routing algorithms
Routing table and routing algorithmsRouting table and routing algorithms
Routing table and routing algorithmslavanyapathy
 
Routing algorithm
Routing algorithmRouting algorithm
Routing algorithmBushra M
 
Routing Technique Table Type by Umar danjuma maiwada.ppt
Routing Technique Table Type by Umar danjuma maiwada.pptRouting Technique Table Type by Umar danjuma maiwada.ppt
Routing Technique Table Type by Umar danjuma maiwada.pptumardanjumamaiwada
 
Computer networks network layer,routing
Computer networks network layer,routingComputer networks network layer,routing
Computer networks network layer,routingDeepak John
 
Design and Implementation of Dynamic Routing in Wireless Networks
Design and Implementation of Dynamic Routing in Wireless NetworksDesign and Implementation of Dynamic Routing in Wireless Networks
Design and Implementation of Dynamic Routing in Wireless NetworksSatish Reddy
 
Network Routing | Computer Science
Network Routing | Computer ScienceNetwork Routing | Computer Science
Network Routing | Computer ScienceTransweb Global Inc
 
Day 8 2 distance vector routing
Day 8 2 distance vector routingDay 8 2 distance vector routing
Day 8 2 distance vector routingCYBERINTELLIGENTS
 

Was ist angesagt? (20)

Routing
RoutingRouting
Routing
 
routing
 routing routing
routing
 
Week15 lec1
Week15 lec1Week15 lec1
Week15 lec1
 
Routing Protocols
Routing ProtocolsRouting Protocols
Routing Protocols
 
Week16 lec1
Week16 lec1Week16 lec1
Week16 lec1
 
Rajesh basics of networking and routing
Rajesh basics of networking and routingRajesh basics of networking and routing
Rajesh basics of networking and routing
 
Chapter 06 - Routing
Chapter 06 - RoutingChapter 06 - Routing
Chapter 06 - Routing
 
Routing table and routing algorithms
Routing table and routing algorithmsRouting table and routing algorithms
Routing table and routing algorithms
 
Week14 lec2
Week14 lec2Week14 lec2
Week14 lec2
 
Routing algorithm
Routing algorithmRouting algorithm
Routing algorithm
 
Week13 lec1
Week13 lec1Week13 lec1
Week13 lec1
 
Routing Technique Table Type by Umar danjuma maiwada.ppt
Routing Technique Table Type by Umar danjuma maiwada.pptRouting Technique Table Type by Umar danjuma maiwada.ppt
Routing Technique Table Type by Umar danjuma maiwada.ppt
 
Week13 lec2
Week13 lec2Week13 lec2
Week13 lec2
 
Routing protocols
Routing protocolsRouting protocols
Routing protocols
 
Computer networks network layer,routing
Computer networks network layer,routingComputer networks network layer,routing
Computer networks network layer,routing
 
Design and Implementation of Dynamic Routing in Wireless Networks
Design and Implementation of Dynamic Routing in Wireless NetworksDesign and Implementation of Dynamic Routing in Wireless Networks
Design and Implementation of Dynamic Routing in Wireless Networks
 
Network Routing | Computer Science
Network Routing | Computer ScienceNetwork Routing | Computer Science
Network Routing | Computer Science
 
Routing protocols
Routing protocolsRouting protocols
Routing protocols
 
Ppt of routing protocols
Ppt of routing protocolsPpt of routing protocols
Ppt of routing protocols
 
Day 8 2 distance vector routing
Day 8 2 distance vector routingDay 8 2 distance vector routing
Day 8 2 distance vector routing
 

Andere mochten auch (18)

Qo s redes inalambricas
Qo s redes inalambricasQo s redes inalambricas
Qo s redes inalambricas
 
Day 9 routing
Day 9 routingDay 9 routing
Day 9 routing
 
Routing and routing algorithms
Routing and routing algorithmsRouting and routing algorithms
Routing and routing algorithms
 
Lecture22
Lecture22Lecture22
Lecture22
 
Ad hoc Networks
Ad hoc NetworksAd hoc Networks
Ad hoc Networks
 
Unit 7
Unit 7Unit 7
Unit 7
 
Network layer and circuit switching
Network layer and circuit switchingNetwork layer and circuit switching
Network layer and circuit switching
 
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..
 
Ad-HOc presentation
Ad-HOc presentationAd-HOc presentation
Ad-HOc presentation
 
Ad hoc networks
Ad hoc networksAd hoc networks
Ad hoc networks
 
MANET
MANETMANET
MANET
 
Mobile ad hoc network
Mobile ad hoc networkMobile ad hoc network
Mobile ad hoc network
 
Lecture 5 6 .ad hoc network
Lecture 5 6 .ad hoc networkLecture 5 6 .ad hoc network
Lecture 5 6 .ad hoc network
 
Presentation on router
Presentation on routerPresentation on router
Presentation on router
 
Routers and Routing Configuration
Routers and Routing ConfigurationRouters and Routing Configuration
Routers and Routing Configuration
 
Ad-Hoc Networks
Ad-Hoc NetworksAd-Hoc Networks
Ad-Hoc Networks
 
Mobile Ad hoc Networks
Mobile Ad hoc NetworksMobile Ad hoc Networks
Mobile Ad hoc Networks
 
Manet
ManetManet
Manet
 

Ähnlich wie Routing

routing alg.pptx
routing alg.pptxrouting alg.pptx
routing alg.pptxAcad
 
Routing algorithm network layer
Routing algorithm  network layerRouting algorithm  network layer
Routing algorithm network layersambhenilesh
 
4af46e43-4dc7-4b54-ba8b-3a2594bb5269 j.pdf
4af46e43-4dc7-4b54-ba8b-3a2594bb5269 j.pdf4af46e43-4dc7-4b54-ba8b-3a2594bb5269 j.pdf
4af46e43-4dc7-4b54-ba8b-3a2594bb5269 j.pdfmrcopyxerox
 
Distance Vector & Link state Routing Algorithm
Distance Vector & Link state Routing AlgorithmDistance Vector & Link state Routing Algorithm
Distance Vector & Link state Routing AlgorithmMOHIT AGARWAL
 
Module 3- transport_layer .pptx
Module 3- transport_layer           .pptxModule 3- transport_layer           .pptx
Module 3- transport_layer .pptxhariprasad279825
 
Candidate Core Selection for Load-Balanced Multicore Shared Tree Multicasting
Candidate Core Selection for Load-Balanced Multicore Shared Tree MulticastingCandidate Core Selection for Load-Balanced Multicore Shared Tree Multicasting
Candidate Core Selection for Load-Balanced Multicore Shared Tree MulticastingKoushik Sinha
 
Route1
Route1Route1
Route1Saeed
 
The shortest not necessarily the best. other path on the basis of the optimal...
The shortest not necessarily the best. other path on the basis of the optimal...The shortest not necessarily the best. other path on the basis of the optimal...
The shortest not necessarily the best. other path on the basis of the optimal...eSAT Journals
 
The shortest not necessarily the best other path on the basis of the optimal ...
The shortest not necessarily the best other path on the basis of the optimal ...The shortest not necessarily the best other path on the basis of the optimal ...
The shortest not necessarily the best other path on the basis of the optimal ...eSAT Publishing House
 
PERFORMANCE ANALYSIS OF DISTANCE VECTOR AND LINKED STATE ROUTING PROTOCOL
PERFORMANCE ANALYSIS OF DISTANCE VECTOR AND LINKED STATE ROUTING PROTOCOLPERFORMANCE ANALYSIS OF DISTANCE VECTOR AND LINKED STATE ROUTING PROTOCOL
PERFORMANCE ANALYSIS OF DISTANCE VECTOR AND LINKED STATE ROUTING PROTOCOLIRJET Journal
 
Distributed Video Streaming over Internet
Distributed Video Streaming over InternetDistributed Video Streaming over Internet
Distributed Video Streaming over InternetVideoguy
 
Flight-schedule using Dijkstra's algorithm with comparison of routes findings
Flight-schedule using Dijkstra's algorithm with comparison of  routes findingsFlight-schedule using Dijkstra's algorithm with comparison of  routes findings
Flight-schedule using Dijkstra's algorithm with comparison of routes findingsIJECEIAES
 
Xtc a practical topology control algorithm for ad hoc networks (synopsis)
Xtc a practical topology control algorithm for ad hoc networks (synopsis)Xtc a practical topology control algorithm for ad hoc networks (synopsis)
Xtc a practical topology control algorithm for ad hoc networks (synopsis)Mumbai Academisc
 
A report on 2 to 1 mux using tg
A report on 2 to 1 mux using tgA report on 2 to 1 mux using tg
A report on 2 to 1 mux using tgvijay rastogi
 
Link-and Node-Disjoint Evaluation of the Ad Hoc on Demand Multi-path Distance...
Link-and Node-Disjoint Evaluation of the Ad Hoc on Demand Multi-path Distance...Link-and Node-Disjoint Evaluation of the Ad Hoc on Demand Multi-path Distance...
Link-and Node-Disjoint Evaluation of the Ad Hoc on Demand Multi-path Distance...Eswar Publications
 
A novel delay dictionary design for compressive sensing-based time varying ch...
A novel delay dictionary design for compressive sensing-based time varying ch...A novel delay dictionary design for compressive sensing-based time varying ch...
A novel delay dictionary design for compressive sensing-based time varying ch...TELKOMNIKA JOURNAL
 

Ähnlich wie Routing (20)

routing alg.pptx
routing alg.pptxrouting alg.pptx
routing alg.pptx
 
Routing algorithm network layer
Routing algorithm  network layerRouting algorithm  network layer
Routing algorithm network layer
 
4af46e43-4dc7-4b54-ba8b-3a2594bb5269 j.pdf
4af46e43-4dc7-4b54-ba8b-3a2594bb5269 j.pdf4af46e43-4dc7-4b54-ba8b-3a2594bb5269 j.pdf
4af46e43-4dc7-4b54-ba8b-3a2594bb5269 j.pdf
 
Distance Vector & Link state Routing Algorithm
Distance Vector & Link state Routing AlgorithmDistance Vector & Link state Routing Algorithm
Distance Vector & Link state Routing Algorithm
 
Module 3- transport_layer .pptx
Module 3- transport_layer           .pptxModule 3- transport_layer           .pptx
Module 3- transport_layer .pptx
 
Candidate Core Selection for Load-Balanced Multicore Shared Tree Multicasting
Candidate Core Selection for Load-Balanced Multicore Shared Tree MulticastingCandidate Core Selection for Load-Balanced Multicore Shared Tree Multicasting
Candidate Core Selection for Load-Balanced Multicore Shared Tree Multicasting
 
Route1
Route1Route1
Route1
 
Network Layer
Network LayerNetwork Layer
Network Layer
 
The shortest not necessarily the best. other path on the basis of the optimal...
The shortest not necessarily the best. other path on the basis of the optimal...The shortest not necessarily the best. other path on the basis of the optimal...
The shortest not necessarily the best. other path on the basis of the optimal...
 
The shortest not necessarily the best other path on the basis of the optimal ...
The shortest not necessarily the best other path on the basis of the optimal ...The shortest not necessarily the best other path on the basis of the optimal ...
The shortest not necessarily the best other path on the basis of the optimal ...
 
PERFORMANCE ANALYSIS OF DISTANCE VECTOR AND LINKED STATE ROUTING PROTOCOL
PERFORMANCE ANALYSIS OF DISTANCE VECTOR AND LINKED STATE ROUTING PROTOCOLPERFORMANCE ANALYSIS OF DISTANCE VECTOR AND LINKED STATE ROUTING PROTOCOL
PERFORMANCE ANALYSIS OF DISTANCE VECTOR AND LINKED STATE ROUTING PROTOCOL
 
Distributed Video Streaming over Internet
Distributed Video Streaming over InternetDistributed Video Streaming over Internet
Distributed Video Streaming over Internet
 
Flight-schedule using Dijkstra's algorithm with comparison of routes findings
Flight-schedule using Dijkstra's algorithm with comparison of  routes findingsFlight-schedule using Dijkstra's algorithm with comparison of  routes findings
Flight-schedule using Dijkstra's algorithm with comparison of routes findings
 
EESRDA
EESRDAEESRDA
EESRDA
 
Notes
NotesNotes
Notes
 
Xtc a practical topology control algorithm for ad hoc networks (synopsis)
Xtc a practical topology control algorithm for ad hoc networks (synopsis)Xtc a practical topology control algorithm for ad hoc networks (synopsis)
Xtc a practical topology control algorithm for ad hoc networks (synopsis)
 
A report on 2 to 1 mux using tg
A report on 2 to 1 mux using tgA report on 2 to 1 mux using tg
A report on 2 to 1 mux using tg
 
Link-and Node-Disjoint Evaluation of the Ad Hoc on Demand Multi-path Distance...
Link-and Node-Disjoint Evaluation of the Ad Hoc on Demand Multi-path Distance...Link-and Node-Disjoint Evaluation of the Ad Hoc on Demand Multi-path Distance...
Link-and Node-Disjoint Evaluation of the Ad Hoc on Demand Multi-path Distance...
 
A novel delay dictionary design for compressive sensing-based time varying ch...
A novel delay dictionary design for compressive sensing-based time varying ch...A novel delay dictionary design for compressive sensing-based time varying ch...
A novel delay dictionary design for compressive sensing-based time varying ch...
 
Lecture set 5
Lecture set 5Lecture set 5
Lecture set 5
 

Kürzlich hochgeladen

Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
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
 
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
 
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
 
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
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17Celine George
 
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
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfNirmal Dwivedi
 
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
 
Magic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptxMagic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptxdhanalakshmis0310
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentationcamerronhm
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...pradhanghanshyam7136
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxnegromaestrong
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxVishalSingh1417
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
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
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docxPoojaSen20
 

Kürzlich hochgeladen (20)

Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
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
 
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
 
Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptxAsian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.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
 
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
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
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
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.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
 
Magic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptxMagic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptx
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
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
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 

Routing

  • 2. Routing  Routing is the process of selecting paths in a network along which to send network traffic  Process of relaying packets among multiple interconnected networks
  • 3. Least Cost Routing  Based on efficiency  Which of the available paths is cheapest  A value is assigned to each link; length of the particular route is equal to the total no of the values of the component links.  Shortest means the route requiring the smallest no of relays
  • 4. Non adaptive and Adaptive routing  Non Adaptive  Once the pathway to destination has been selected, the router sends all packets for that destination along that route  Adaptive  Router may select a new route for each packet
  • 5. Routing Algorithms  Shortest Path Routing  Flooding  Flow Based Routing  Distance Vector Routing  Link State Routing  Hierarchical Routing  Broadcast Routing  Multicast routing
  • 6. Shortest Path Routing  A graph of subnet is built.  Each node represents a router  Each arc of graph represents a communication link.  To choose a route algorithm just finds the shortest path between them on the graph
  • 7. Flooding  Every incoming packet is sent out on every outgoing line except the one it arrived on.  So it generates vast no. of duplicate packets.  A hop counter is maintained in header of each packet  Hop counter is decremented at each hop  Packet is discarded when the counter reaches zero  Ideally hop counter is initialized to the length of the path from source to destination  Selective flooding- incoming packets are sent on lines that are going approximately in the right direction
  • 8. Flow Based Routing  Used when data flow between each pair of nodes is relatively stable and predictable  Considers the flow in the network; mean consider the amount of traffic in the network before deciding on which outgoing line to place the packet.  The key here is to be able to characterize the nature of the traffic flows over time.  The basic idea behind the algorithm, is that any given line, if the capacity and average flow are known, it is possible to compute the mean packet delay on that line from queuing theory.  The routing problem thus reduces to finding the routing algorithm that produces the minimum average delay for the subnet.
  • 9. Distance Vector Routing  Each router maintains a table giving the best known distance to each destination and which line to use to get there  These tables are updated by exchanging info from neighbors.
  • 10. Distance Vector Routing- Mechanism  Each router maintains a table indexed by and containing one entry for each router in the subnet.  The entry has two parts  Preferred outgoing line  Estimate of time or distance to that destination  The router is assumed to know the “distance” to each of its neighbors.  if metrics is hops , distance is one hops  If metrics is queue length, the route simply examines each queue  If metrics is delay, the router can measure it directly with the special echo packets that the receiver just timestamps and send back as fast it can
  • 11. TO A I H K Line A 0 24 20 21 8 A B 12 36 31 28 20 A New estimated C 25 18 19 36 28 I delay from J D 40 27 8 24 20 H E 14 7 30 22 17 I A B C D F 23 20 19 40 30 I G 18 31 6 31 18 H H 17 20 0 19 12 H I 21 0 14 22 10 I F G E H J 9 11 7 10 0 - K 24 22 22 0 6 K L 29 33 9 9 15 K L K I J J computes its new route J to H=12 msec to router G H to G =6 msec JA Delay=8 J to A=8 msec Total=18 msec JI Delay=10 A to g=18 msec J to K =6 msec Total=26 msec K To G=31 msec JH Delay=12 Total=37 msec JK Delay=6 J to I=10 msec I to G=31 msec Best : 18 i.e via H Total=41 msec
  • 12. Link State Routing  Each router must  Discover its neighbour and learn their network address by sending Hello packet  Measure the delay or cost to each of the neighbours by sending echo packet  Construct a packet telling all it has learned  Send this packet to all other routers  Compute the shortest path to every other router.  In effect, the complete topology and all delays are experimentally measured and distributed to every router.
  • 13. Hierarchical Routing  As network grow, routing tables increase in size consuming router memory  It is not feasible for every router to have an entry for every other router  Routing is done hierarchically  Routers are divided into regions  Each router knows all details of router within its own region.  In very large networks  regions -> clusters  Clusters->zones  Zones->groups
  • 14. Hierarchical Routing Region1 Region 2 Region 4 Region 3
  • 15. Routing for mobile hosts  When a new user enters an area it must register itself with the foreign agent here  Each foreign agent broadcasts a packet announcing its existence and address  A newly arrived mobile host broadcasts a packet inquiring any foreign agents  Mobile hosts registers with the foreign agent giving its home address, DL layer Address and security info  Foreign agent contacts mobile host’s home address  Home agent checks info sent by foreign agent, if ok, informs foreign agent to proceed  Foreign agent the makes an entry in tables and informs mobile hosts that it is registered
  • 16. Broadcast Routing  Send messages to many or all hosts simultaneously  Each packet contains a list of destinations  Router examines this list to determine set of output lines that will be needed  It generates a new copy of packet for each output line to be used and include in each packet only those destination that are to use the line  Destination set is partitioned amount output lines  Each packet will carry only one destination
  • 17. Multicast Routing  Sending messages to well defined network groups  With a multicast design, applications can send one copy of each packet and address it to the group of computers that want to receive it.  This technique addresses packets to a group of receivers rather than to a single receiver  It depends on the network to forward the packets to only the networks that need to receive them.