Data Communication: Routing algorithms

Slides:



Advertisements
Similar presentations
Network Layer – Routing 2 Dr. Sanjay P. Ahuja, Ph.D. Fidelity National Financial Distinguished Professor of CIS School of Computing, UNF.
Advertisements

© 2007 Cisco Systems, Inc. All rights reserved.ICND2 v1.0—3-1 Medium-Sized Routed Network Construction Reviewing Routing Operations.
1 LINK STATE PROTOCOLS (contents) Disadvantages of the distance vector protocols Link state protocols Why is a link state protocol better?
Network Layer Design Isues Store-and-Forward Packet Switching Services Provided to the Transport Layer The service should be independent of the router.
1 Computer Networks Routing Algorithms. 2 IP Packet Delivery Two Processes are required to accomplish IP packet delivery: –Routing discovering and selecting.
CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 21 Introduction to Computer Networks.
EE 122: Intra-domain routing Ion Stoica September 30, 2002 (* this presentation is based on the on-line slides of J. Kurose & K. Rose)
EECC694 - Shaaban #1 lec #7 Spring The OSI Reference Model Network Layer.
© 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—3-1 Determining IP Routes Introducing Distance Vector Routing.
Distance Vector Routing Protocols Distance Vector Routing.
Routing Algorithms (Ch5 of Computer Network by A. Tanenbaum)
Routing Concepts Warren Toomey GCIT. Introduction Switches need to know the link address and location of every station. Doesn't scale well, e.g. to several.
Distance Vector Routing 박주호. Introduction.  Modern computer Network generally use Dynamic routing algorithms rather than The.
Review: routing algorithms. –Choose the appropriate paths. –Routing algorithms Flooding Shortest path routing (example). –Dijkstra algorithm. –Bellman-Ford.
University of the Western Cape Chapter 11: Routing Aleksandar Radovanovic.
1 Routing Protocols and Configuration Instructor: Te-Lung Liu Program Associate Researcher NCHC, South Region Office.
Packet-Switching Networks Routing in Packet Networks.
Link-state routing  each node knows network topology and cost of each link  quasi-centralized: each router periodically broadcasts costs of attached.
Network Layer4-1 Chapter 4: Network Layer r 4. 1 Introduction r 4.2 Virtual circuit and datagram networks r 4.3 What’s inside a router r 4.4 IP: Internet.
Chi-Cheng Lin, Winona State University CS 313 Introduction to Computer Networking & Telecommunication Chapter 5 Network Layer.
Static versus Dynamic Routes Static Route Uses a protocol route that a network administrators enters into the router Static Route Uses a protocol route.
CCNA 3 Week 2 Link State Protocols OSPF. Copyright © 2005 University of Bolton Distance Vector vs Link State Distance Vector –Copies Routing Table to.
4. Mar INF-3190: Switching and Routing Routing.
Routing and Routing Protocols
Cisco Systems Networking Academy S2 C 11 Routing Basics.
TELE202 Lecture 6 Routing in WAN 1 Lecturer Dr Z. Huang Overview ¥Last Lecture »Packet switching in Wide Area Networks »Source: chapter 10 ¥This Lecture.
Stainov - DataComMET CS TC5353 THE NETWORK LAYER 5.2 ROUTING ALGORITHMS - adaptive Distance Vector Routing (Bellman-Ford, Ford-Fulkenson). It was used.
1 Version 3.1 Module 6 Routed & Routing Protocols.
Teknik Routing Pertemuan 10 Matakuliah: H0524/Jaringan Komputer Tahun: 2009.
Distance Vector Routing
CS 6401 Intra-domain Routing Outline Introduction to Routing Distance Vector Algorithm.
Distance Vector and Link State Routing Pragyaditya Das.
6/12/2016© 2010 Raymond P. Jefferis IIILect The Network Layer.
Prof. Alfred J Bird, Ph.D., NBCT Office – Science 3rd floor – S Office Hours – Monday and Thursday.
CSE 421 Computer Networks. Network Layer 4-2 Chapter 4: Network Layer r 4. 1 Introduction r 4.2 Virtual circuit and datagram networks r 4.3 What’s inside.
Prof. Alfred J Bird, Ph.D., NBCT Office – McCormick 3rd floor 607 Office Hours – Monday 3:00 to 4:00 and.
Chapter 7 Packet-Switching Networks Shortest Path Routing.
1 Relates to Lab 4. This module covers link state routing and the Open Shortest Path First (OSPF) routing protocol. Dynamic Routing Protocols II OSPF.
Network Layer Routing Networks: Routing.
Introduction to Dynamic Routing Protocol
Link State Routing protocol
Dynamic Routing Protocols part2
CMPT 371 Data Communications and Networking Routing in the Internet
Routing Information Protocol (RIP)
Routing Protocols and Concepts
COMP 3270 Computer Networks
Link-State Routing Protocols
Distance-Vector Routing Protocols
THE NETWORK LAYER.
CS 457 – Lecture 12 Routing Spring 2012.
Intra-Domain Routing Jacob Strauss September 14, 2006.
Routing: Distance Vector Algorithm
Network Layer Path Determination.
Dynamic Routing Protocols part2
Routing in Packet Networks Shortest Path Routing
Road Map I. Introduction II. IP Protocols III. Transport Layer
Kuliah 5 ROUTING.
Link-State Routing Protocols
Intradomain Routing Outline Introduction to Routing
CS 640: Introduction to Computer Networks
Shortest Path Algorithm
RFC 1058 & RFC 2453 Routing Information Protocol
Network Layer Routing Networks: Routing.
Link-State Routing Protocols
Communication Networks
Delivery, Forwarding, and Routing
COS 461: Computer Networks
Shortest Path Algorithm
EE 122: Intra-domain routing: Distance Vector
Network Layer Routing.
Presentation transcript:

