CS551 Multi-homing in BGP



Similar documents
CS 457 Lecture 19 Global Internet - BGP. Fall 2011

Internet inter-as routing: BGP

Exterior Gateway Protocols (BGP)

Internet inter-as routing: BGP

IK2205 Inter-domain Routing

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

Border Gateway Protocol BGP4 (2)

Multihomed BGP Configurations

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

Lecture 18: Border Gateway Protocol"

Border Gateway Protocol (BGP)

DD2491 p Load balancing BGP. Johan Nicklasson KTHNOC/NADA

Advanced BGP Policy. Advanced Topics

Load balancing and traffic control in BGP

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

APNIC elearning: BGP Attributes

How To Understand Bg

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

BGP Best Path Selection Algorithm

Using the Border Gateway Protocol for Interdomain Routing

Load balancing and traffic control in BGP

BGP1 Multihoming and Traffic Engineering

E : Internet Routing

Border Gateway Protocol Best Practices

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

Introduction. Internet Address Depletion and CIDR. Introduction. Introduction

CS551 External v.s. Internal BGP

BGP overview BGP operations BGP messages BGP decision algorithm BGP states

Introduction to Routing

Understanding Route Aggregation in BGP

Configuring BGP. Cisco s BGP Implementation

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

Understanding Large Internet Service Provider Backbone Networks

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

BGP Route Analysis and Management Systems

Understanding and Optimizing BGP Peering Relationships with Advanced Route and Traffic Analytics

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

Interdomain Routing. Outline

ECSE-6600: Internet Protocols Exam 2

Interdomain Routing. Project Report

Routing Protocol - BGP

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

BGP Attributes and Path Selection

BGP Advanced Features and Enhancements

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

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

Inter-domain Routing. Outline. Border Gateway Protocol

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

Simple Multihoming. ISP/IXP Workshops

Claudio Jeker. RIPE 41 Meeting Amsterdam, 15. January Using BGP topology information for DNS RR sorting

Understanding Route Redistribution & Filtering

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

Internetworking and Internet-1. Global Addresses

APNIC elearning: BGP Basics. Contact: erou03_v1.0

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

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

Textbook Required: Cisco Networking Academy Program CCNP: Building Scalable Internetworks v5.0 Lab Manual.

basic BGP in Huawei CLI

The ISP Column. An Introduction to BGP the Protocol

Module 12 Multihoming to the Same ISP

Global IP Network Mobility

Troubleshooting Network Performance with Alpine

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

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

Route Discovery Protocols

Network Level Multihoming and BGP Challenges

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

JUNOS Secure BGP Template

ETHEL THE AARDVARK GOES BGP ROUTING

How To Load Balance On A Bgg On A Network With A Network (Networking) On A Pc Or Ipa On A Computer Or Ipad On A 2G Network On A Microsoft Ipa (Netnet) On An Ip

ISP Case Study. UUNET UK (1997) ISP/IXP Workshops. ISP/IXP Workshops. 1999, Cisco Systems, Inc.

Border Gateway Protocol (BGP-4)

Cisco CCNP Optimizing Converged Cisco Networks (ONT)

Can Forwarding Loops Appear when Activating ibgp Multipath Load Sharing?

BGP Router Startup Message Flow

Increasing Path Diversity using Route Reflector

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

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

BGP route monitoring. Mar, 25, 2008 Matsuzaki maz Yoshinobu

Multihoming: An Overview

CS 5480/6480: Computer Networks Spring 2012 Homework 4 Solutions Due by 1:25 PM on April 11 th 2012

Gateway of last resort is to network

Router and Routing Basics

Chapter 4. VoIP Metric based Traffic Engineering to Support the Service Quality over the Internet (Inter-domain IP network)

IP Routing Configuring Static Routes

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

Application Note: Securing BGP on Juniper Routers

