Network Layer (Routing)

Similar documents
Topic. How rou=ng protocols work with IP. The Host/Router dis=nc=on. I don t! I route. CSE 461 University of Washington 1

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

Network Layer (Routing)

Network Layer (Routing)

Introduction to IP Routing. Geoff Huston

BGP and the Internet

Lecture 18: Border Gateway Protocol

Inter-domain Routing. Outline. Border Gateway Protocol

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

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

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

How the Internet works? The Border Gateway Protocol (BGP)

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

Lecture 17: Border Gateway Protocol

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

Master Course Computer Networks IN2097

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

Link State Routing & Inter-Domain Routing

Lecture 19: Network Layer Routing in the Internet

COMP/ELEC 429 Introduction to Computer Networks

Inter-Domain Routing: BGP

CS4700/CS5700 Fundamentals of Computer Networks

Interdomain Routing and Connectivity

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

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

Routing Basics ISP/IXP Workshops

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

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

Module 14 Transit. Objective: To investigate methods for providing transit services. Prerequisites: Modules 12 and 13, and the Transit Presentation

Introduction to BGP ISP/IXP Workshops

Inter-Domain Routing: BGP

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

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

CS321: Computer Networks Unicast Routing

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

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

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

TELE 301 Network Management

Introduction to Computer Networks

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

BGP Configuration for a Transit ISP

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

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

BGP Case Studies. ISP Workshops

PART III. Implementing Inter-Network Relationships with BGP

Master Course Computer Networks IN2097

Homework Assignment #3b Due 11/22 at 3:50pm EE122 Fall 2010

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

CSE 461 Interdomain routing. David Wetherall

Routing(2) Inter-domain Routing

CSE 473 Introduction to Computer Networks. Final Exam. Your Name: 12/17/2014 PLEASE WRITE LEGIBLY NO POINTS FOR ILLEGIBLE ANSWERS

Dynamics of Hot-Potato Routing in IP Networks

Module 18 Transit. Objective: To investigate methods for providing transit services. Prerequisites: Modules 12 and 13, and the Transit Presentation

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

Module 16 An Internet Exchange Point

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

Interdomain routing CSCI 466: Networks Keith Vertanen Fall 2011

Routing Basics. ISP Workshops

Routing Basics. Campus Network Design & Operations Workshop

Interdomain Routing. EE122 Fall 2011 Scott Shenker

Preventing the unnecessary propagation of BGP withdraws

BGP. Autonomous system (AS) BGP version 4

Interdomain Routing. Networked Systems (H) Lecture 11

Inter-Autonomous-System Routing: Border Gateway Protocol

BGP. Autonomous system (AS) BGP version 4

Lecture 16: Border Gateway Protocol

Multihoming Techniques. bdnog8 May 4 8, 2018 Jashore, Bangladesh.

IPv6 Module 16 An IPv6 Internet Exchange Point

Border Gateway Protocol - BGP

BGP. Autonomous system (AS) BGP version 4

Introduction to BGP. ISP/IXP Workshops

CS 268: Computer Networking. Next Lecture: Interdomain Routing

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

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

Inter-Autonomous-System Routing: Border Gateway Protocol

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

CSCI Topics: Internet Programming Fall 2008

Internet Routing Protocols Lecture 01 & 02

Ravi Chandra cisco Systems Cisco Systems Confidential

Internet Routing Basics

COM-208: Computer Networks - Homework 6

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

Routing Basics. SANOG July, 2017 Gurgaon, INDIA

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

Routing(2) Inter-domain Routing

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

Routing Basics ISP/IXP Workshops

Vendor: Alcatel-Lucent. Exam Code: 4A Exam Name: Alcatel-Lucent Border Gateway Protocol. Version: Demo

APNIC elearning: BGP Basics. 30 September :00 PM AEST Brisbane (UTC+10) Revision: 2.0

IPv4/IPv6 BGP Routing Workshop. Organized by:

CS BGP v4. Fall 2014

BGP and the Internet

Lab Guide 2 - BGP Configuration

Interdomain Routing. EE122 Fall 2012 Scott Shenker

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

Next Lecture: Interdomain Routing : Computer Networking. Outline. Routing Hierarchies BGP

Advanced Computer Networks

