Lecture 13: Distance-vector Routing. Lecture 13 Overview. Bellman-Ford Algorithm. d u (z) = min{c(u,v) + d v (z), c(u,w) + d w (z)}



Similar documents
Lecture 8: Routing I Distance-vector Algorithms. CSE 123: Computer Networks Stefan Savage

Routing Protocols (RIP, OSPF, BGP)

CS Computer Networks 1: Routing Algorithms

Distance Vector Routing Protocols. Routing Protocols and Concepts Ola Lundh

Chapter 4. Distance Vector Routing Protocols

Outline. Internet Routing. Alleviating the Problem. DV Algorithm. Routing Information Protocol (RIP) Link State Routing. Routing algorithms

Administrative Distance

Route Discovery Protocols

Dynamic Routing Protocols II OSPF. Distance Vector vs. Link State Routing

CSE331: Introduction to Networks and Security. Lecture 8 Fall 2006

Internet Firewall CSIS Packet Filtering. Internet Firewall. Examples. Spring 2011 CSIS net15 1. Routers can implement packet filtering

Based on Computer Networking, 4 th Edition by Kurose and Ross

Internet Layer. Routing Tables. Routing in the Internet. Routing Protocols

6.263 Data Communication Networks

Internet Control Message Protocol (ICMP)

Advanced Networking Routing: RIP, OSPF, Hierarchical routing, BGP

Lecture 12: Link-state Routing"

Link-State Routing Protocols

O /27 [110/129] via , 00:00:05, Serial0/0/1

GregSowell.com. Mikrotik Routing

Routing Protocols. Interconnected ASes. Hierarchical Routing. Hierarchical Routing

CSC458 Lecture 6. Homework #1 Grades. Inter-domain Routing IP Addressing. Administrivia. Midterm will Cover Following Topics

Routing with OSPF. Introduction

Routing Protocols OSPF CHAPTER. The following topics describe supported routing protocols. Topics include OSPF, page 9-1 IS-IS Protocol, page 9-3

Inter-domain Routing. Outline. Border Gateway Protocol

Introduction to LAN/WAN. Network Layer

- Routing Information Protocol -

Module 7. Routing and Congestion Control. Version 2 CSE IIT, Kharagpur

Exterior Gateway Protocols (BGP)

Configuring RIP. Overview. Routing Update Process CHAPTER

Outline. EE 122: Interdomain Routing Protocol (BGP) BGP Routing. Internet is more complicated... Ion Stoica TAs: Junda Liu, DK Moon, David Zats

6.02 Practice Problems: Routing

- IGRP - IGRP v1.22 Aaron Balchunas

Chapter 10 Link-State Routing Protocols

Router and Routing Basics

Data Networks Project 2: Design Document for Intra-Domain Routing Protocols

ITRI CCL. IP Routing Primer. Paul C. Huang, Ph.D. ITRI / CCL / N300. CCL/N300; Paul Huang 1999/6/2 1

CS335 Sample Questions for Exam #2

OSPF Version 2 (RFC 2328) Describes Autonomous Systems (AS) topology. Propagated by flooding: Link State Advertisements (LSAs).

Route Optimization. rek Petr Grygarek, VSB-TU Ostrava, Routed and Switched Networks 1

EE627 Lecture 22. Multihoming Route Control Devices

Understanding Route Redistribution & Filtering

CSE 123b Communications Software

Configuring a Gateway of Last Resort Using IP Commands

Answer: that dprop equals dtrans. seconds. a) d prop. b) d trans

Introduction to Metropolitan Area Networks and Wide Area Networks

value in arriving packet s header routing algorithm local forwarding table header value output link

Datagram-based network layer: forwarding; routing. Additional function of VCbased network layer: call setup.

Inter-domain Routing Basics. Border Gateway Protocol. Inter-domain Routing Basics. Inter-domain Routing Basics. Exterior routing protocols created to:

Question 1. [7 points] Consider the following scenario and assume host H s routing table is the one given below:

Introduction to TCP/IP

