Doing Don ts: Modifying BGP Attributes within an Autonomous System



Similar documents
Border Gateway Protocol (BGP)

Exterior Gateway Protocols (BGP)

Roma Tre University. Advisor: Prof. G. Di Battista. PhD Candidate: Luca Cittadini

BGP Best Path Selection Algorithm

APNIC elearning: BGP Attributes

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

Border Gateway Protocol BGP4 (2)

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

CS551 External v.s. Internal BGP

Internet inter-as routing: BGP

Understanding Route Aggregation in BGP

Using the Border Gateway Protocol for Interdomain Routing

APNIC elearning: BGP Basics. Contact: erou03_v1.0

Quantifying the BGP routes diversity inside a tier-1 network

DD2491 p Load balancing BGP. Johan Nicklasson KTHNOC/NADA

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

Internet Routing Protocols Lecture 04 BGP Continued

BGP overview BGP operations BGP messages BGP decision algorithm BGP states

Interdomain Routing. Outline

BGP Attributes and Path Selection

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

Simple Multihoming. ISP/IXP Workshops

Module 12 Multihoming to the Same ISP

How To Understand Bg

BGP Route Analysis and Management Systems

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

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

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

Can Forwarding Loops Appear when Activating ibgp Multipath Load Sharing?

The Case for Source Address Routing in Multihoming Sites

Uli Bornhauser - Peter Martini - Martin Horneffer Scalability of ibgp Path Diversity Concepts

Routing Protocol - BGP

Embedded BGP Routing Monitoring. Th. Lévy O. Marcé

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

basic BGP in Huawei CLI

Internet inter-as routing: BGP

Advanced BGP Policy. Advanced Topics

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

Understanding and Detecting BGP Instabilities

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

BGP Router Startup Message Flow

Understanding Large Internet Service Provider Backbone Networks

Multihomed BGP Configurations

Lecture 18: Border Gateway Protocol"

BGP1 Multihoming and Traffic Engineering

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

Increasing Path Diversity using Route Reflector

Fireware How To Dynamic Routing

E : Internet Routing

A Systematic Approach to BGP Configuration Checking

Introduction to Routing

Inter-domain Routing. Outline. Border Gateway Protocol

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

BGP Link Bandwidth. Finding Feature Information. Contents

HP Networking BGP and MPLS technology training

Inter-domain Routing

6.263 Data Communication Networks

BGP as an IGP for Carrier/Enterprise Networks

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

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

A Case Study Design of Border Gateway Routing Protocol Using Simulation Technologies

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

ASSEMBLER A BGP-COMPATIBLE MULTIPATH INTER-DOMAIN ROUTING PROTOCOL

Customized BGP Route Selection Using BGP/MPLS VPNs

Application Note. Failover through BGP route health injection

BGP Multihoming Techniques

Load balancing and traffic control in BGP

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

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

Border Gateway Protocol Best Practices

BGP: Border Gateway Protocol

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

An Overview of Solutions to Avoid Persistent BGP Divergence

Border Gateway Protocol (BGP-4)

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

BGP Multihoming Techniques

Understanding Virtual Router and Virtual Systems

MPLS VPN Route Target Rewrite

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

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

BGP4 Case Studies/Tutorial

Network Level Multihoming and BGP Challenges

Edge-1#show ip route Routing entry for /24. Known via "bgp 65001", distance 200, metric 0. Tag 65300, type internal

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

Chapter 1 INTRODUCTION

Configuring and Testing Border Gateway Protocol (BGP) on Basis of Cisco Hardware and Linux Gentoo with Quagga Package (Zebra)

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

Understanding Route Redistribution & Filtering

Configuring BGP. Cisco s BGP Implementation

How NOC manages and controls inter-domain traffic? 5 th tf-noc meeting, Dubrovnik nino.ciurleo@garr.it

Load balancing and traffic control in BGP

The ISP Column. An Introduction to BGP the Protocol

Gateway of last resort is to network

BGP Multipath Load Sharing for Both ebgp and ibgp in an MPLS-VPN

Transcription:

Doing Don ts: Modifying BGP Attributes within an Autonomous System Luca Cittadini, Stefano Vissicchio, Giuseppe Di Battista Università degli Studi RomaTre IEEE/IFIP Network Operations and Management Symposium (NOMS) - April 2010

The Point of View of an AS ebgp peerings to exchange information on interdomain routing ibgp peerings to distribute ebgp routes within an AS BR1 AS X BR2 Route Reflector hierarchy, to scale ibgp RR1 RR2

About The Role of ibgp ibgp just propagates ebgp routes across the AS Typically, no policy is applied in ibgp Policies are applied only at the border Best practices do not recommend applying policies in ibgp Research community often assumes that ibgp messages are left untouched ([Griffin02],[Flavel08])

Our Contributions: Doing Don ts Consequences of changing ibgp messages are poorly understood We investigate pros and cons why an ISP should (not) modify ibgp messages? who currently change ibgp attributes in the real world? what are the consequences on ibgp stability? technique and tool for detecting instabilities how can an ISP change ibgp attributes without affecting ibgp stability? configuration guidelines