BGP FORGOTTEN BUT USEFUL FEATURES. Piotr Wojciechowski (CCIE #25543)

BGP routing policies in ISP networks

- Border Gateway Protocol -

Inbound Traffic Engineering for Multihomed ASes Using AS Path Prepending

BGP Link Bandwidth. Finding Feature Information. Prerequisites for BGP Link Bandwidth

Today. Finishing up inter-domain routing. Review of end-to-end forwarding. How we build routers. Economics of peering/settlement

Bandwidth Aggregation, Teaming and Bonding

CS268 Exam Solutions. 1) End-to-End (20 pts)

An Architecture View of Softbank

BGP Routing. Course Description. Students Will Learn. Target Audience. Hands-On

BGP Beacons. Z. Morley Mao, Randy Bush, Timothy G. Griffin, Matthew Roughan ABSTRACT 1. WHAT IS A BGP BEACON? Categories and Subject Descriptors

BGP4 Case Studies/Tutorial

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

Transcription:

CS551 Multi-homing in BGP Bill Cheng http://merlot.usc.edu/cs551-f12 1

Transit vs. Nontransit Services ISP1 ISP3 singly-homed subscriber ISP2 Customer1 Customer3 Customer2 ISPn provides transit service to Customern ISPn provides non-transit service from another ISP for traffic for its customer 2

Multi-homing With multi-homing, a single network has more than one connections to the Internet Improves reliability and performance: can accommodate link failure bandwidth is sum of links to Internet Multiple connections provide load sharing but not load balancing BGP cannot do load balancing 3

Issues With Multi-homing Symmetric routing while conventional wisdom prefers symmetric paths, many are asymmetric Packet re-ordering may trigger TCP s fast retransmit algorithm Other concerns: addressing, DNS, aggregation Note: using BGP in multi-homing situation is not an off-the-shelf use of the protocol 4

Static Routing May Not Work ISP2 ISP3 Interconnect traffic for ISP2-n Customer ISPn traffic for ISP1 ISP1 R2 R1 R3 Static routing may send traffic to ISPs 2-n from customer over one link and traffic to ISP1 over the other link Lacks flexibility (especially when ISP1 grows and shrink) 5

Multi-homing to a Single Provider: Case 1 Easy solution: no BGP, but use IMUX or Multilink PPP Harder solution: use BGP makes assumptions about traffic (same amount of prefixes can be reached from both links) ISP R1 R2 Customer 6

Multi-homing to a Single Provider: Case 2 For ISP-> Customer traffic: use MED in Customer or LOCAL-PREF in ISP For Customer->ISP traffic: break-down prefix and advertise different prefixes over different links with default routes R2 ISP R1 R3 Customer 138.39/16 204.70/16 Good if traffic load to/from prefixes is equal if single prefix in Customer, only 1 link will be used for ISP->Customer traffic 7

Multi-homing to a Single Provider: Case 3 For ISP->Customer traffic, same as before: use MED in Customer or LOCAL-PREF in ISP R1 ISP R2 For Customer->ISP traffic: R3 alternates links (reordering?) Customer learns full BGP routes and load-shares R3 Customer 138.39/16 204.70/16 Good if traffic load to/from prefixes is equal 8

Multi-homing to a Single Provider: Case 4 Most reliable approach no equipment sharing ISP -> Customer: same as case 3 R1 ISP R2 Customer -> ISP: same as case 2 R3 R4 Customer 138.39/16 204.70/16 9

Major issues: addressing aggregation Multi-homing to Multiple Providers ISP3 Customer address space: (what are the advantages and disadvantages of each approach?) delegated by ISP1 delegated by ISP2 delegated by ISP1 and ISP2 obtained independently ISP1 Customer ISP2 10

Case 1: Customer Uses Address Space From One ISP (1 or 2) Customer uses address space from ISP1 ISP1 advertises /16 aggregate Customer advertises /24 route to ISP2 ISP2 relays route to ISP1 and ISP3 ISP2-3 use /24 route ISP1 routes directly Problems with traffic load? (longest prefix becomes a "traffic magnet") Note: this can actually work well if the relative sizes of the providers have a good match 138.39/16 ISP1 ISP3 Customer 138.39.1/24 ISP2 11