CCNA Exploration 4.0: (II) Routing Protocols and Concepts. Chapter 1: Introduction to Routing and Packet Forwarding

Introduction to Dynamic Routing Protocols

Active measurements: networks. Prof. Anja Feldmann, Ph.D. Dr. Nikolaos Chatzis Georgios Smaragdakis, Ph.D.

: Interconnecting Cisco Networking Devices Part 2 v1.1

LAB FOUR Dynamic Routing Protocols

Ad hoc On Demand Distance Vector (AODV) Routing Protocol

Horizon: Balancing TCP over multiple paths in wireless mesh networks

PERFORMANCE ANALYSIS OF AD-HOC ON DEMAND DISTANCE VECTOR FOR MOBILE AD- HOC NETWORK

OSPF Routing Protocol

Routing. An Engineering Approach to Computer Networking

Routing in Small Networks. Internet Routing Overview. Agenda. Routing in Large Networks

Interconnecting Cisco Networking Devices Part 2

Computer Networks. Main Functions

Advanced Routing. FortiOS Handbook v3 for FortiOS 4.0 MR3

Central Control over Distributed Routing fibbing.net

Routing in packet-switching networks

Lecture 2.1 : The Distributed Bellman-Ford Algorithm. Lecture 2.2 : The Destination Sequenced Distance Vector (DSDV) protocol

IP Routing Configuring RIP, OSPF, BGP, and PBR

Border Gateway Protocol (BGP-4)

Simulation of Heuristic Usage for Load Balancing In Routing Efficiency

BGP overview BGP operations BGP messages BGP decision algorithm BGP states

Border Gateway Protocol (BGP)

Fast Re-Route in IP/MPLS networks using Ericsson s IP Operating System

Cisco CCNP Optimizing Converged Cisco Networks (ONT)

Faculty of Engineering Computer Engineering Department Islamic University of Gaza Network Chapter# 19 INTERNETWORK OPERATION

College 5, Routing, Internet. Host A. Host B. The Network Layer: functions

Layer 3 Routing User s Manual

Evaluation And Implementation Of The Open Shortest Path First (OSPF) Routing Protocol

CCIE R&S Lab Workbook Volume I Version 5.0

IP - The Internet Protocol

Comparison of RIP, EIGRP, OSPF, IGRP Routing Protocols in Wireless Local Area Network (WLAN) By Using OPNET Simulator Tool - A Practical Approach

Lesson 5-3: Border Gateway Protocol

Professor: Ian Foster TAs: Xuehai Zhang, Yong Zhao. Winter Quarter.

Fast Reroute Techniques in MPLS Networks. George Swallow

Ethernet (LAN switching)

Lecture 18: Border Gateway Protocol"

BGP: Border Gateway Protocol

TORA : Temporally Ordered Routing Algorithm

Routing in wireless networks

Module 2 Overview of Computer Networks

ccna question and answers

Final Exam. Route Computation: One reason why link state routing is preferable to distance vector style routing.

Can Forwarding Loops Appear when Activating ibgp Multipath Load Sharing?

Table of Contents. Cisco How Does Load Balancing Work?

Distance Vector Multicast Routing Protocol

Agenda. Distributed System Structures. Why Distributed Systems? Motivation

Transcription:

Lecture : istance-vector Routing S : omputer Networks hris Kanich Quiz TOMORROW Lecture Overview istance vector ssume each router knows its own address and cost to reach each of its directly connected neighbors ellman-ford algorithm istributed route computation using only neighbor s info Mitigating loops Split horizon and posion reverse S Lecture : istance-vector Routing ellman-ford lgorithm efine distances at each X d x (y) = cost of least-cost path from X to Y Update distances based on neighbors d x (y) = min {c(x,v) + d v (y)} over all neighbors V u v x 5 w s y t z d u (z) = min{c(u,v) + d v (z), c(u,w) + d w (z)} S Lecture : istance-vector Routing

