1 BGP Convergence Measurement Issues Susan Hares, NextHop Padma Krishnaswamy, NextHop Marianne Lepp, Juniper Networks Alvaro Retana, Cisco Howard Berkowitz,

Slides:



Advertisements
Similar presentations
Basic BGP Data Plane Convergence Benchmarking -Rajiv Papneja - Mohan Nanduri -Bhavani Parise - Eric Brendel -Susan Hares - Jay Karthik.
Advertisements

Basic BGP Data Plane Convergence Benchmarking draft-papneja-bgp-basic-dp-convergence-01 Rajiv Papneja, Susan Hares, Bhavani Parise, Mohan Nanduri, Jay.
MPLS VPN.
Dynamic Routing Overview 1.
1 Copyright  1999, Cisco Systems, Inc. Module10.ppt10/7/1999 8:27 AM BGP — Border Gateway Protocol Routing Protocol used between AS’s Currently Version.
Part IV: BGP Routing Instability. March 8, BGP routing updates  Route updates at prefix level  No activity in “steady state”  Routing messages.
CS Summer 2003 CS672: MPLS Architecture, Applications and Fault-Tolerance.
Border Gateway Protocol Ankit Agarwal Dashang Trivedi Kirti Tiwari.
CS540/TE630 Computer Network Architecture Spring 2009 Tu/Th 10:30am-Noon Sue Moon.
© J. Liebeherr, All rights reserved 1 Border Gateway Protocol This lecture is largely based on a BGP tutorial by T. Griffin from AT&T Research.
BGP. 2 Copyright © 2009 Juniper Networks, Inc. BGP Overview Is an inter-domain routing protocol that communicates prefix reachablility.
Fundamentals of Computer Networks ECE 478/578 Lecture #18: Policy-Based Routing Instructor: Loukas Lazos Dept of Electrical and Computer Engineering University.
Dynamic Routing Scalable Infrastructure Workshop, AfNOG2008.
1 Interdomain Routing Protocols. 2 Autonomous Systems An autonomous system (AS) is a region of the Internet that is administered by a single entity and.
IPv4 and IPv6 Mobility Support Using MPLS and MP-BGP draft-berzin-malis-mpls-mobility-00 Oleg Berzin, Andy Malis {oleg.berzin,
1 Network Architecture and Design Routing: Exterior Gateway Protocols and Autonomous Systems Border Gateway Protocol (BGP) Reference D. E. Comer, Internetworking.
Practical and Configuration issues of BGP and Policy routing Cameron Harvey Simon Fraser University.
CS 164: Global Internet Slide Set In this set... More about subnets Classless Inter Domain Routing (CIDR) Border Gateway Protocol (BGP) Areas with.
1 ELEN 602 Lecture 20 More on Routing RIP, OSPF, BGP.
The Border Gateway Protocol (BGP) Sharad Jaiswal.
More on BGP Check out the links on politics: ICANN and net neutrality To read for next time Path selection big example Scaling of BGP.
CSEE W4140 Networking Laboratory Lecture 5: IP Routing (OSPF and BGP) Jong Yul Kim
Feb 12, 2008CS573: Network Protocols and Standards1 Border Gateway Protocol (BGP) Network Protocols and Standards Winter
MPLS L3 and L2 VPNs Virtual Private Network –Connect sites of a customer over a public infrastructure Requires: –Isolation of traffic Terminology –PE,
Announcements List Lab is still under construction Next session we will have paper discussion, assign papers,
Performance-based BGP Routing Mechanism draft-xu-idr-performance-routing-00 Xiaohu Xu (Huawei) Hui Ni (Huawei) Mohamed Boucadair (France.
Better by a HAIR: Hardware-Amenable Internet Routing Brent Mochizuki University of Illinois at Urbana-Champaign Joint work with: Firat Kiyak (Illinois)
Computer Networks Layering and Routing Dina Katabi
Inter-domain Routing: Today and Tomorrow Dr. Jia Wang AT&T Labs Research Florham Park, NJ 07932, USA
I-4 routing scalability Taekyoung Kwon Some slides are from Geoff Huston, Michalis Faloutsos, Paul Barford, Jim Kurose, Paul Francis, and Jennifer Rexford.
Routing Protocols RIP, OSPF, BGP. A Routing Protocol’s Job Is to Find a “Best” Path between Any Pair of Nodes Routers in a network exchange their routing.
© 2009 Cisco Systems, Inc. All rights reserved. ROUTE v1.0—6-1 Connecting an Enterprise Network to an ISP Network BGP Attributes and Path Selection Process.
Routing and Routing Protocols Routing Protocols Overview.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 2 Module 6 Routing and Routing Protocols.
© Janice Regan, CMPT 128, CMPT 371 Data Communications and Networking BGP, Flooding, Multicast routing.
CS 3700 Networks and Distributed Systems Inter Domain Routing (It’s all about the Money) Revised 8/20/15.
Interior Gateway Protocol. Introduction An IGP (Interior Gateway Protocol) is a protocol for exchanging routing information between gateways (hosts with.
Lecture 4: BGP Presentations Lab information H/W update.
Chapter 9. Implementing Scalability Features in Your Internetwork.
Border Gateway Protocol
Measuring IP Network Routing Convergence A new approach to the problem 59.
Xuan Zheng (modified by M. Veeraraghavan) 1 BGP overview BGP operations BGP messages BGP decision algorithm BGP states.
© 2001, Cisco Systems, Inc. A_BGP_Confed BGP Confederations.
BGP4 - Border Gateway Protocol. Autonomous Systems Routers under a single administrative control are grouped into autonomous systems Identified by a 16.
Border Gateway Protocol (BGP) W.lilakiatsakun. BGP Basics (1) BGP is the protocol which is used to make core routing decisions on the Internet It involves.
IGP Data Plane Convergence draft-ietf-bmwg-dataplane-conv-meth-14.txt draft-ietf-bmwg-dataplane-conv-term-14.txt draft-ietf-bmwg-dataplane-conv-app-14.txt.
More on Internet Routing A large portion of this lecture material comes from BGP tutorial given by Philip Smith from Cisco (ftp://ftp- eng.cisco.com/pfs/seminars/APRICOT2004.
VIRTUAL SWITCH/ROUTER BENCHMARKING Muhammad Durrani Ramki Krishnan Brocade Communications Sarah Banks Akamai 1 © 2013 Brocade Communications Systems, Inc.
1MPLS QOS 10/00 © 2000, Cisco Systems, Inc. rfc2547bis VPN Alvaro Retana Alvaro Retana
An internet is a combination of networks connected by routers. When a datagram goes from a source to a destination, it will probably pass through many.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—6-1 Scaling Service Provider Networks Scaling IGP and BGP in Service Provider Networks.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—1-1 BGP Overview Understanding BGP Path Attributes.
7/11/0666th IETF1 QoS Enhancements to BGP in Support of Multiple Classes of Service Andreas Terzis Computer Science Department Johns Hopkins University.
Text BGP Basics. Document Name CONFIDENTIAL Border Gateway Protocol (BGP) Introduction to BGP BGP Neighbor Establishment Process BGP Message Types BGP.
28 July BGP Data-Plane Benchmarking Applicable to Modern Routers Ilya Varlashkin Rajiv Papneja Bhavani Parise presented by Grégory CAUCHIE.
1 Investigating occurrence of duplicate updates in BGP announcements Jong Han Park 1, Dan Jen 1, Mohit Lad 2, Shane Amante 3, Danny McPherson 4, Lixia.
23Mar BGP Data-Plane Benchmarking Applicable to Modern Routers Rajiv Papneja Ilya Varlashkin Bhavani Parise Dean Lee Sue Hares.
1 IGP Data Plane Convergence Benchmarking draft-ietf-bmwg-igp-dataplane-conv-app-00.txt draft-ietf-bmwg-igp-dataplane-conv-term-00.txt draft -ietf-bmwg-igp-dataplane-conv-meth-00.txt.
ROUTING ON THE INTERNET COSC Jun-16. Routing Protocols  routers receive and forward packets  make decisions based on knowledge of topology.
Boarder Gateway Protocol (BGP)
BGP 1. BGP Overview 2. Multihoming 3. Configuring BGP.
Border Gateway Protocol
BGP Routing Policies.
BGP supplement Abhigyan Sharma.
Interdomain Traffic Engineering with BGP
EVPN Interworking with IPVPN
COS 561: Advanced Computer Networks
Dynamic Routing and OSPF
COS 561: Advanced Computer Networks
Computer Networks Protocols
Presentation transcript:

1 BGP Convergence Measurement Issues Susan Hares, NextHop Padma Krishnaswamy, NextHop Marianne Lepp, Juniper Networks Alvaro Retana, Cisco Howard Berkowitz, Gett Communications Elwyn Davies, Nortel Networks

2 AS Convergence? Tester Internet-wide AS FlappingAS He's Dead, Jim

3 Single AS Convergence: Within an AS R R R Tester AS-wide iBGP

4 Convergence: Within a Box Single Box Tester Routing/Control Forwarding

5 Convergence for BMWG Box wide —eBGP initially —Control Plane initially —Black box —Specify begin and end of convergence measurement —Specify measurement point

6 Send a packet stream from TR – 3 Measurements Convergence 1: 1 st packet sent from Test Generator to 1 st packet received by Test Collector —Transmission in and out plus process time of 1 st packet Convergence 2: Last Packet sent from Test Generator to last packet received by Test Collector —Transmission in, queuing, processing of preceding updates, tail end processing, transmission out of last packet Convergence 3: 1 st packet sent from Test Generator to last packet received by Test Collector —Transmission in and out (relative to DUT), plus back-up in BGP update and processing of entire stream

7 Measurement 1-3: Factors Packing matters —Influences number of packets in the train —Attribute packing –Classification speed –Packetization triggers IBGP synchronization turned off Turn off Minimum Route Advertisement Interval Timers Smoothing in BGP to avoid self-synchronization in the Network

8 BGP Convergence Depends On … Route mixtures Packet packing Timers TCP implementations Peers types, number of peers, and connectivity BGP-specific functionality —Eg. Confederations, use of route reflectors, etc. Topology Vantage point within the network Policy

9 Benchmarking Convergence Approach Must be repeatable Must be consistent Must be specifiable Must take into account —Route mixture (data) —Peers types and connectivity —BGP-specific functionality —Topology

10 Goals Provide a baseline of expected performance in today’s network. Test different vendor implementations fairly Design tests that can be replicated Good results require good data —The amount, type and composition of the information advertised to the DUT has an impact on the convergence.

11 Route Mixtures

12 Modeling Route Mixtures: Why not just use a feed? The route mixture is highly dependent on the vantage point – Tier 1 ISP, Enterprise, Access, etc. Problems with Looking Glass —Vantage point Need to test tables larger than current live tables Needs to be repeatable, consistent, and specifiable

13 Route Mixture Factors that describe the BGP Table: composition and timing —Prefix distribution –Node distribution and levels on tree —AS mixtures and path lengths —Attribute distribution (nexthop, communities,MED, localpref) —Packet packing —Update sequencing (timing) –Packet trains

14 Prefix Distribution Example: A table of all /32s is not representative of the real world Prefixes are distributed across dozens of prefix lengths —For IPv4, the distribution is spread out through the Class A, B, and C address spaces. —For IPv6, there is no data Need to describe prefix distribution per prefix length —Better characterization for IPv4 if Class also taken into account Analyze current Internet table to determine prefix distribution characteristics

15 Prefix Distribution Example percentages of prefix distribution: Mask Overall Class A Class B Class C Total prefix length distribution. IPv4 sample distribution across classes.

16 IP v6 Prefix Distribution Example percentages of prefix distribution: Mask Overall 3FEE 2001 other Total prefix length distribution. IPv6 sample distribution across currently routed Addres space

17 Node Distribution Is tree dependent Width and depth of table are important Route mixtures should exercise various choices of trees —A route mixture that minimizes the number of nodes is not accurate —A route mixture that maximizes the spread of prefixes creates is not accurate

18 Node Distribution Levels Nodes

19 IP v6 Node Distribution ROOT 3FEE:: 2001::012001: : :: 3FEE:0101 3FEE:0100 3FEE:2000:: Levels Nodes 3FEE:0101:01 3FEE: :0201: :0201:02

20 Node Distribution For example, the following tables both contain three Class A /32 prefixes —Table A /32, /32, /32 —Table B /32, /32, /32 —Their distribution in a tree will be different. –Table A represents a narrow distribution, while Table B represents a wide distribution ROOT Table A ROOT Table B

21 Node Distribution Summary The width of the table must be measured per prefix distribution and length Need to determine how many nodes each address/prefix length combination use in a real table Solution: Analyze current Internet table to determine node distribution characteristics

22 Route Components

23 BGP Attribute Distribution A BGP table contains many “attribute combinations” Analysis shows: —11.75% of the routes have a unique AS_PATH —2.5% of the routes have some other unique attribute. —0.25% of the table have both a unique AS_PATH and some other unique attribute

24 BGP Attribute Distribution Prefixes that share an attribute are not necessarily grouped together Analysis shows an average of two consecutive NLRI share the same attribute combination — /8AS_PATH — /8AS_PATH — /8AS_PATH — /8AS_PATH — /8 AS_PATH — /8 AS_PATH

25 Planes (control), Trains, and no Automobiles

26 Packet Packing Each packet has attributes and NLRIs Attribute packing is the ability to detect and pack NRLIs with the same attributes into a packet NLRI packing is: — the number of NLRIs per packet —MPBGP not considered for 1 st draft –IPv6 packing is not different than IPv4 –Multicast packing (IP v4 and IP v6) may impact packing Specifics are affected by implementation

27 Update Sequencing (Timing) Parameters are: —Number of packets in a train —Interval between packets in a train —TCP parameters, traffic and implementations affect this Packet 1Packet 2Packet 3Packet 4 Packet train

28 Timers Key timers —Min-Route Advertisement Interval, Min AS Originations Interval -- best setting still in debate —Route Flap damping mechanisms –Implementations vary –Shorter prefixes get less damping –RIPE 229 suggest parameters –1 st Bgp Conv draft mandates route flap damping off —TCP settings Operators need to give feedback

29 Peers, not Beers

30 Peer type matters EBGP vs IBGP EBGP —3 rd party versus 1 st party nexthop —promiscuous versus specific peering IBGP - Route Reflection client and Confederations affect convergence patterns —See ietf-idr-route-oscillations-01.txt Still single box but these affect work done by box

31 Multiple Peers in test Environment Peers can have staggered starts —Most realistic Peers can all send simultaneously —Most load on the router Peers can have staggered starts in groups

32 Sample topology with 4 Peers TG1 DUT TC tcpdump TG2 TG3 TG4 tcpdump

33 Peer Specifics Type of Peer —Promiscuous/Specific Sequence —Connection establishment —Sending 1 st data —Spacing of updates —Connection up/down

34 Timing & Synchronization Consistency among timestamps taken by different devices is a requirement Should be at least 1 order of magnitude better than measured quantity —For BGP convergence, we are time-stamping packets NTP? GPS? Other? Synchronization between measurements can a significant factor

35 Some Boxes work Harder than Others

36 BGP Protocol functions will impact convergence Route Reflections, Confederations Add/delete communities RFC 2547, Label switching Multi-protocol Route flap damping Min Route Advertisement

37 Parameters we suggest for Protocol Functions for 1 st Document No Route Reflectors (no IBGP this version) No confederations No Add/Delete communities No 2547 VPNS or multicast Route flap damping OFF Min Route Advertisement Interval specified Min AS Origination Interval specified

38 Topology

39 Topology matters Exchange point topology N star topologies meshed for Route Reflection Confederations with particular topologies IBGP/EBGP mesh overlay Building blocks —single link, line, mesh, partial mesh, star, wheel

40 Single link: 1 st Document …… DUT TRes TR1 TR2 TRn n >= 1 line

41 Line DUT TRes TR1 Longer line

42 Mesh DUT TResTR1 DUT TRes mesh

43 Partial Mesh DUT TResTR1 DUT TRes

44 References IETF51 BMWG talk: NextHop IETF51 talk: 5/index.html 5/index.html Howard’s IETF51 talk: 6/index.html 6/index.html Recommendations for flap damping, Ripe 229: BGP Convergence Terminology ID: conterm-00.txt conterm-00.txt BGP Convergence Methodology: drafts/draft-ietf-bmwg-bgpbas-00.txthttp:// drafts/draft-ietf-bmwg-bgpbas-00.txt

45 Thank You Questions?

46 Route Mixtures Matter! The amount, type and composition of the information advertised to the DUT has an impact on the convergence. Goal is to provide a baseline of expected performance in today’s network. Test different vendor implementations fairly Design tests that can be replicated Good results require good data