ÉCOLE POLYTECHNIQUE FÉDÉRALE DE LAUSANNE! 1. Link state flooding topology information finding the shortest paths (Dijkstra)

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

IP Forwarding Computer Networking. Routes from Node A. Graph Model. Lecture 10: Intra-Domain Routing

What is Routing? EE 122: Shortest Path Routing. Example. Internet Routing. Ion Stoica TAs: Junda Liu, DK Moon, David Zats

Distance Vector Routing

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

EE 122: Intra-domain routing

Third Generation Routers

IP Forwarding Computer Networking. Graph Model. Routes from Node A. Lecture 11: Intra-Domain Routing

Introduction to OSPF

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

Routers & Routing : Computer Networking. Binary Search on Ranges. Speeding up Prefix Match - Alternatives

Introduction to OSPF

TCP/IP Networking. Part 3: Forwarding and Routing

Network service model. Network service model. Network Layer (part 1) Virtual circuits. By the end of this lecture, you should be able to.

Introduction to OSPF

CS 43: Computer Networks. 23: Routing Algorithms November 14, 2018

ECE 158A: Lecture 5. Fall 2015

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

Routing in the Internet

Advanced Computer Networks

WAN Technology and Routing

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

DSDV: Proactive. Distance Vector (Basic idea) Distance Vector. Distance Vector Algorithm: Tables 12/13/2016

COMP 3331/9331: Computer Networks and Applications

Planning for Information Network

Routing in the Internet

The Problem: Finding Paths Spring 2011 Lecture #19. Forwarding. Shortest Path Routing

Routing Protocols. Autonomous System (AS)

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

OSPF (Open Shortest Path First)

Let s focus on clarifying questions. More Routing. Logic Refresher. Warning. Short Summary of Course. 10 Years from Now.

Basic Idea. Routing. Example. Routing by the Network

Routing by the Network

Chapter 4: outline. Network Layer 4-1

CSCD 433/533 Advanced Networks Spring 2016

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

OSPF Demand Circuit Feature

Chapter 4: Network Layer

OSPF (Open Shortest Path First)

Network Layer: Routing

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

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

Inter-AS routing. Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley

Internet Protocol: Routing Algorithms. Srinidhi Varadarajan

CSCI Topics: Internet Programming Fall 2008

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

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

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

Chapter 4: Network Layer. TDTS06 Computer networks. Subnets. Subnets. Subnets. IP Addressing: introduction

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

CS 268: Lecture 9. Intra-domain Routing Protocols. Internet Routing. Example. Routing Problem. Routing

Computer Networking Introduction

Inter-Domain Routing: BGP

4/25/12. The Problem: Distributed Methods for Finding Paths in Networks Spring 2012 Lecture #20. Forwarding. Shortest Path Routing

Network layer: Overview. Network layer functions Routing IP Forwarding

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

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

DATA COMMUNICATOIN NETWORKING

Chapter 7: Routing Dynamically. Routing & Switching

Distance Vector Routing

Table of Contents. Cisco Introduction to EIGRP

Discussion 8: Link State Routing. CSE 123: Computer Networks Marti Motoyama & Chris Kanich

COM-208: Computer Networks - Homework 6

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

Routing on the Internet. Routing on the Internet. Hierarchical Routing. Computer Networks. Lecture 17: Inter-domain Routing and BGP

Routing Outline. EECS 122, Lecture 15

BGP. Daniel Zappala. CS 460 Computer Networking Brigham Young University

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

Vanguard Managed Solutions

Distance Vector: Link Cost Changes. Interdomain Routing. Distance Vector: Count to Infinity Problem. Distance Vector: Poisoned Reverse

Routing Unicast routing protocols

Routing. Jens A Andersson Communication Systems

Open Shortest Path First (OSPF)

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

Unit 2. Signaling and Single Area OSPF

Topics for This Week

CSCE 463/612 Networks and Distributed Processing Spring 2018

TCOM 501: Networking Theory & Fundamentals. Lecture 11 April 16, 2003 Prof. Yannis A. Korilis

Routing Protocol - IS-IS

Lecture 4. The Network Layer (cont d)

Network Layer (Routing)

Cabrillo College. Rick Graziani, Instructor

Symbols. Numerics I N D E X

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

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