istance Vector lgorithm Iterative, asynchronous: each local iteration caused by: Local link cost change istance vector update message from neighbor ach : wait for (change in local link cost or message from neighbor) istributed: ach notifies neighbors only when its V changes Neighbors then notify their neighbors if necessary recompute estimates if distance to any destination has changed, notify neighbors S Lecture : istance-vector Routing Step-by-Step c(x,v) = cost for direct link from x to v Node x maintains costs of direct links c(x,v) x (y) = estimate of least cost from x to y Node x maintains distance vector x = [ x (y): y є N ] Node x maintains its neighbors distance vectors For each neighbor v, x maintains v = [ v (y): y є N ] ach v periodically sends v to its neighbors nd neighbors update their own distance vectors x (y) min v {c(x,v) + v (y)} for each y N S Lecture : istance-vector Routing 5 xample: Initial State istance to Node 0 0 0 0 0 S Lecture : istance-vector Routing 6

sends vector to I m from, 0 from and from istance to Node 0 0 0 0 0 is away, +<, so best path to is S Lecture : istance-vector Routing sends vector to I m from, 0 from, from & from is away, +< so best path to is istance to Node 0 0 0 0 0 S Lecture : istance-vector Routing sends vector to is away, +< so is 5 away, +< so is away istance to Node 0 5 0 0 0 0 I m from, from, from, from & 0 from S Lecture : istance-vector Routing 9

until onvergence istance to Node 0 6 5 6 0 5 5 0 0 5 0 S Lecture : istance-vector Routing 0 Node s distance vectors Next hop est 9 6 0 0 5 S Lecture : istance-vector Routing Handling Link Failure marks distance to as, and tells marks distance to as, and tells and and recompute routes and tell, and etc until converge Info at istance to Node 0 0 0 5 0 0 0 5 0 S Lecture : istance-vector Routing

5 ounting to Infinity istance to Update 5 Update tc S Lecture : istance-vector Routing Why so High? Updates don t contain enough information an t totally order bad news above good news accepts s path to that is implicitly through! side: this also causes delays in convergence even when it doesn t count to infinity S Lecture : istance-vector Routing Mitigation Strategies Hold downs s metric increases, delay propagating information Limitation: elays convergence Loop avoidance Full path information in route advertisement xplicit queries for loops Split horizon Never advertise a destination through its next hop» doesn t advertise to Poison reverse: Send negative information when advertising a destination through its next hop» advertises to with a metric of» Limitation: Only works for loop s of size S Lecture : istance-vector Routing 5

6 Poison Reverse xample If Z routes through Y to get to X: Z tells Y its (Z s) distance to X is infinite (so Y won t route to X via Z) 60 X Y 50 Z S Lecture : istance-vector Routing 6 Split Horizon Limitations tells & that is unreachable computes new route through Tells that is unreachable (poison reverse) Tells it has path of cost (split horizon doesn t apply) computes new route through tells that is now reachable tc S Lecture : istance-vector Routing Routing Information Protocol V protocol with hop count as metric Infinity value is 6 hops; limits network size Includes split horizon with poison reverse Routers send vectors every 0 seconds With triggered updates for link failures Time-out in 0 seconds to detect failures RIPv specified in RF05 www.ietf.org/rfc/rfc05.txt RIPv (adds authentication etc.) in RF www.ietf.org/rfc/rfc.txt S Lecture : istance-vector Routing

Link-state vs. istance-vector Message complexity LS: with n s, links, O(n) messages sent V: exchange between neighbors only Speed of onvergence LS: relatively fast V: convergence time varies May be routing loops ount-to-infinity problem Robustness: what happens if router malfunctions? LS: Node can advertise incorrect link cost ach computes only its own table V: Node can advertise incorrect path cost ach s table used by others (error propagates) S Lecture : istance-vector Routing 9 Routing so far Shortest-path routing Metric-based, using link weights Routers share a common view of path goodness s such, commonly used inside an organization RIP and OSPF are mostly used as intradomain protocols ut the Internet is a network of networks How to stitch the many networks together? When networks may not have common goals and may not want to share information S Lecture : istance-vector Routing 0 For next time Read h...- in P& Keep moving on Project S Lecture : istance-vector Routing