VI. ROUTING. - "routing protocol" nodes exchange information to ensure consistent understanding of paths

Similar documents
Chapter 22 Network Layer: Delivery, Forwarding, and Routing 22.1

COMP/ELEC 429/556 Introduction to Computer Networks

Last time. Transitioning to IPv6. Routing. Tunneling. Gateways. Graph abstraction. Link-state routing. Distance-vector routing. Dijkstra's Algorithm

ECE 333: Introduction to Communication Networks Fall 2001

Routing in packet-switching networks

Routing Outline. EECS 122, Lecture 15

Network Layer: Routing

CHAPTER 9: PACKET SWITCHING N/W & CONGESTION CONTROL

CSCD 330 Network Programming Spring 2018

CSCD 330 Network Programming Spring 2017

DATA COMMUNICATOIN NETWORKING

Module 8. Routing. Version 2 ECE, IIT Kharagpur

Routing Algorithms. 1 Administrivia. Tom Kelliher, CS 325. Apr. 25, Announcements. Assignment. Read 4.6. From Last Time. IP protocol.

Routing in a network

Network Routing. Packet Routing, Routing Algorithms, Routers, Router Architecture

6.02 Fall 2014! Lecture #21. Failures in routing Routing loops Counting to infinity

Chapter 12. Routing and Routing Protocols 12-1

Fairness Example: high priority for nearby stations Optimality Efficiency overhead

5.2 Routing Algorithms

Redes de Computadores. Shortest Paths in Networks

Lecture 12: Link-state Routing. Lecture 12 Overview. Router Tasks. CSE 123: Computer Networks Chris Kanich. Routing overview

CS 348: Computer Networks. - Routing (OSPF); 18 th Sept Instructor: Sridhar Iyer IIT Bombay

Lecture 9. Reminder: Homework 3, Programming Project 2 due today. Questions? Thursday, September 22 CS 475 Networks - Lecture 9 1

Lecture 13: Link-state Routing. CSE 123: Computer Networks Alex C. Snoeren

Lecture (08, 09) Routing in Switched Networks

CSCE 463/612 Networks and Distributed Processing Spring 2018

Distance-Vector Routing: Distributed B-F (cont.)

Internet Protocol: Routing Algorithms. Srinidhi Varadarajan

How Routing Algorithms Work

CEN445 Network Protocols and Algorithms. Chapter 2. Routing Algorithms. Dr. Ridha Ouni

Routing Algorithms : Fundamentals of Computer Networks Bill Nace

Chapter 4: Network Layer

CSC 4900 Computer Networks: Routing Algorithms

Routing Strategies. Fixed Routing. Fixed Flooding Random Adaptive

Homework 3 Discussion

EITF25 Internet Routing. Jens A Andersson

Computer Networking. Intra-Domain Routing. RIP (Routing Information Protocol) & OSPF (Open Shortest Path First)

Chapter 4: Network Layer, partb

Lecture 4 Wide Area Networks - Routing

Overview. Problem: Find lowest cost path between two nodes Factors static: topology dynamic: load

Unit 9. Author: W.Buchanan. Routing Protocols (1)

ETSF05/ETSF10 Internet Protocols. Routing on the Internet

CS 457 Networking and the Internet. Shortest-Path Problem. Dijkstra s Shortest-Path Algorithm 9/29/16. Fall 2016

Routing, Routers, Switching Fabrics

William Stallings Data and Computer Communications 7 th Edition. Chapter 12 Routing

Alternate Routing Diagram

Hierarchical Routing. Our routing study thus far - idealization all routers identical network flat not true in practice

Routing Algorithms. CS158a Chris Pollett Apr 4, 2007.

Outline. Routing. Introduction to Wide Area Routing. Classification of Routing Algorithms. Introduction. Broadcasting and Multicasting

Routing, Routing Algorithms & Protocols

Network Layer Protocols

Routing. Advanced Computer Networks: Routing 1

CIS 632 / EEC 687 Mobile Computing

Lecture 4. The Network Layer (cont d)

Routing. Outline. Algorithms Scalability

Top-Down Network Design, Ch. 7: Selecting Switching and Routing Protocols. Top-Down Network Design. Selecting Switching and Routing Protocols

ITEC310 Computer Networks II

UNIT 2 ROUTING ALGORITHMS

Important Lessons From Last Lecture Computer Networking. Outline. Routing Review. Routing hierarchy. Internet structure. External BGP (E-BGP)

Chapter 4: Network Layer

Lecture 9. Network Layer (cont d) Network Layer 1-1

Chapter 4 Network Layer. Network Layer 4-1

Routing. Jens A Andersson Communication Systems

Interplay between routing, forwarding

Network layer: Overview. Network layer functions Routing IP Forwarding

Introduction to Intra-Domain Routing

Announcement. Project 2 extended to 2/20 midnight Project 3 available this weekend Homework 3 available today, will put it online

Routing Algorithms. Daniel Zappala. CS 460 Computer Networking Brigham Young University

Routing Unicast routing protocols

ETSF05/ETSF10 Internet Protocols Routing on the Internet

ÉCOLE POLYTECHNIQUE FÉDÉRALE DE LAUSANNE. Link State Routing. Jean Yves Le Boudec 2015

