Introduction to IP Routing. Geoff Huston

Similar documents
BTEC Level 3 Extended Diploma

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

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

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

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

COMP/ELEC 429 Introduction to Computer Networks

CS4700/CS5700 Fundamentals of Computer Networks

Routing Protocols of IGP. Koji OKAMURA Kyushu University, Japan

Internet Routing Protocols Lecture 01 & 02

Inter-domain Routing. Outline. Border Gateway Protocol

Routing Protocols and

Introduction to Dynamic Routing Protocols

Why dynamic route? (1)

Network Layer (Routing)

Inter-Autonomous-System Routing: Border Gateway Protocol

3/10/2011. Copyright Link Technologies, Inc.

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

Inter-Autonomous-System Routing: Border Gateway Protocol

CS BGP v4. Fall 2014

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

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

Introduction to Computer Networks

Routing Unicast routing protocols

Interdomain Routing Reading: Sections P&D 4.3.{3,4}

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

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

Routing. Jens A Andersson Communication Systems

PART III. Implementing Inter-Network Relationships with BGP

shortcut Tap into learning NOW! Visit for a complete list of Short Cuts. Your Short Cut to Knowledge

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

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

Routing Concepts. IPv4 Routing Forwarding Some definitions Policy options Routing Protocols

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

Inter-Domain Routing: BGP

Routing Protocols. Autonomous System (AS)

BGP Policy Accounting

Chapter 7 Routing Protocols

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

Routing in the Internet

Top-Down Network Design

Interdomain Routing Reading: Sections K&R EE122: Intro to Communication Networks Fall 2007 (WF 4:00-5:30 in Cory 277)

Lecture 19: Network Layer Routing in the Internet

CSc 450/550 Computer Networks Internet Routing

Ravi Chandra cisco Systems Cisco Systems Confidential

Internet Routing Protocols Lecture 03 Inter-domain Routing

Internet Architecture and Experimentation

Computer Networking Introduction

Chapter 4: Network Layer

Introduction to BGP. ISP Workshops. Last updated 30 October 2013

ETSF10 Internet Protocols Routing on the Internet

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

CS519: Computer Networks. Lecture 4, Part 5: Mar 1, 2004 Internet Routing:

Routing Basics. Campus Network Design & Operations Workshop

2011, Sushile Tejwani

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

Chapter 4: outline. Network Layer 4-1

Interdomain routing CSCI 466: Networks Keith Vertanen Fall 2011

Routing Basics ISP/IXP Workshops

Routing Basics. ISP Workshops. Last updated 10 th December 2015

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

Introduction to BGP ISP/IXP Workshops

Routing Security* CSE598K/CSE545 - Advanced Network Security Prof. McDaniel - Spring * Thanks to Steve Bellovin for slide source material.

Link State Routing & Inter-Domain Routing

Internet Routing : Fundamentals of Computer Networks Bill Nace

Overview 4.2: Routing

CSCI Topics: Internet Programming Fall 2008

Unit 3: Dynamic Routing

Module 8. Routing. Version 2 ECE, IIT Kharagpur

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

Routing Basics. Routing Concepts. IPv4. IPv4 address format. A day in a life of a router. What does a router do? IPv4 Routing

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

Outline. Organization of the global Internet Example of domains Intradomain routing. Interdomain traffic engineering with BGP

Introduction to BGP. ISP/IXP Workshops

Back to basics J. Addressing is the key! Application (HTTP, DNS, FTP) Application (HTTP, DNS, FTP) Transport. Transport (TCP/UDP) Internet (IPv4/IPv6)

Routing Protocols --- Exterior Gateway Protocol

Network Layer: Routing

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

Routing Basics ISP/IXP Workshops

Module: Routing Security. Professor Patrick McDaniel Spring CMPSC443 - Introduction to Computer and Network Security

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

Chapter IV: Network Layer

ETSF10 Internet Protocols Routing on the Internet

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

CS321: Computer Networks Unicast Routing

TELE 301 Network Management

IP Routing Tecnologie e Protocolli per Internet II rev 1

DATA COMMUNICATOIN NETWORKING

An overview of how packets are routed in the Internet

Inter-Domain Routing: BGP

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

BGP Routing and BGP Policy. BGP Routing. Agenda. BGP Routing Information Base. L47 - BGP Routing. L47 - BGP Routing

Module 1b IS-IS. Prerequisites: The setup section of Module 1. The following will be the common topology used for the first series of labs.

Professor Yashar Ganjali Department of Computer Science University of Toronto.

Routing Basics. ISP Workshops

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

TDC 363 Introduction to LANs

Example: Conditionally Generating Static Routes

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

Basic Idea. Routing. Example. Routing by the Network

CSCD 433/533 Network Programming Fall Lecture 14 Global Address Space Autonomous Systems, BGP Protocol Routing

Transcription:

Introduction to IP Routing Geoff Huston

Routing How do packets get from A to B in the Internet? A Internet B

Connectionless Forwarding Each router (switch) makes a LOCAL decision to forward the packet towards B R1 R4 R7 R6 A R2 R8 B R3 R5

