Link State Routing & Inter-Domain Routing

Similar documents
Inter-domain Routing. Outline. Border Gateway Protocol

Internet Routing : Fundamentals of Computer Networks Bill Nace

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

Lecture 4: Intradomain Routing. CS 598: Advanced Internetworking Matthew Caesar February 1, 2011

COM-208: Computer Networks - Homework 6

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

Network Layer: Routing

Inter-Autonomous-System Routing: Border Gateway Protocol

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

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

Inter-Autonomous-System Routing: Border Gateway Protocol

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

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

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

Network Layer, Part 2 Routing. Terminology

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

CS321: Computer Networks Unicast Routing

CS 204: BGP. Jiasi Chen Lectures: MWF 12:10-1pm Humanities and Social Sciences

Why dynamic route? (1)

Network Layer (Routing)

COMP/ELEC 429 Introduction to Computer Networks

CS4700/CS5700 Fundamentals of Computer Networks

Introduction to IP Routing. Geoff Huston

Routing in Internet. Problem. Given set of nodes, how do routers acquire info about neighbors to construct the routing tables?

CS BGP v4. Fall 2014

Lecture 4. The Network Layer (cont d)

Inter-Domain Routing: BGP

Overview 4.2: Routing

Outline Computer Networking. Inter and Intra-Domain Routing. Internet s Area Hierarchy Routing hierarchy. Internet structure

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

CS 43: Computer Networks. 24: Internet Routing November 19, 2018

Master Course Computer Networks IN2097

Routing in the Internet

CS4450. Computer Networks: Architecture and Protocols. Lecture 15 BGP. Spring 2018 Rachit Agarwal

Topic. How to compute shortest paths in a distributed network. The Link-State (LS) approach. then compute. Flood! CSE 461 University of Washington 1

cs/ee 143 Communication Networks

CSCE 463/612 Networks and Distributed Processing Spring 2018

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

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

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

5.1 introduction 5.5 The SDN control 5.2 routing protocols plane. Control Message 5.3 intra-as routing in Protocol the Internet

Unit 3: Dynamic Routing

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

Inter-networking. Problem. 3&4-Internetworking.key - September 20, LAN s are great but. We want to connect them together. ...

Routing. Outline. Algorithms Scalability

CS 43: Computer Networks Internet Routing. Kevin Webb Swarthmore College November 14, 2013

Interdomain routing CSCI 466: Networks Keith Vertanen Fall 2011

Inter-Domain Routing: BGP

Dynamics of Hot-Potato Routing in IP Networks

CSCI-1680 Network Layer: Inter-domain Routing Rodrigo Fonseca

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

Introduction to BGP ISP/IXP Workshops

ECE 428 Internet Protocols (Network Layer: Layer 3)

Operating Systems and Networks. Network Lecture 7: Network Layer 2. Adrian Perrig Network Security Group ETH Zürich

Inter-AS routing and BGP. Network Layer 4-1

Chapter 4: Advanced Internetworking. Networking CS 3470, Section 1

Module 8. Routing. Version 2 ECE, IIT Kharagpur

CSc 450/550 Computer Networks Internet Routing

CSCI-1680 Network Layer: Inter-domain Routing Rodrigo Fonseca

Department of Computer and IT Engineering University of Kurdistan. Computer Networks II Border Gateway protocol (BGP) By: Dr. Alireza Abdollahpouri

Border Gateway Protocol - BGP

Network Layer (Routing)

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

Top-Down Network Design

Lecture 19: Network Layer Routing in the Internet

CMSC 417. Computer Networks Prof. Ashok K Agrawala Ashok Agrawala October 9, 2018 (a) October 18 October 9,

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

CS 457 Networking and the Internet. The Global Internet (Then) The Global Internet (And Now) 10/4/16. Fall 2016

CSE/EE 461 Lecture 11. Inter-domain Routing. This Lecture. Structure of the Internet. Focus How do we make routing scale?

