Computer Networks. Routing Algorithms

Similar documents
Computer Networks. Routing

Distance Vector Routing Protocols

Determining IP Routes. 2000, Cisco Systems, Inc. 9-1

SEMESTER 2 Chapter 4 Distance Vector Routing Protocols V 4.0 RIP, IGRP, EIGRP

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

5.2 Routing Algorithms

Introduction to Local and Wide Area Networks

Homework 3 Discussion

ICS 451: Today's plan. Network Layer Protocols: virtual circuits Static Routing Distance-Vector Routing

Routing Protocols of IGP. Koji OKAMURA Kyushu University, Japan

Unit 3: Dynamic Routing

ITEC310 Computer Networks II

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

Routing. 4. Mar INF-3190: Switching and Routing

Lecture 13: Routing in multihop wireless networks. Mythili Vutukuru CS 653 Spring 2014 March 3, Monday

2008 NDP Lectures 7 th Semester

EITF25 Internet Routing. Jens A Andersson

TDC 363 Introduction to LANs

RIP Configuration. RIP Overview. Operation of RIP. Introduction. RIP routing table. RIP timers

Basic Idea. Routing. Example. Routing by the Network

ICMP, ARP, RARP, IGMP

Routing Unicast routing protocols

Routing by the Network

Lecture 12. Introduction to IP Routing. Why introduction? Routing

Intra-domain Routing

Routing. Jens A Andersson Communication Systems

CSCE 463/612 Networks and Distributed Processing Spring 2018

ETSF05/ETSF10 Internet Protocols Routing on the Internet

Introduction to Intra-Domain Routing

C13b: Routing Problem and Algorithms

TCPIP Protocol Suite & Utilities. Revision no.: PPT/2K403/02

CS118 Discussion 1A, Week 7. Zengwen Yuan Dodd Hall 78, Friday 10:00 11:50 a.m.

II. Principles of Computer Communications Network and Transport Layer

Fairness Example: high priority for nearby stations Optimality Efficiency overhead

Top-Down Network Design

Review: Routing in Packet Networks Shortest Path Algorithms: Dijkstra s & Bellman-Ford. Routing: Issues

CSE/EE 461 Distance Vector Routing

Chapter 7 Routing Protocols

Network Layer (Routing)

Network Protocols. Routing. TDC375 Winter 2002 John Kristoff - DePaul University 1

ICS 351: Today's plan. netmask exercises network and subnetwork design dynamic routing RIP distance-vector routing

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

ETSF05/ETSF10 Internet Protocols. Routing on the Internet

9.1. Routing Protocols

Routing in a network

CCNA IP ROUTING. Revision no.: PPT/2K605/03

Two types of routing protocols are used in internetworks: interior gateway protocols (IGPs) and exterior gateway protocols (EGPs).

CSCD 330 Network Programming Spring 2018

CSCD 330 Network Programming Spring 2017

How Routing Algorithms Work

We will discuss about three different static routing algorithms 1. Shortest Path Routing 2. Flooding 3. Flow Based Routing

Network Protocols. Routing. TDC375 Autumn 03/04 John Kristoff - DePaul University 1

IP Routing. Bharat S. Chaudhari International Institute of Information Technology Pune, India

Routing Protocols and the IP Layer

CHAPTER 9: PACKET SWITCHING N/W & CONGESTION CONTROL

Default & Static Routes and Routing Information Protocol. Presented by : Mohammed Hamad

Network Layer (Routing)

Routing Outline. EECS 122, Lecture 15

Routing Information Protocol. A simple distance vector scheme

Address Translation. Map IP addresses into physical addresses destination host next hop router

Cisco Service Advertisement Framework Deployment Guide

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

UNIT 2 ROUTING ALGORITHMS

RFC Compliance Test Report. Release 3.0

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

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

Overview 4.2: Routing

Routing, Routing Algorithms & Protocols

06/02/ Local & Metropolitan Area Networks. Overview. Routing algorithm ACOE322. Lecture 6 Routing

Node A B 0 2 C D E F 6 0. Node A B C D E F

CIS 632 / EEC 687 Mobile Computing

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

Comparative Study of Routing Protocols Convergence using OPNET Chapter Three: Simulation & Configuration

Topics for This Week

CCNA EXPLORATION V4.0 ROUTING PROTOCOLS AND CONCEPTS

CHAPTER 4: ROUTING DYNAMIC. Routing & Switching

COM-208: Computer Networks - Homework 6

Chapter 7: Routing Dynamically. Routing & Switching

Routing Information Protocol

Routing. Routing. Overview. Overview. Routing vs. Forwarding. Why Routing

CS 421: Computer Networks SPRING MIDTERM II May 5, minutes

