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

Similar documents
TDC 363 Introduction to LANs

Basic Idea. Routing. Example. Routing by the Network

Routing by the Network

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

Table of Contents. Cisco Introduction to EIGRP

Table of Contents 1 Static Routing Configuration RIP Configuration 2-1

Routing Protocols of IGP. Koji OKAMURA Kyushu University, Japan

BTEC Level 3 Extended Diploma

Distance vector and RIP

Routing in the Internet

Routing Information Protocol. A simple distance vector scheme

Planning for Information Network

9.1. Routing Protocols

Chapter 7 Routing Protocols

Routing Information Protocol

Configuring Networking Protocols

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

Unit 3: Dynamic Routing

Which of the following describe the process identifier that is used to run OSPF on a router? (Choose two)

Operation Manual IPv4 Routing H3C S3610&S5510 Series Ethernet Switches. Table of Contents

Network Layer: Routing

Open Shortest Path First (OSPF)

Routing Information Protocol. RIP application. RIP version 1

CCNA 3 (v v6.0) Chapter 5 Exam Answers % Full

Routing Information Protocol. RIP application. RIP version 1

CSc 450/550 Computer Networks Internet Routing

IP Enhanced IGRP Commands

Routing, Routing Algorithms & Protocols

Routing Information Protocol

Introduction to Routing

Chapter 4: outline. Network Layer 4-1

Routing. Jens A Andersson Communication Systems

Internet Routing Protocols Tuba Saltürk

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

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

Routing Unicast routing protocols

Chapter 7: Routing Dynamically. Routing & Switching

Initial motivation: 32-bit address space soon to be completely allocated. Additional motivation:

Distance Vector Routing Protocols

Introduction to OSPF

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

CSCE 463/612 Networks and Distributed Processing Spring 2018

Unicast Routing. TCP/IP class

Internet Protocol: Routing Algorithms. Srinidhi Varadarajan

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

Link State Routing. Link State Packets. Link State Protocol. Link State Protocols Basic ideas Problems and pitfalls

Chapter 4: Network Layer

CS118 Discussion Week 7. Taqi

Chapter 4: Network Layer. Lecture 12 Internet Routing Protocols. Chapter goals: understand principles behind network layer services:

CHAPTER 4: ROUTING DYNAMIC. Routing & Switching

Routing Protocol. Seiya Tsubone. Apr The University of Tokyo. Seiya Tsubone (The University of Tokyo) Routing Protocol Apr. 25.

Top-Down Network Design

2008 NDP Lectures 7 th Semester

Why dynamic route? (1)

Introduction to OSPF

Computer Networking Introduction

Introduction to OSPF

Table of Contents 1 OSPF Configuration 1-1

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

Configuring IP Routing Protocols

CS555, Spring /5/2005. April 12, 2005 No classes attend Senior Design Projects conference. Chapter 4 roadmap. Internet AS Hierarchy

Helsinki University of Technology Telecommunications Laboratory. OSPF Routing Protocol Licenciate course seminar paper

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

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

RIP Version 2. The Classless Brother

Routing Protocols Classification

DATA COMMUNICATOIN NETWORKING

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

Chapter 6 Reading Organizer

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

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

Computer Networks ICS 651. IP Routing RIP OSPF BGP MPLS Internet Control Message Protocol IP Path MTU Discovery

Overview 4.2: Routing

Topics for This Week

Routing. Info 341 Networking and Distributed Applications. Addresses, fragmentation, reassembly. end-to-end communication UDP, TCP

Chapter 1 The IP Routing Protocols

Lab 4: Routing using OSPF

REDDIG II Computer Networking Training

Operation Manual Routing Protocol. Table of Contents

Configuring OSPF. Finding Feature Information. Contents

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

CS 43: Computer Networks Internet Routing. Kevin Webb Swarthmore College November 16, 2017

Internet Routing : Fundamentals of Computer Networks Bill Nace

CompSci 356: Computer Network Architectures. Lecture 12: Dynamic routing protocols: Link State Chapter Xiaowei Yang

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

Vendor: Alcatel-Lucent. Exam Code: 4A Exam Name: Alcatel-Lucent Interior Routing Protocols and High Availability.

Routing Protocols. Autonomous System (AS)

Command Manual IPv4 Routing H3C S3610&S5510 Series Ethernet Switches. Table of Contents

IP Routing Tecnologie e Protocolli per Internet II rev 1

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

Configuring OSPF network management 39 Enabling message logging 39 Enabling the advertisement and reception of opaque LSAs 40 Configuring OSPF to

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