Master Course Computer Networks IN2097

Routing in a network

Basic Idea. Routing. Example. Routing by the Network

Routing by the Network

Network Layer (Routing)

Network layer: Overview. Network layer functions Routing IP Forwarding

CSE 461 Interdomain routing. David Wetherall

An overview of how packets are routed in the Internet

Introduction to Computer Networks

TELE 301 Network Management

Chapter 4: Network Layer, partb

DATA COMMUNICATOIN NETWORKING

Introduction to OSPF

Chapter 4: Network Layer

! Distance vector routing! Link state routing.! Path vector routing! BGP: Border Gateway Protocol! Route aggregation

Antonio Cianfrani. Routing Protocols

Lecture 16: Interdomain Routing. CSE 123: Computer Networks Stefan Savage

Computer Networking Introduction

Routing. Jens A Andersson Communication Systems

CSCD 433/533 Advanced Networks Spring 2016

IP Addressing & Interdomain Routing. Next Topic

Introduction to BGP. ISP/IXP Workshops

CMPE 80N: Introduction to Networking and the Internet. Katia Obraczka Computer Engineering UCSC Baskin Engineering Lecture 20

CSCI Topics: Internet Programming Fall 2008

Chapter IV: Network Layer

BGP made easy. John van Oppen Spectrum Networks / AS11404

Dynamic Routing. The Protocols

Routing(2) Inter-domain Routing

EE 122: Intra-domain routing

ITTC Introduction to Communication Networks The University of Kansas EECS 563 Network Routing

Routing, Routing Algorithms & Protocols

Transcription:

Link State Routing & Inter-Domain Routing CS640, 2015-02-26 Announcements Assignment #2 is due Tuesday Overview Link state routing Internet structure Border Gateway Protocol (BGP) Path vector routing Inter domain routing policies Link State Routing Reliably flood LSPs LSPs Source router ID List of neighbors and link costs Sequence # Time to live Router generates LSP when conditions change e.g., link fails Assign next seq # Flooding algorithm If no stored LSP from source Store LSP Broadcast LSP on all links except the link on which it was received If seq # of received LSP > stored LSP Replace stored LSP Broadcast LSP If sequence # of received LSP stored LSP Do nothing Dijkstra s algorithm Variables V = nodes in network G l(i,j) = link cost between nodes i & j SPT = shortest path tree between source node and all other nodes S = source node C(v) = cost of path between S and v 1

Algorithm Initialize SPT = {S} For each n not in SPT C(v) = l(s,n) While SPT <> V SPT = SPT U {w} such that C(w) is the min for all w in (V SPT) For each v not in SPT C(v) = cost of minimum path from S to v via nodes in SPT Result is table of entries <From, To, Interface, Cost> for all nodes in the network Example find the SPT from B SPT = {B} Set C(v) = l(s,v) for all V SPT C(E) = 1 C(A) = 3 C(C) = 4 C(D) = C(F) = SPT = {B} U {E} Recalculate C(v) based on SPT = {B,E} C(A) = min(3, 1+1) = 2 C(C) = min(4, 1+ ) = 4 C(D) = min(, 1+1) = 2 C(F) + min(, 1+2) = 3 SPT = {B,E} U {A} Recalculate C(v) based on SPT = {B,E,A} C(C) = 4 C(D) = 2 C(F) = 3 SPT = {B,E,A} U {D} Recalculate C(v) based on SPT = {B,E,A,D} C(C) = 4 C(F) = 3... Algorithm stops when SPT = {A,B,C,D,E,F} 2