Connectionless Forwarding This is termed destination-based connectionless forwarding How does each router know the correct local forwarding decision for any possible destination address? Through knowledge of the topology state of the network This knowledge is maintained by a routing protocol

Routing Protocols Distribute the knowledge of the current topology state of the network to all routers This knowledge is used by each router to generate a forwarding table, which contains the local switching decision for each known destination address

Routing Protocols correct operation of the routing state of a network is essential for the management of a quality network service accuracy of the routing information dynamic adjustment of the routing information matching aggregate traffic flow to network capacity

ISP Routing Tasks customers internal peer / upstream Exterior routing Interior routing Customer routing

Interior Routing discovers the topology of a network through the operation of a distributed routing protocol

Path Selection R1 R4 5 R7 5 10 40 45 R6 6 5 A 20 R2 10 15 R8 B 4 10 R3 5 R5 10 Minimum cost from A to B is 39 units

Dynamic Path Adjustment R1 R4 5 R7 5 10 40 45 R6 6 5 A 20 R2 10 15 R8 B 4 R3 5 R5 10 If R5 R7 breaks, minimum cost path from A to B is Now 46 units

Interior Routing Protocols describe the current network topology Routing protocols distribute how to reach address prefix groups Routing protocols function through either distributed computing model (distance vector) parallel computing model (link state)

Routing Protocols Distance Vector Routing Protocols Each node sends its routing table (dest, distance) to all neighbors every 30 seconds Lower distances are updated with the neighbor as next hop cannot scale cannot resolve routing loops quickly RIP is the main offender

Routing Protocols Link State Routing Protocols Each link, the connected nodes and the metric is flooded to all routers Each link up/down status change is incrementally flooded Each router re-computes the routing table in parallel using the common link state database OSPF is the main protocol in use today

Suggestions Just engineering a physical link does not ensure that traffic will flow some system somewhere must provide routing information about how to reach the newly connected network Installing backup circuits is easy, making the routing work may not be

Suggestions need a clear understanding of how the client networks want their traffic to flow before you can start making routing configuration changes

Interior and Exterior Routing Protocols Interior Route Space AS1 Interior Route Space AS1221 Exterior Routing Space Interior Route Space AS3561 Interior Route Space AS2402 Interior Route Space AS701

Exterior Routing Protocols You tell me all the address prefixes you can reach, but don t tell me the path you use to get there I ll tell you the same If anything changes, please let me know If you tell me an address I ll send you traffic destined to that address. If I tell you an address I will accept traffic destined to that address

Exterior Routing Protocols Border Gateway Protocol version 4 (BGP4) Each interior route collection is described by an Autonomous System (AS) number Internal topology is hidden Routes are announced with associated AS value 139.130.0.0/16 + AS 1221

BGP example AS 1221 AS 3561 139.130.0.0/16 203.10.60.0/24 148.10.0.0/16 3561 24.192.36.0/24 3561 202.23.45.0/23 3561 148.10.0.0/16 24.192.36.0/24 202.23.45.0/23 139.130.0.0/16 1221 203.10.60.0/24 1221

BGP Example of TRANSIT AS 1221 AS 3561 139.130.0.0/16 i 203.10.60.0/24 I 148.10.0.0/16 3561 24.192.36.0/24 3561 202.23.45.0/23 3561 210.10.0.0/16 3561,5727 139.1.0.0/16 3561,5727 148.10.0.0/16 i 24.192.36.0/24 i 202.23.45.0/23 i 210.10.0.0/16 5727 130.1.0.0/16 5727 139.130.0.0/16 1221 203.10.60.0/24 1221 AS 5727 210.10.0.0/16 i 130.1.0.0/16 I 148.10.0.0/16 3561 24.192.36.0/24 3561 202.23.45.0/23 3561 139.130.0.0/16 3561,1221 203.10.60.0/24 3561,1221

Exterior Routing Protocols Internal transit paths use I-BGP AS 1221 A AS 3561 B AS 5727 Q: How does router A tell router B about AS1221 addresses? A: Router A sets un an INTERIOR BGP session with router B

Exterior Routing Protocols AS 1 AS 1221 I-BGP E-BGP AS3561 AS 2402 AS 701

Exterior Routing Protocols Normally chose minimal AS path length 203.10.60.0/24 701,3561,1221 203.10.60.0/24 5727,1221 Selected path is via peer session to AS 5727 as this Is 1 AS shorter that the other path

Exterior POLICY How can I share the traffic load between 2 or moreexterior providers? How can I create a backup link to support my main exterior link? You can bias minimal path selection by AS path filter lists or community attributes or local preferences

Exterior Routing Protocols plus Policy AS 1 Accept AS paths 1221 2402 1221,3561 2402,701 AS 1221 AS 3561 AS 2402 AS 701

Exterior Routing Protocols plus Policy policy settings control what you advertise to your immediate peers What you accept from your immediate peers What transits you will accept (send traffic) you cannot control transit path of received traffic symmetry of transit policy