F. Configure a distribute-list on router RTA that allows it to advertise all routes to the spoke routers.

EECS 122, Lecture 16. Link Costs and Metrics. Traffic-Sensitive Metrics. Traffic-Sensitive Metrics. Static Cost Metrics.

Computer Networks 1 (Mạng Máy Tính 1) Lectured by: Dr. Phạm Trần Vũ

TDC 363 Introduction to LANs

SEMESTER 2 Chapter 3 Introduction to Dynamic Routing Protocols V 4.0

Routing Information Protocol. RIP application. RIP version 1

The most simple way to accelerate a Router is at 9.8 m/sec/sec.

Youki Kadobayashi NAIST

Allows IGRP or Enhanced IGRP exterior routes to be advertised in updates.

Configuring RIP. Information About RIP CHAPTER

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

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

CMPE 151 Routing. Marc Mosko

Routing Protocols. The routers in an internet are responsible for receiving and. forwarding IP datagrams through the interconnected set of

Youki Kadobayashi NAIST

Routing Algorithms. CS158a Chris Pollett Apr 4, 2007.

CS 344/444 Computer Network Fundamentals Midterm Exam Spring /07/2007

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

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

Transcription:

Computer Networks Routing Algorithms

Topics Routing Algorithms Shortest Path (Dijkstra Algorithm) Distance Vector Routing Count to infinity problem Solutions for count to infinity problem Link State Routing Measuring line cost

Routing Point-to-point networks are dynamic networks A router may stop working or a new router may join the network The connections between routers may change The properties of the connections may change As a result, the routing tables should be updated from time to time To update routing tables, routing algorithms are used

Routing Protocol Characteristics Criteria used to compare routing protocols includes Time to convergence how quickly all routers share consistent information Scalability can the network continue to grow? Resource usage - memory, CPU, bandwidth Implementation & maintenance intelligence level required of network admin.

Shortest Path Routing 1. Mark starting node as current node. 2. Check neighboring nodes of the current node and tentatively label them with (current node, cumulative distance from start) if cumulative distance is less than their current distance shown by the label. 3. Search all tentatively labeled nodes (and not just the nodes labeled from the current node) for the minimum label, make this minimum node's label permanent, and make it the new current node. 4. If the current node is the destination/source, stop, else goto 2.

Example-Shortest Path

Distance Vector Routing (1) Distance Vector Technology A router using distance vector routing protocols knows 2 things: Distance to final destination Vector, or direction, on which the traffic should be directed

Distance Vector Routing (2) Characteristics of Distance Vector routing protocols: Periodic updates 30 or 90 seconds Detects the immediate Neighbors and measure distance to each one Exchange routing tables with the neighbors Update routing tables using the information from the neighbors

Initial Network Discovery Directly connected networks are initially placed in routing table These will be sent to their directly connected neighbors! Also true if the router loses power for any reason!

Distance Vector Routing (3) Left: A subnet. Right: Inputs from A, I, H, K, and the new routing table for J.

Updating Routing Tables Changes may occur for several reasons, including: Failure of a link Introduction of a new link Failure of a router Change of link parameters Periodic update

Failure to Converge The count-to-infinity problem.

Solutions for Count-to-Infinity (1) Setting a maximum for packet hops Typically is 16, once it reaches the 16th hop, it will declare the network UNREACHABLE! Distance Vector routing protocols set a specified metric value to indicate infinity Once a router counts to infinity it marks the route as unreachable

Solutions for Count-to-Infinity (2) The Split Horizon Rule is used to prevent routing loops Split Horizon rule: A router should not advertise a network through the interface from which the update came.

Solutions for Count-to-Infinity (3) Split horizon with poison reverse The rule states that once a router learns of an unreachable route through an interface, advertise it as unreachable back through the same interface

Link State Routing Each router must do the following: 1. Discover its neighbors, learn their network address. 2. Measure the delay or cost to each of its neighbors. 3. Construct a packet telling all it has just learned. 4. Send this packet to all other routers. 5. Compute the shortest path to every other router.

Learning about the Neighbors (a) Nine routers and a LAN. (b) A graph model of (a).

Measuring Line Cost Line cost is measured by sending an ECHO message and measuring the return time. Waiting time in router queue can be added to include the line traffic load

Including Traffic Load in Line Cost Including traffic load in cost line may cause oscillation in choosing the shortest path.

Building Link State Packets (a) A subnet. (b) The link state packets for this subnet.

Distributing the Link State Packets The packet buffer for router B.

Updating the Routing Tables After receiving the link state packets, each router creates a labeled graph of the network. The shortest path to each destination is found using Dijkstra s shortest path algorithm

Questions?