No count to infinity problem Fast propagation of link state packets via reliable flooding All route computation is local Open Shortest Path First (OSPF) Implements link state routing Link state routing is preferred due to Fast convergence Loop free Scalable: m = # links, n = # nodes Dijkstra = O(m log n) Bellman ford (DV) = O(mn) Intra vs. Inter domain Routing Intra domain Within an administrative domain (e.g., campus network) Emphasis on efficiency find an optimal path Used with 10s of routers Inter domain Between administrative domains (i.e., the Internet) Emphasis on reachability find a path Used with 1000s of networks Internet Structure Network == autonomous system (AS) Assign unique AS number (ASN) UW Madison is AS 59 Some networks (e.g., home networks, small enterprises) let their Internet Service Provider handle inter domain routing for them, so they are not assigned an ASN 46K active ASes Types of ASes Stub AS connect to a single provider Multi homed AS connect to multiple providers Transit AS send/receive traffic for nodes within the AS and for other connected ASes Types of AS relationships Customer provider customer AS pays provider AS to send/receive traffic on its behalf Peer two ASes send/receive traffic between themselves for nodes within their own networks, but not for nodes external to these networks; no money is exchanged 3

Example Internet Exchange Points (IXPs) Physical location where many ASes come together and can set up lots of peering relationships with other ASes Popular in Europe one of the largest IXPs has 375 ASes, which have established about 50,000 peering links (maximum number of links is 375^2) Border Gateway Protocol (BGP) Protocol for inter domain routing Every AS has a BGP speaker which sets up a BGP session with each of its neighbors Speakers advertise/exchange Local address space i.e., IP address range(s) for hosts in this network Other reachable networks only speakers for transit ASes do this Provide full path (i.e. list of ASes) used to reach other network Send updates when Destination becomes reachable Better path to destination becomes available Best path becomes unusable switch to worse path Destination becomes available Challenges Scalability 46K ASes, 200K prefixes Conflicting business goals transit AS may pick paths based on latency, hop count, monetary cost (i.e., how much they pay another provider), etc. Flexibility Need for trust assume that another AS has advertised a valid path Advertisements of false paths can lead to black holes Secure BGP designed to address this, but not widely deployed 4

Path Vector Routing For each network prefix, send the full path of ASes needed to reach that network Example Netflix advertises to XO Communications: 69.53.236.0/24 2906 XO Communications advertises to Level3: 69.53.236.0/24 2828, 2906 Cisco advertises to Level3: 72.163.0.0/16 109 Level3 advertises to UW Madison: 69.53.236.0/24 3356, 2828, 2906 72.163.0.0/16 3356, 109 AS may receive multiple advertisements to reach the same prefix Pick one based on local policy Advertise that path, adding own ASN Example Netflix advertises to Dummy ISP: 69.53.236.0/24 2906 Dummy ISP advertises to Level3: 69.53.236.0/24 64201, 2906 Level3 prefers path through XO Communications, so it advertises that to UW Madison AS may need to advertise multiple contiguous prefixes Can advertise separately or as one aggregate prefix Separate allows for different paths for different prefixes Aggregate minimizes number of forwarding table entries (and advertisements) Example Netflix actually owns the prefixes 64.53.236.0/24 and 64.53.237.0/24 Netflix advertises to XO Communications and Dummy ISP: 69.53.236.0/24 2906 69.53.237.0/24 2906 5

Dummy ISP advertises to Level3: 69.53.236.0/24 64201, 2906 69.53.237.0/24 64201, 2906 69.53.236.0/23 64201, 2906 Just one Similar for XO Communications to Level3 Assume Dummy ISP & XO Communications both choose the 1st option, Level3 can advertise to UW Madison: 69.53.236.0/24 3356, 64201, 2906 69.53.237.0/24 3356, 64201, 2906 69.53.236.0/23 3356, 64201, 2906 69.53.236.0/24 3356, 2828, 2906 69.53.237.0/24 3356, 2828, 2906 69.53.236.0/23 3356, 2828, 2906 69.53.236.0/24 3356, 2828, 2906 69.53.237.0/24 3356, 64201, 2906 69.53.236.0/24 3356, 64201, 2906 69.53.237.0/24 3356, 2828, 2906 6