Data Communication: Routing algorithms IN2140: Introduction to Operating Systems and Data Communication Data Communication: Routing algorithms Saturday, June 15, 2019

Distributed Routing Distance Vector Adaptive Routing Distributed Routing Distance Vector

Distance Vector Routing Principle every IS maintains a table (i.e., vector) stating best known distance to destinations and line to be used ISes update tables by exchanging routing information with their neighbors

Distance Vector Routing Each IS maintains routing table with one entry per router in the subnet is assumed to know the distances to each neighbor sends list with estimated distances to each destination periodically to its neighbors X receives list E(Z) from neighbor Y Distance X to Y: e Distance Y to Z: E(Z) Distance X to Z via Y: E(Z)+e IS computes new routing table from the received lists containing Destination IS Preferred outgoing path Distance

Distance Vector Routing B 12 C 25 D 40 E 14 F 23 G 18 H 17 I 21 J 9 K 24 L 29 24 36 18 27 7 20 31 11 22 33 I 20 31 19 8 30 6 14 7 22 9 H 21 28 36 24 22 40 31 19 10 9 K line A B C D 8 A 20 A G 28 I E H F 20 H 17 I 30 I I J K L 18 H 12 H 10 I - 6 K 15 K JA 8 JI 10 JH 12 JK 6 delay Previous routing table will not be taken into account Reaction to deteriorations

Distance Vector Routing Fast route improvement Fast distribution of information about new short paths (with few hops) Example initially A unknown later: A connected with distance 1 to B, this will be announced Distribution proportional to topological spread Synchronous (stepwise) update is a simplification A B C D E ∞ 1 ∞ 1 2 ∞ 1 2 3 ∞ 1 2 3 4

Distance Vector Routing Slow distribution of information about new long paths (with many hops) “Count to Infinity” problem of DVR Example: deterioration Here: connection destroyed A was previously known, but is now detached The values are derived from (incorrect) connections of distant IS Comment Limit "infinite" to a finite value, depending on the metrics, e.g. ‘infinite’ = maximum path length+1 A B C D E 1 2 3 4 3 2 4 3 4 5 4 6 5 6 7 6 7 8 ∞

Distance Vector Routing Variant: ‘Split Horizon Algorithm’ Objective: improve the "count to infinity" problem Principle In general, to publicize the "distance" to each neighbour If neighbor Y exists on the reported route, X reports the response "false" to Y distance X (via Y) according to arbitrary i:  A B C D E 1 2 3 4 Example: deterioration (connection destroyed) B to C: A =  (real), C to B: A =  (because A is on path), ... But: still poor, depending on topology, example Connection CD is removed A receives "false information" via B B receives "false information" via A Slow distribution (just as before) ∞ 2 3 4 ∞ 3 4 ∞ 4 ∞ A B C D

Distributed Routing Link State Routing Adaptive Routing Distributed Routing Link State Routing

Link State Routing A very frequently use routing protocol IS-IS (Intermediate System-Intermediate System) OSPF (Open Shortest Path First) Basic principle IS measures the "distance" to the directly adjacent IS Distributes information Calculates the ideal route Procedure Determine the address of adjacent IS Measure the "distance" (delay, ...) to neighbouring IS Organize the local link state information in a packet Distribute the information to all IS Calculate the route based on the information of all IS

Link State Routing 1. Phase: gather information about the adjacent intermediate systems A F B C LAN D E G H I A F B C D E G H I

Link State Routing 1. Phase: gather information about the adjacent intermediate systems A F B C LAN D E G H I N Initialization procedure New IS Sends a HELLO message over each L2 channel Adjacent IS Responds with its own address, unique within the network

Link State Routing 2. Phase: measure the "distance" Definition of distance needed Usually delay Where to measure? Routing Process Topology, link utilization, etc. information Fills & Updates desti- nation link A B 3 C 1 D 4 table Router When to start timer? Uses & Looks up Data packets Queues ECHO Forwarding Process HELLO Incoming lines Outgoing lines

Link State Routing 2. Phase: measure the "distance“ Queuing delay But Measuring without does not take load into account Measuring with does  usually better But Possibility for oscillations (route flapping) Once per routing table update

Link State Routing 3. Phase: organizing the information as link state packet Including own address, sequence number, age, "distance" Timing problems: validity and time of sending Periodically In case of major changes

Link State Routing 4. Distributing the local information to all IS By applying the flooding procedure (very robust) Therefore sequence number in packets Problem: inconsistency Varying states simultaneously available in the network Indicate and limit the age of packet, i. e. IS removes packets that are too old 5. Computing new routes Each IS for itself Possibly larger amount of data available