SlideShare une entreprise Scribd logo
1  sur  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.

Contenu connexe

Tendances

Rajesh basics of networking and routing
Rajesh basics of networking and routingRajesh basics of networking and routing
Rajesh basics of networking and routing
r123027
 
Chapter 06 - Routing
Chapter 06 - RoutingChapter 06 - Routing
Chapter 06 - Routing
phanleson
 
Routing table and routing algorithms
Routing table and routing algorithmsRouting table and routing algorithms
Routing table and routing algorithms
lavanyapathy
 

Tendances (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
 

En vedette

Network layer and circuit switching
Network layer and circuit switchingNetwork layer and circuit switching
Network layer and circuit switching
asimnawaz54
 
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 ad hoc network
Mobile ad hoc networkMobile ad hoc network
Mobile ad hoc network
skobu
 
Lecture 5 6 .ad hoc network
Lecture 5 6 .ad hoc networkLecture 5 6 .ad hoc network
Lecture 5 6 .ad hoc network
Chandra Meena
 
Mobile Ad hoc Networks
Mobile Ad hoc NetworksMobile Ad hoc Networks
Mobile Ad hoc Networks
Jagdeep Singh
 

En vedette (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
 

Similaire à Routing

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
mrcopyxerox
 
Route1
Route1Route1
Route1
Saeed
 
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
 
Distributed Video Streaming over Internet
Distributed Video Streaming over InternetDistributed Video Streaming over Internet
Distributed Video Streaming over Internet
Videoguy
 
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
 

Similaire à 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
 

Dernier

The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 

Dernier (20)

Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
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
 
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
 
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.
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
 
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
 
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
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
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
 
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...
 
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
 

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.