OSPF. Unless otherwise noted, OSPF refers to OSPFv2 throughout this document.

Building the Routing Table. Introducing the Routing Table Directly Connected Networks Static Routing Dynamic Routing Routing Table Principles

EECS 122, Lecture 17. The Distributed Update Algorithm (DUAL) Optimization Criteria. DUAL Data Structures. Selecting Among Neighbors.

Introduction to OSPF OSPF. Link State Routing. Link State. Fast Convergence. Low Bandwidth Utilisation

Inter-Domain Routing: BGP

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

Configuring IP Routing Protocols

OSPF Protocol Overview on page 187. OSPF Standards on page 188. OSPF Area Terminology on page 188. OSPF Routing Algorithm on page 190

Transcription:

EECS 122, Lecture 16 Kevin Fall kfall@cs.berkeley.edu edu Link Costs and Metrics Routing protocols compute shortest/cheapest paths using some optimization criteria Choice of criteria has strong effect on path selection results Metrics are either static or dynamic Static Cost Metrics hop-count (easy to compute) reasonable for homogeneous links treats DS3 (45Mb/s) & dialup (56Kb/s) equal manually-assigned scalars: administrator can tweak the metrics, but still doesn t adapt to congestion, and doesn t scale well [difficult to manage] Traffic-Sensitive Metrics Original ARPAnet scheme: cost proportional to queue on outgoing link problems: at higher loads, fine grain measuring of queue lengths during traffic spikes could trigger frequent re-routing high-cost links never used high cost used to predict future high cost (but not true once traffic re-routed!) no damping on changes in cost -> oscillation Traffic-Sensitive Metrics Routing Hierarchy Modified ARPAnet scheme: metrics f(link capacity, output queue length) capacity dominates at low load link costs normalized to hop-count units dynamic range of link costs limited (from 127:1 to 3:1) only delta of 1/2-count on each change nearly eliminated oscillations, even at load Routing overhead scales with the number of nodes for N nodes shortest path is about O(N log N) algorithm routing table size is O(N) So to scale, routing is built into a hierarchy [general principal] 1

Hierarchical Internet 1 ISP 1 2 Inter-Domain Routing Routing Domains ISP 2 3 4 Hierarchical Internet Routing Intra-Domain Routing Protocols IGP s (Interior Gateway Protocols) examples: OSPF, RIP, IGRP, EIGRP, IS-IS Inter-Domain Routing Protocols EGP s (Exterior Gateway Protocols) examples: BGP, EGP (old) Intra- - and Inter- Domain Routing Protocols Notion of routing domain or area ; also called Autonomous System (AS) Routing computation takes place within AS, and is typically summarized at edges IGP selection up to administrators of each enterprise; EGP usually standardized Routing Information Protocol (RIP1 and RIP2) distance-vector protocol using hop-count as metric infinity value is 16 hops announcers broadcast (or multicast) DVs every 30 seconds; time out in 180 sec split horizon with poisoned reverse RFC 1058 (RIPv1); RFC 1388 (RIPv2) RIP History RIP Version 1 DV schemes were used early on in the ARPAnet (1969) and Cyclades (70 s) RIP used within Xerox on PUP/XNS Internet RIP based on XNS-RIP, made available in Berkeley UNIX as routed Routing destinations are 32-bit hosts, networks, or subnets Routers first look for classes A, B, or C If subnet+host part is NULL, represents a network route, otherwise a subnet or host route Uses a (static) subnet mask applied to all entries 2

RIP Version 1 Support RIP Routing Table Structure supports point-to-point links and multi- access LANs (e.g. Ethernet) RIP packets encapsulated in single UDP packets (not reliable, up to 512 bytes) DV tables sent using broadcast every 30s (or more often for triggered updates) updates time-out after 180s if not refreshed Included in RIP-maintained routing table: address of (net/subnet subnet/host) destination metric associated with destination address of next hop router recently-updated flag several timers RIP, Version 2 Subnet Support compatible upgrade to RIP v1 including subnet routing, authentication, CIDR aggregation,, route tags and multicast transmission RFC 2453 includes background and protocol definition [std rfc] RIP v1 supports subnet routes only within the subnetted network (using single subnet mask) by including subnet mask with routes, allows for subnet knowledge outside subnet more convenient partitioning using variable-length subnets Authentication Route Tag and Next Hop ID RIPv1 is completely not secure; anyone can act as a router just by sending RIP1 messages (if cost zero, everyone uses!) RIPv2 supports generic notion of authentication, but only password is defined so far (not very secure) At least prevents accidents reasonably well Routing domain tag is available in each message to distinguish multiple domains running on same wire/subnet In addition, on multi-domain networks, the border router may specify an alternative next hop (not itself) if there is better nearby router in its domain to reach a particular destination 3