Why Should an AS Change ibgp attributes? attributes influence the BGP decision process Step Criterion 1 Prefer routes with higher LOCAL-PREFERENCE 2 Prefer routes with lower AS-PATH length 3 Prefer routes with lower ORIGIN An ISP can change ibgp attributes as an additional knob to better engineer its traffic recent Cisco IOS releases allow operators to partially modify the decision process

Simple Scenario ebgp announcement AS-PATH ABCD US EU ebgp announcement AS-PATH YZD PAIX AMS-IX BR1 AS X BR2 RR1 RR2

Simple Scenario ebgp announcement AS-PATH ABCD US EU ebgp announcement AS-PATH YZD ibgp attributes are not changed by any router BR1 PAIX AS X AMS-IX BR2 all the traffic to AS D exits from BR2 RR1 traffic flow RR2

Simple Scenario ebgp announcement AS-PATH ABCD US EU ebgp announcement AS-PATH YZD PAIX AMS-IX if msg from BR1: set local-pref 120 BR1 AS X BR2 if msg from BR2: set local-pref 120 traffic flow traffic flow RR1 RR2

Who engineers ibgp in real world? route-server.phx1>sh ip bgp 189.90.12.0/24 Paths: (4 available, best #1) 13878 15180 28189 28189 28189 28189, (received & used) 67.17.64.89 from 67.17.80.210 (67.17.80.210) Origin IGP, metric 0, localpref 300, valid, internal, best Community: 3549:4471 3549:30840 Originator: 67.17.81.221, Cluster list: 0.0.0.92 routes with different AS-PATH length 28189 28189 28189 28189 28189 28189 28189, (received & used) 67.17.64.89 from 67.17.82.40 (67.17.82.40) Origin IGP, metric 0, localpref 300, valid, internal Community: 3549:4950 3549:34076 Originator: 200.186.0.67, Cluster list: 0.0.2.109, 0.0.5.2 internal router

ibgp Attribute Changing in Internet We estimated the number of ASes which exhibit simultaneously active routes having different AS-PATH length conservative approach dataset: RIBs from RIS and Routeviews (May 2009) We found that 1,838 ASes out of 32,066 (5.7%) change ibgp attributes

What Impact on Routing Stability? We use a custom extension of the Stable Path Problem (SPP) framework as the model an undirected graph represents (i)bgp peerings 130 10 1 2 210 20 ebgp paths are collapsed in single edges 30 3 0 0 4 420 430 each node ranks permitted paths to reach the destination prefix

More Flexibility = More Instability Theo: BGP configurations that allow ibgp attribute changing can generate a larger set of oscillations than BGP configurations where ibgp attributes are not modified. if msg from b2: set local-pref 120 AS A if msg from b1: set local-pref 120 b1 b2 0 b1 0 b1 b2 b2 b1 0 b2 0 b1 b2 0 0

Detecting Oscillations We propose a technique to automatically check ibgp configuration for routing stability Known detection techniques assume that ibgp attributes are left unchanged [Flavel08] Conveniently translating an ibgp configuration into an SPP instance allows us to check for stability even when ibgp attributes are changed The SPP instance is then checked with a known polynomial heuristic algorithm [Cittadini08]

A Stability Checker Tool We built and evaluated a prototype tool able to check ibgp configurations for stability

Evaluation of the Tool We evaluated the stability checker on both synthetic and real-world configurations in-vitro configurations with up to 1100 ibgp speaking routers three route reflection levels 20 ebgp routes injected real-world configuration of a medium-sized Italian ISP for all the prefixes in the full RIB the entire test takes only few minutes

Performance of the Tool

How Can We Prevent Oscillations? The more flexibility comes at the cost of increased instability Is it possible to profitably change ibgp attributes without affecting routing stability and requiring low additional management complexity? We provide some configuration guidelines two main high-level requirements routers should be ranked according to revenues and costs [GaoRexford00] internal transit cost should be minimized

Configuration Guidelines Guideline A. Every ibgp speaker assigns to each route a local-preference value such that LP cust > LP peer > LP prov Guideline B. Route reflectors prefer the routes propagated from their own clients LP cust-client > LP cust-non-client > LP peer-client > LP peer-non-client.. We also formally proved that these guidelines guarantee routing stability

Conclusions We explored the possibility of changing attributes in ibgp, evaluating pros Pro Pro Pro Aspect Better traffic engineering Complete control of traffic flow Added flexibility Contributions We showed a simple scenario in which an ISP is allowed to easily perform fine-grained TE We showed that ibgp attribute changing can prevent traffic shift and modification of load balancing We showed that some real-world ASes already change ibgp attributes

Conclusions We explored the possibility of changing attributes in ibgp, evaluating pros and cons Con Con Aspect Stability Problem is exacerbated Management complexity Contributions We defined configuration guidelines which ensure stability We proposed a technique for detecting routing instabilities We realized a prototype tool able to efficiently detect instabilities Our guidelines do not add significant configuration complexity