Pitfalls ISP1 aggregates to a /19 at border router to reduce internal tables ISP1 still announces /16 ISP1 hears /24 from ISP2 ISP1 routes packets for customer to ISP2! Workaround: ISP1 must inject /24 into I-BGP 138.39.0/19 138.39/16 ISP1 ISP3 ISP2 Customer 138.39.1/24 12

Case 2: Customer Uses Address Space From Both ISPs ISP1 and ISP2 continue to announce aggregates Load sharing depends on traffic to two prefixes Lack of reliability: if ISP1 link goes down, part of customer becomes inaccessible Customer may announce prefixes to both ISPs, but still problems with longest match as in case 1 ISP1 ISP3 ISP2 138.39.1/24 204.70.1/24 Customer 13

Case 3: Customer Uses Its Own Address Space Offers the most control, but at the cost of aggregation Still need to control paths: suppose ISP1 large, ISP2-3 small customer advertises long path to ISP1, but LOCAL-PREF attribute used to override ISP3 learns shorter path from ISP2 ISP1 Bottom line: no good and general solution for multi-homing to multiple providers ISP3 Customer ISP2 14

How Can BGP Express the Following Policies: 2 will not act as transit to 3 1 will use the blue path for packets destined to 4 and the red for packets destined to 5 2 will not accept packets sourced in 1 1 1.1 2 2.1 2.2 1.2 2.2.1 3 4 5 5.2 3.1 3.2 4.1 4.2 5.1 15

2 will not act as transit to 3 (do not tell anyone about 3) 1 will use the blue path for packets destined to 4 and the red for packets destined to 5 (cannot control path, just first hop) 2 will not accept packets sourced in 1 (no way) How Can BGP Express the Following Policies: 1 1.1 2 2.1 2.2 1.2 2.2.1 3 4 5 5.2 3.1 3.2 4.1 4.2 5.1 16

Route Flap Dampening Problem: route flap when a flaky link constantly goes up and down: BGP sessions disappear and reappear routes are withdrawn and re-advertised global effects (does the flap of a butterfly s wing in Brazil set off a tornado in Texas?) BGP was extended to dampen route flaps Associate a penalty with each route increase when route flaps exponentially decay penalty with time When penalty reaches threshold, suppress route must never forget routes 17

Route Flap Dampening (Cont...) 4 [CISCO - Intro to BGP] 3 Suppress-Limit Penalty 2 1 Reuse-Limit 0 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 Time 18

Tricky Issues "Synchronizing" intra and inter-domain routing Multi-homing interaction with aggregation Getting packets to the right exit router without introducing too much flux into intra-domain routing How much policy should we actually be able to support??? 19

BGP Limitations: Policy Ex: fish routing B E A D C F E would like A to send traffic to E via B while F would like A to send traffic to F via C but how? 20

Other BGP-related Issues Convergence Time [Labovitz00a] Router synchronization [Floyd94b] Congestion [Shaikh00a] Policy and convergence [Gao00a, Tangmunarunkit01a] Misconfiguration [Mahajan02a] Other other issues routing arbiter - central DB of policies robustness in the face of router resource exhaustion [Chang, Govindan, Heidemann] 21

Some BGP Stats (as of 30-Jan-2003) BGP routing table entries: 120,000 prefixes after max aggregation: 76,596 AS s in Internet routing table: 14,513 origin-only AS s: 12,615 origin-only AS s with only 1 prefix: 5,690 transit AS s: 1,898 Addresses announced: 1,180,368,745 31.8% of available address space announced 57.9% of the allocated address space announced 55.0% of available address space allocated AS path length mean: 5.3 maximum seen: 17 [ data from Japan (bgp-stats@lists.apnic.net) ] 22