Lecture 18: Border Gateway Protocol"

Similar documents
Exterior Gateway Protocols (BGP)

Internet inter-as routing: BGP

APNIC elearning: BGP Attributes

Border Gateway Protocol BGP4 (2)

6.263 Data Communication Networks

Inter-domain Routing Basics. Border Gateway Protocol. Inter-domain Routing Basics. Inter-domain Routing Basics. Exterior routing protocols created to:

Internet inter-as routing: BGP

BGP Best Path Selection Algorithm

BGP Router Startup Message Flow

basic BGP in Huawei CLI

BGP overview BGP operations BGP messages BGP decision algorithm BGP states

Module 7. Routing and Congestion Control. Version 2 CSE IIT, Kharagpur

Border Gateway Protocol (BGP)

BGP Basics. BGP Uses TCP 179 ibgp - BGP Peers in the same AS ebgp - BGP Peers in different AS's Private BGP ASN. BGP Router Processes

E : Internet Routing

Interdomain Routing. Outline

How To Understand Bg

Using the Border Gateway Protocol for Interdomain Routing

Understanding Route Aggregation in BGP

Load balancing and traffic control in BGP

Routing Protocol - BGP

APNIC elearning: BGP Basics. Contact: erou03_v1.0

Internet Routing Protocols Lecture 04 BGP Continued

Chapter 49 Border Gateway Protocol version 4 (BGP-4)

Bell Aliant. Business Internet Border Gateway Protocol Policy and Features Guidelines

Outline. EE 122: Interdomain Routing Protocol (BGP) BGP Routing. Internet is more complicated... Ion Stoica TAs: Junda Liu, DK Moon, David Zats

Administra0via. STP lab due Wednesday (in BE 301a!), 5/15 BGP quiz Thursday (remember required reading), 5/16

Outline. Internet Routing. Alleviating the Problem. DV Algorithm. Routing Information Protocol (RIP) Link State Routing. Routing algorithms

CS551 External v.s. Internal BGP

Examination. IP routning på Internet och andra sammansatta nät, DD2491 IP routing in the Internet and other complex networks, DD2491

DD2491 p Inter-domain routing and BGP part I Olof Hagsand KTH/CSC

Inter-domain Routing. Outline. Border Gateway Protocol

DD2491 p Load balancing BGP. Johan Nicklasson KTHNOC/NADA

CS 457 Lecture 19 Global Internet - BGP. Fall 2011

BGP Attributes and Path Selection

Based on Computer Networking, 4 th Edition by Kurose and Ross

Routing in Small Networks. Internet Routing Overview. Agenda. Routing in Large Networks

Active measurements: networks. Prof. Anja Feldmann, Ph.D. Dr. Nikolaos Chatzis Georgios Smaragdakis, Ph.D.

Introduction to Routing

Multihomed BGP Configurations

Multihoming and Multi-path Routing. CS 7260 Nick Feamster January

Load balancing and traffic control in BGP

--BGP 4 White Paper Ver BGP-4 in Vanguard Routers

BGP1 Multihoming and Traffic Engineering

Advanced BGP Policy. Advanced Topics

Can Forwarding Loops Appear when Activating ibgp Multipath Load Sharing?

HP Networking BGP and MPLS technology training

Border Gateway Protocol Best Practices

Analyzing Capabilities of Commercial and Open-Source Routers to Implement Atomic BGP

Masterkurs Rechnernetze IN2097

Border Gateway Protocol (BGP-4)

Internet Firewall CSIS Packet Filtering. Internet Firewall. Examples. Spring 2011 CSIS net15 1. Routers can implement packet filtering

BGP Terminology, Concepts, and Operation. Chapter , Cisco Systems, Inc. All rights reserved. Cisco Public

CSC458 Lecture 6. Homework #1 Grades. Inter-domain Routing IP Addressing. Administrivia. Midterm will Cover Following Topics