C13b: Routing Problem and Algorithms

Chapter 5 (Week 9) The Network Layer ANDREW S. TANENBAUM COMPUTER NETWORKS FOURTH EDITION PP BLM431 Computer Networks Dr.

Link State Routing & Inter-Domain Routing

CS4450. Computer Networks: Architecture and Protocols. Lecture 11 Rou+ng: Deep Dive. Spring 2018 Rachit Agarwal

Top-Down Network Design

Overview 4.2: Routing

Computer Networking Introduction

Routing Protocols. Autonomous System (AS)

Chapter IV: Network Layer

Course Routing Classification Properties Routing Protocols 1/39

Computer Networks. Wenzhong Li. Nanjing University

CSE 461 Routing. Routing. Focus: Distance-vector and link-state Shortest path routing Key properties of schemes

Youki Kadobayashi NAIST

ECE 428 Internet Protocols (Network Layer: Layer 3)

Distance vector and RIP

CS321: Computer Networks Unicast Routing

CSC 4900 Computer Networks: Routing Protocols

William Stallings Data and Computer Communications. Chapter 10 Packet Switching

CSc 450/550 Computer Networks Internet Routing

Basic Idea. Routing. Example. Routing by the Network

EE 122: Intra-domain routing

Computer Networks. Routing

CS 138: Communication I. CS 138 V 1 Copyright 2012 Thomas W. Doeppner. All rights reserved.

Routing by the Network

Computer Networks. Routing Algorithms

BLM6196 COMPUTER NETWORKS AND COMMUNICATION PROTOCOLS

Routing Algorithms McGraw-Hill The McGraw-Hill Companies, Inc., 2001

Network Layer: Routing

Announcements. CS 5565 Network Architecture and Protocols. Project 2B. Project 2B. Project 2B: Under the hood. Routing Algorithms

Transcription:

(a) General Concepts VI. ROUTING - "routing" determination of suitable (i.e., least cost) path from a source to every destination (i.e., which nodes/switches/routers are in path) - "routing protocol" nodes exchange information to ensure consistent understanding of paths - "routing table" list of destination and next hop/link in best path (i.e., least cost or "shortest") - "routing algorithm" takes information exchanged between nodes (using routing protocol) and updates routing table for best paths - centralized routing central processor collects information about links (status, capacity, load), derives routing table, and distributes routing table distributed routing nodes exchange information and each establishes routing table (all routing tables must be consistent), used in Internet and ATM - dynamic routing routes depend on current network state (i.e., failed links, heavily loaded nodes and links can be avoided), very complex, can lead to instability ROUTING 1

static routing network state ignored - two approaches to distributed routing of packets in Internet and ATM networks (1) distance-vector routing (2) link-state routing - both approaches allow node to know perceived cost of reaching each neighbour costs could include factors such as link capacity, link load, queuing delay, packet charge, etc. - both approaches allow nodes to make global routing decisions (i.e., next hop in best path for any destination) - conceptually: distance-vector link-state node tells neighbour distance to every other node in network node tells every other node distance to its neighbours ROUTING 2

(b) Distance-Vector Routing - assume node knows identity of every other node in network - node keeps table of cost to all nodes "distance vector" - periodically DV distributed to all neighbours - when node A receives DV from node B, which contains cost from B to C, if cost of A B C less than current cost of A C, then cost updated and routing table updated so that next hop on best path from A to C is A B - gradually information spreads through network and all nodes will have consistent best path information Example ROUTING 3

- problem: count-to-infinity - hop count keeps increasing and packets destined to C can be caught looping between A and B congestion - one approach: include route information to distance vector updates adds overhead in exchanges eg. at *, A would realize that B thinks A has a route ROUTING 4

(c) Link-State Routing - all link costs in network distributed to all nodes which then use some algorithm to compute least cost path - to disseminate link costs, each node creates link-state packets (LSPs) and sends to each neighbouring node when link cost changes when a node receives an LSP, it updates routing table and automatically sends LSP out on all links except link on which it arrived "flooding" eventually LSP will get to all nodes in network - typical least cost algorithm is Dijkstra's algorithm and must be implemented in all nodes (could also use other least cost algorithms but complexity of Dijkstra's algorithm is less) Dijkstra's Algorithm: notation: ROUTING 5

pseudo-code: See handout. Example: See handout. - note that all nodes implement Dijkstra's algorithm to determine next hop in path one node is only responsible for next hop and does not need to store entire path (d) Comparison of Distance-Vector and Link-State Approaches - LS tends to converge after a change more rapidly than DV - LS floods network with LSPs, increasing congestion - LS requires complexity to ensure that proper LSP are used to update routing table (i.e., do not want old LSP to affect routing table) - DV requires less memory in nodes because entire network topology is not required as in LS conclusion: both are used but LS tends to be preferred ROUTING 6

(e) Hierarchical Routing - for a large network of millions of users (eg. Internet), size of routing tables and shortest path algorithm execution time become prohibitively large - also for a network of millions of links, flooding entire network as link costs vary would grind network to a halt - solution: hierarchical routing - each autonomous region could use a different routing protocol and strategy (LS or DV) - internal routing protocols can be different than external routing protocol (i.e., between gateways) ROUTING 7