CS 640: Introduction to Computer Networks. Intra-domain routing. Inter-domain Routing: Hierarchy. Aditya Akella

Destination Sequenced Distance. [Perkins94] CSE 6811 : Lecture 6

More on Network Routing and Internet Protocol

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

Routing. Advanced Computer Networks: Routing 1

Routing Protocols. Technology Description BGP CHAPTER

Contents. Bridging. Transparent Bridging (TB) 1. Transparent Bridging Bridging in General. hub

BTEC Level 3 Extended Diploma

Lab 4: Routing using OSPF

BSCI. Section 5. Intermediate System-to- Intermediate System (IS-IS)

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

Chapter 8 Configuring OSPF

2008 NDP Lectures 7 th Semester

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

Unit 3: Dynamic Routing

Transcription:

ontents ÉOL POLYTHNIQU ÉÉRL LUSNN! 1. Link state flooding topology information finding the shortest paths (ijkstra)! 2. Hierarchical routing with areas! 3. OSP Link State Routing database modelling neighbor discovery - Hello protocol database synchronization link state updates examples Jean-Yves Le oudec all 2007 1 1. Link State Routing 2 (a) Topology atabase Synchronization! Principle of link state routing each router keeps a topology database of whole network link state updates flooded, or multicast to all network routers compute their routing tables based on topology often uses ijkstra s shortest path algorithm! Neighbouring nodes synchronize before starting any relationship! Used in OSP (Open Shortest Path irst), IS-IS (similar to OSP)and PNNI (TM routing protocol) Hello protocol; keep alive initial synchronization of database description of all links (no information yet)! Once synchronized, a node accepts link state advertisements contain a sequence number, stored with record in the database only messages with new sequence number are accepted accepted messages are flooded to all neighbours sequence number prevents anomalies (loops or blackholes) 3 4

xample network Initial routing tables! ach router knows directly connected networks n ther P-to-P P-to-P n ther P-to-P n n ther ther 5 ther P-to-P ther P-to-P P-to-P ther ther fter looding (b) Topology graph rtr net cost 0 0 0 0 0 n 0 n! The local metric information is flooded to all routers! fter convergence, all routers have the same information n stub network point to point link! rrows routers-to-nets with a given metric except P-to-P, stub, and external networks! rom nets to routers, metric = 0 0 0 0 n 0 0 0 0 0 0 0 0 0 0 54 external network external network broadcast network 7 8

(b) Path omputation! Performed locally, based on topology database! omputes one or several best paths to every destination from this node! est Path = shortest for OSP! OSP uses ijkstra s shortest path the best known algorithm for centralized operation! Paths are computed independently at every node synchronization of databases guarantees absence of persistent loops every node computes a shortest path tree rooted at self Simplified graph! Only arrows with metrics between routers! very node executes the shortest path computation on the graph same graph, but different sources 0 0 0 9 ijkstra s Shortest Path lgorithm xample: ijkstra at! The nodes are 0...N and the algorithm computes best paths from node 0! c(i,j) is the cost of (i,j),! pred(i) is the predecessor of node i on the tree M being built! m(j) is the distance from node 0 to node j. m(0) = 0; M = {0}; for k=1 to N { find (i0, j0) that minimizes m(i) + c(i,j), with i in M, j not in M m(j0) = m(i0) + c(i0, j0) pred(j0) = i0 M = M! {j0} } 0 m()=0 0 0 m()= init: M = { } step 1: i0= j0= m()= M = {, }! like ellman-ord, works for any min-plus algebra 11 12

xample: ijkstra at xample: ijkstra at 0 0 0 i0= j0= m()= M = {,,} 0 0 0 m()=20 i0= j0= m()=20 M = {,,,} m()=0 m()= m()= m()=0 m()= m()= 13 14 xample: ijkstra at xample: ijkstra at 0 m()=30 0 0 m()=20 i0= j0= m()=40 M = {,,,,} m()=0 0 m()=30 0 0 m()=20 i0= j0= m()=0 M = {,,,,,} m()=0 m()= m()= m()=0 m()= m()= 15 1