Computer Networking Introduction

From the given configuration taken from RTA and graphic, which network will be filtered from being propagated to RTC from RTA?

Chapter IV: Network Layer

Transcription:

Network Layer (Routing)

Border Gateway Protocol

Structure of the Internet Networks (ISPs, CDNs, etc.) group with IP prefixes Networks are richly interconnected, often using IXPs Prefix E1 Net E IXP Prefix E2 Prefix C1 CDN C IXP IXP Net F Prefix B1 ISP B IXP Prefix F1 Prefix D1 CDN D ISP A Prefix A1 Prefix A2

Internet-wide Routing Issues Two problems beyond routing within a network 1. Scaling to very large networks Techniques of IP prefixes, hierarchy, prefix aggregation 2. Incorporating policy decisions Letting different parties choose their routes to suit their own needs Yikes! CSE 461 University of Washington 4

Effects of Independent Parties Each party selects routes to suit its own interests e.g, shortest path in ISP What path will be chosen for A2 B1 and B1 A2? What is the best path? ISP A Prefix A1 Prefix A2 ISP B Prefix B1 Prefix B2 CSE 461 University of Washington 5

Effects of Independent Parties (2) Selected paths are longer than overall shortest path And asymmetric too! This is a consequence of independent goals and decisions, not hierarchy ISP A Prefix A1 Prefix A2 ISP B Prefix B1 Prefix B2 CSE 461 University of Washington 6

Routing Policies Capture the goals of different parties Could be anything Common policies we ll look at: ISPs give TRANSIT service to customers ISPs give PEER service to each other CSE 461 University of Washington 7

Routing Policies Transit One party (customer) gets TRANSIT service from another party (ISP) ISP accepts traffic for customer from the rest of Internet ISP sends traffic from customer to the rest of Internet Customer pays ISP for the privilege ISP Customer 1 Customer 2 Rest of Internet Noncustomer CSE 461 University of Washington 8

Routing Policies Peer Both party (ISPs in example) get PEER service from each other Each ISP accepts traffic from the other ISP only for their customers ISPs do not carry traffic to the rest of the Internet for each other ISPs don t pay each other ISP A Customer A1 Customer A2 ISP B Customer B1 Customer B2 CSE 461 University of Washington 9

Routing with BGP (Border Gateway Protocol) ibgp is for internal routing ebgp is interdomain routing for the Internet Path vector, a kind of distance vector Prefix B1 ISP B Prefix F1 via ISP B, Net F at IXP Net F IXP Prefix F1 ISP A Prefix A1 Prefix A2 10

Routing with BGP Parties like ISPs are called AS (Autonomous Systems) AS s MANUALLY configure their internal BGP routes/advertisements External routes go through complicated filters for forwarding/filtering AS BGP routers communicate with each other to keep consistent routing rules CSE 461 University of Washington 11

Routing with BGP Border routers of ASes announce BGP routes Route announcements have IP prefix, path vector, next hop Path vector is list of ASes on the way to the prefix List is to find loops Route announcements move in the opposite direction to traffic CSE 461 University of Washington 12

Routing with BGP Prefix CSE 461 University of Washington 13

Routing with BGP Policy is implemented in two ways: 1. Border routers of ISP announce paths only to other parties who may use those paths Filter out paths others can t use 2. Border routers of ISP select the best path of the ones they hear in any, non-shortest way CSE 461 University of Washington 14

Routing with BGP TRANSIT: AS1 says [B, (AS1, AS3)], [C, (AS1, AS4)] to AS2 CSE 461 University of Washington 15

Routing with BGP CUSTOMER (other side of TRANSIT): AS2 says [A, (AS2)] to AS1 CSE 461 University of Washington 16

Routing with BGP PEER: AS2 says [A, (AS2)] to AS3, AS3 says [B, (AS3)] to AS2 CSE 461 University of Washington 17

Routing with BGP AS2 has two routes to B (AS1, AS3) and chooses AS3 (Free!) CSE 461 University of Washington 18

BGP Thoughts Much more beyond basics to explore! Policy is a substantial factor Can independent decisions be sensible overall? Other important factors: Convergence effects How well it scales Integration with intradomain routing And more CSE 461 University of Washington 19