Configuring BGP. Cisco s BGP Implementation

ITRI CCL. IP Routing Primer. Paul C. Huang, Ph.D. ITRI / CCL / N300. CCL/N300; Paul Huang 1999/6/2 1

ECSE-6600: Internet Protocols Exam 2

Traffic & Peering Analysis

BGP route propagation. Internet AS relationships, Routing policy on Internet paths. Example of commercial relationship. Transit vs.

Route Discovery Protocols

Module 12 Multihoming to the Same ISP

IP Routing. CS 552 Richard Martin (with slides from S. Savage and S. Agarwal)

Understanding Route Redistribution & Filtering

BGP4 Case Studies/Tutorial

Week 4 / Paper 1. Open issues in Interdomain Routing: a survey

Border Gateway Protocol (BGP) Conformance and Performance Testing

Simple Multihoming. ISP/IXP Workshops

> Border Gateway Protocol (BGP-4) Technical Configuration Guide. Ethernet Routing Switch. Engineering

Chapter 1 INTRODUCTION

How To Make A Network Plan Based On Bg, Qos, And Autonomous System (As)

The ISP Column. An Introduction to BGP the Protocol

CS551 Multi-homing in BGP

How To Set Up Bgg On A Network With A Network On A Pb Or Pb On A Pc Or Ipa On A Bg On Pc Or Pv On A Ipa (Netb) On A Router On A 2

Routing Protocols (RIP, OSPF, BGP)

Today s Agenda. Note: it takes years to really master BGP Many slides stolen from Prof. Zhi-Li Zhang at Minnesota and from Avi Freedman s slides

Router and Routing Basics

B. Quoitin, S. Uhlig, C. Pelsser, L. Swinnen and O. Bonaventure

ETHEL THE AARDVARK GOES BGP ROUTING

Chapter 6: Implementing a Border Gateway Protocol Solution for ISP Connectivity

Network Level Multihoming and BGP Challenges

Transitioning to BGP. ISP Workshops. Last updated 24 April 2013

Lecture 12: Link-state Routing"

JNCIA Juniper Networks Certified Internet Associate

Border Gateway Protocol, Route Manipulation, and IP Multicast

B. Quoitin, S. Uhlig, C. Pelsser, L. Swinnen and O. Bonaventure

Simple Multihoming. ISP Workshops. Last updated 30 th March 2015

Cisco CCNP Optimizing Converged Cisco Networks (ONT)

Understanding Virtual Router and Virtual Systems

Understanding Large Internet Service Provider Backbone Networks

BGP routing policies in ISP networks

The goal of this lecture is to explain how routing between different administrative domains

netkit lab bgp: multi-homed Università degli Studi Roma Tre Dipartimento di Informatica e Automazione Computer Networks Research Group

An Overview of Solutions to Avoid Persistent BGP Divergence

Routing Protocols. Interconnected ASes. Hierarchical Routing. Hierarchical Routing

Transcription:

Lecture 18: Border Gateway Protocol" CSE 123: Computer Networks Alex C. Snoeren HW 3 due Wednesday! Some figures courtesy Mike Freedman

Lecture 18 Overview" Path-vector Routing Allows scalable, informed route selection Border Gateway Protocol How routing gets done on the Internet today 2

Policy Support" Each node can apply local policies Path selection: Which path to use? Path export: Which paths to advertise? Examples Node 2 may prefer the path 2, 3, 1 over 2, 1 Node 1 may not let node 3 hear the path 1, 2 2 3 2 3 1 1 3

Border Gateway Protocol" Interdomain routing protocol for the Internet Prefix-based path-vector protocol Policy-based routing based on AS Paths Evolved during the past 18 years 1989 : BGP-1 [RFC 1105], replacement for EGP 1990 : BGP-2 [RFC 1163] 1991 : BGP-3 [RFC 1267] 1995 : BGP-4 [RFC 1771], support for CIDR 2006 : BGP-4 [RFC 4271], update 4