OSPF - Open Shortest Path Broadcast Networks Link-state protocol specified by IETF Special features supported: separation of hosts and routers multi-access LANs non-broadcast networks hierarchies ( areas ) multi-path (equal cost) With broadcast, multi-access networks, N(N-1)/2 adjacencies would be used Avoid this by electing designated router Broadcast network then represented as a virtual node in routing computation Non-Broadcast Networks Multiple Areas How to perform flooding without broadcast or multicast support? Places burden for endpoint distribution on DR which re-sends to interested parties using unicast For large intranets, routing overhead can be undesirable; usually use hierarchy OSPF provides its own: areas top area called backbone computation spans areas area-border routers span multiple areas External Routes Protocols within OSPF OSPF provides the ability to import routes from other routing protocols Particularly useful where a router is both an IGP and EGP participant Stub Areas support the suppression of generalized external routes in favor of default (tables don t scale as size of Internet) OSPF Communication directly on IP All packets contain version, packet type, length, router ID, area ID, checksum and authentication data Really three protocols: hello, exchange, and flood 4

The Hello Protocol DR and BDR Election Periodically, routers send hello messages including their priority, the current designated router and backup designated router, neighbors they have heard from priority affects (B)DR election on broadcast and non-broadcast networks (BDR is used for quick failover) only 2-way operational links ok election process runs continually with exchange of HELLO messages on any change, election process ensures convergence on new DR and BDR may have to change adjacencies to BDR (already computed) and begin computing for a new BDR Exchange Protocol Flooding Protocol Used for initial synchronization of LS database entries, and after partitions heal Exchange database description packets containing ID, advertising router, sequence number, checksum, and age Acks for sequence number generated; simple retransmission used Link state updates contain advertising router s ID, link state ID/type, and lollipop sequence space number ACKs to sending router, and continues flooding if sequence number is newer Retransmitted by sender until acknowledged IGRP - cisco routing protocol IGRP Composite Metrics response to need for routing protocol superior to RIP prior to IETF OSPF standardization DV scheme with special features: composite metrics specialized loop detection multipath routing handling of default routes (D)elay elay,, (B)andwidth andwidth,, (R)eliability eliability,, (L)oad also includes (H)op-count and path MTU (these are not used in routing computation) Delay: path length delay to each dest Bandwidth: min across links to each dest Reliability: measured (loss prob) ) [1..255] Load: measured (loading) [1..255] 5

Optimization Metric Optimization Metric Start with observation that time to send is: PktSize T = P Delay Bandwidth + = B + D But avail bandwidth affected by load: PktSize P T = + Delay = + D Bandwidth( frac) B[( 255- L) / 255] But with unreliable links, may require re- sends, so multiply this by a ratio expressing reliability: [ [ PktSize T = + Delay ( frac) = Bandwidth( frac) P + D B[( 255- L) / 255] ] ] ( 255/ R) Observations Specialized Loop Detection Measuring load should not be over very small time interval, or instabilities may arise In practice, several constants may be altered by the administrator to affect the relative weighting given to each component uses split horizon and triggered updates, but not poisoned reverse extended with holddown (older) and route poisoning (newer) given triggered updates, loops normally form only due to transmission errors or slow update propagation Holddown Route Poisoning upon detection of a link failure, initiate quarantine period during which no updates for destination are accepted after at least 2 periods (180 s in IGRP), quarantine is removed and normal route selection resumes works, but guarantees that destination is unreachable even if other paths exist newer versions of IGRP replace holddown with route poisoning observe increasing cost to a destination and assume a loop has formed only after re-confirmation of metric is path assumed to be usable (will happen up to 1 reporting period later--90secs for IGPT, much better than 3 minutes) 6

EIGRP: Extended IGRP (cisco( cisco) Next Time... none of the standard DV fixup schemes are entirely satisfactory use DUAL ( diffusion update algorithm ) to remove transients [applies to DV & LS] enhance IGRP with DUAL [using incremental updates], variable length prefix masks and aggregation, and route tags finish up EIGRP with discussion of DUAL algorithm exterior routing protocols (BGP), including CIDR aggregation 7