Routing table of Test Your Understanding! Q1: Run ijkstra at! Q2: What are the routing tables at net next direct direct n n solution 17 18 LS: Summary! ll nodes compute their own topology database represents the whole network strongly synchronized! ll nodes compute their best path tree to all destinations! Routing tables are built from the tree used for next hop routing only! LS versus V LS avoids convergence problems of V supports flexible cost definitions; can be used for routing TM connections LS is much more complex 2. ivide large networks! Why divide large networks?! ost of computing routing tables update when topology changes SP algorithm n routers, k links complexity O(n*k) size of, update messages grows with the network size! Use hierarchical routing to limit the scope of updates and computational overhead divide the network into several areas independent route computing in each area inject aggregated information on routes into other areas! We explain hierarchical routing the OSP way IS-IS does things a bit differently 19 20

Hierarchical Routing! large OSP domain can be configured into areas one backbone area (area 0) non backbone areas (areas numbered other than 0)! ll inter-area traffic goes through area 0 strict hierarchy! Inside one area: link state routing as seen earlier one topology database per area Principles! Routing method used in the higher level: distance vector no problem with loops - one backbone area! Mapping of higher level nodes to lower level nodes area border routers (inter-area routers) belong to both areas! Inter-level routing information summary link state advertisements (LS) from other areas are injected into the local topology databases 1 1 2 2 area 0 21 22 xample! ssume networks and become visible at time 0. Show the topology databases at all routers solution 1 2 X5 area 0 X2 X 1 2 Hints ll routers in propagate the existence of and, directly attached to 1 (resp. 2). raw the topology database in. rea border routers and X belong to, thus they can compute their distances to and rea border routers and X inject their distances to and into the area 0 topology database (item 3 of the principle). The corresponding summary link state record is propagated to all routers of area 0. raw now the topology database in area!0. ll routers in area 0 can now compute their distance to and, using their distances to and X, and using the principle of distance vector (item 1 of the principle). o the computation for and X5. rea border routers and X5 inject their distances to and into the topology database (item 3 of the principle). raw now the topology database in area!1. 23 24

omments! istance vector computation causes none of the RIP problems strict hierarchy: no loop between areas! xternal and summary LS for all reachable networks are present in all topology databases of all areas most LSs are external can be avoided in configuring some areas as terminal: use default entry to the backbone! rea partitions require specific support partition of non-backbone area is handled by having the area 0 topology database keep a map of all area connected components partition of backbone cannot be repaired; it must be avoided; can be handled by backup virtual area 0 links through non backbone area xample of issue : partitioned backbone 1 2 " X5 area 0 X2 X! No connectivity between areas via backbone! There is a route through rea 2! Virtual link and X configure a virtual link through rea 2 virtual link entered into the database, metric = sum of links " 1 2 25 2! OSP (Open Shortest Path irst) IT standard for internal routing used in large networks (ISPs)! Link State protocol + Hierarchical 3. The OSP Protocol OSP omponents! On top of IP (protocol type = 89)! Multicast 224.0.0.5 - all routers of a link 224.0.0. - all designated and backup routers! Sub-protocols Hello to identify neighbors, elect a designated and a backup router atabase description to diffuse the topology between adjacent routers Link State to request, update, and ack the information on a link (LS - Link State dvertisement) 27 28

TOS and metric! TOS mapping of 4 IP TOS bits to a decimal integer 0 - normal service 2 - minimize monetary cost 4 - maximize reliability 8 - maximize throughput 1 - minimize delay! Metric time to send 0 Mb over the interface = 8 /bandwidth 1 if greater than 0 Mb/s can be configured by administrator OSP - summary! OSP vs. RIP much more complex, but presents many advantages no count to infinity no limit on the number of hops (OSP topologies limited by Network and Router LS size (max 4K) to O(5000) links) less signaling traffic (LS Update every 30 min) advanced metric large networks - hierarchical routing most of the traffic when change in topology but periodic Hello messages in RIP: periodic routing information traffic drawback difficult to configure 29 30 Test Your Understanding! Q1: Run ijkstra at : (final step)! Q2: What are the routing tables at Solutions m()=0 m()=30 m()=20 0 0 0 m()= m()=0 m()= 31 32

Test Your Understanding Solution! Q2: What are the routing tables at : n area 0 1 X2 1 back net next direct direct direct n topology database back 2, d=28, d=22, d=22, d=1 X5 X, d=, d=1, d=1, d= area 0 topology database 2 topology database 33 34