Basic BGP Operation" Establish session on TCP port 179 AS1 Exchange all active routes BGP session AS2 Exchange incremental updates While connection is ALIVE exchange route UPDATE messages 5

Step-by-Step" A node learns multiple paths to destination Stores all of the routes in a routing table Applies policy to select a single active route and may advertise the route to its neighbors Incremental updates Announcement» Upon selecting a new active route, add node id to path» and (optionally) advertise to each neighbor Withdrawal» If the active route is no longer available» send a withdrawal message to the neighbors 6

A Simple BGP Route" Destination prefix (e.g., 128.112.0.0/16) Route attributes, including AS path (e.g., 7018 88 ) Next-hop IP address (e.g., 12.127.0.121) AS 88 Princeton 192.0.2.1 AS 7018 AT&T 12.127.0.121 AS 11 Harvard 128.112.0.0/16 AS path = 88 Next Hop = 192.0.2.1 128.112.0.0/16 AS path = 7018 88 Next Hop = 12.127.0.121 7

BGP Attributes" Local pref: Statically configured ranking of routes within AS AS path: ASs the announcement traversed Origin: Route came from IGP or EGP Multi Exit Discriminator: preference for where to exit network Community: opaque data used for inter-isp policy Next-hop: where the route was heard from 8

Export Active Routes" In conventional path vector routing, a node has one ranking function, which reflects its routing policy 9

BGP Decision Process" Default decision for route selection Highest local pref, shortest AS path, lowest MED, prefer ebgp over ibgp, lowest IGP cost, router id Many policies built on default decision process, but Possible to create arbitrary policies in principal» Any criteria: BGP attributes, source address, prime number of bytes in message,» Can have separate policy for inbound routes, installed routes and outbound routes Limited only by power of vendor-specific routing language 10

Example: Local Pref" AS 4 local pref = 80 AS 5 local pref = 90 AS 3 local pref = 100 Higher Local preference values are more preferred AS 2 AS 1 13.13.0.0/16 11

Example: Short AS Path" Shorter AS Paths are more preferred AS701 UUnet 128.2/16 9 AS9 CMU (128.2/16) AS7018 AT&T 128.2/16 9 128.2/16 9 701 AS73 Univ of Wash 128.2/16 9 7018 1239 AS1239 Sprint 128.2/16 9 7018 12

AS Paths vs. Router Paths" Mr. BGP says that path 4 1 is better than path 3 2 1 AS 3 AS 4 AS 2 AS 1 13

BGP Has Lots of Problems" Instability Route flapping (network x.y/z goes down tell everyone) Long AS-path decision criteria defaults to DV-like behavior (bouncing) Not guaranteed to converge, NP-hard to tell if it does Scalability still a problem ~485,000 network prefixes in default-free table today Tension: Want to manage traffic to very specific networks (eg. multihomed content providers) but also want to aggregate information. Performance Non-optimal, doesn t balance load across paths 14

A History of Settlement" The telephone world LECs (local exchange carriers) IXCs (inter-exchange carriers) LECs MUST provide IXCs access to customers This is enforced by laws and regulation When a call goes from one phone company to another: Call billed to the caller The money is split up among the phone systems this is called settlement 15

Business Relationships" Neighboring ASes have business contracts How much traffic to carry Which destinations to reach How much money to pay Common business relationships Customer-provider» E.g., Princeton is a customer of USLEC» E.g., MIT is a customer of Level3 Peer-peer» E.g., UUNET is a peer of Sprint» E.g., Harvard is a peer of Harvard Business School 16

Customer/Provider" Customer needs to be reachable from everyone Provider tells all neighbors how to reach the customer Customer does not want to provide transit service Customer does not let its providers route through it Traffic to the customer Traffic from the customer announcements provider d provider traffic d customer customer 17

For next time " Read Ch. 4.2 in P&D Keep moving on Project 2 18