1 BGP Policy Atoms Yehuda Afek Omer Ben-Shalom Anat Bremler-Barr Tel-Aviv University.

Slides:



Advertisements
Similar presentations
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v MPLS VPN Technology Introducing the MPLS VPN Routing Model.
Advertisements

Ver 1,12/09/2012Kode :CIJ 340,Jaringan Komputer Lanjut FASILKOM Routing Protocols and Concepts – Chapter 3 Introduction to Dynamic Routing Protocol CCNA.
Routing Basics.
Advanced Networks 1. Delayed Internet Routing Convergence 2. The Impact of Internet Policy and Topology on Delayed Routing Convergence.
CS Summer 2003 CS672: MPLS Architecture, Applications and Fault-Tolerance.
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.
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.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Introduction to Dynamic Routing Protocol Routing Protocols and Concepts – Chapter.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.1 Routing Working at a Small-to-Medium Business or ISP – Chapter 6.
EIGRP routing protocol Omer ben-shalom Omer Ben-Shalom: Must show how EIGRP is dealing with count to infinity problem Omer Ben-Shalom: Must.
Practical and Configuration issues of BGP and Policy routing Cameron Harvey Simon Fraser University.
1 BGP Security -- Zhen Wu. 2 Schedule Tuesday –BGP Background –" Detection of Invalid Routing Announcement in the Internet" –Open Discussions Thursday.
Slide -1- February, 2006 Interdomain Routing Gordon Wilfong Distinguished Member of Technical Staff Algorithms Research Department Mathematical and Algorithmic.
Computer Networking Lecture 10: Inter-Domain Routing
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 Exterior Gateway Protocols: EGP, BGP-4, CIDR Shivkumar Kalyanaraman Rensselaer Polytechnic Institute.
COS 420 Day 16. Agenda Finish Individualized Project Please Have Grading sheets to me by Tomorrow Group Project Discussion Assignment 3 moved back to.
Routing and Routing Protocols
Routing.
© 2009 Cisco Systems, Inc. All rights reserved. ROUTE v1.0—6-1 Connecting an Enterprise Network to an ISP Network Considering the Advantages of Using BGP.
Lecture Week 3 Introduction to Dynamic Routing Protocol Routing Protocols and Concepts.
Chapter 8 Routing. Introduction Look at: –Routing Basics (8.1) –Address Resolution (8.2) –Routing Protocols (8.3) –Administrative Classification (8.4)
1 Chapter 27 Internetwork Routing (Static and automatic routing; route propagation; BGP, RIP, OSPF; multicast routing)
Dr. John P. Abraham Professor University of Texas Pan American Internet Routing and Routing Protocols.
1 Introducing Routing 1. Dynamic routing - information is learned from other routers, and routing protocols adjust routes automatically. 2. Static routing.
Introduction to Dynamic Routing Protocol
1. 2 Anatomy of an IP Packet IP packets consist of the data from upper layers plus an IP header. The IP header consists of the following:
Lecture 4: BGP Presentations Lab information H/W update.
Jennifer Rexford Fall 2014 (TTh 3:00-4:20 in CS 105) COS 561: Advanced Computer Networks BGP.
Chapter 9. Implementing Scalability Features in Your Internetwork.
Border Gateway Protocol
1 Internet Routing. 2 Terminology Forwarding –Refers to datagram transfer –Performed by host or router –Uses routing table Routing –Refers to propagation.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Routing Protocols and Concepts Introduction to Dynamic Routing Protocol.
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.
TCOM 509 – Internet Protocols (TCP/IP) Lecture 06_a Routing Protocols: RIP, OSPF, BGP Instructor: Dr. Li-Chuan Chen Date: 10/06/2003 Based in part upon.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Introduction to Dynamic Routing Protocol Routing Protocols and Concepts.
IP Routing Principles. Network-Layer Protocol Operations Each router provides network layer (routing) services X Y A B C Application Presentation Session.
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.
INTER-DOMAIN ROUTING AND BORDER GATEWAY PROTOCOL Dr. Rocky K. C. Chang 22 November
CS 640: Introduction to Computer Networks Aditya Akella Lecture 11 - Inter-Domain Routing - BGP (Border Gateway Protocol)
© 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.
Chapter 25 Internet Routing. Static Routing manually configured routes that do not change Used by hosts whose routing table contains one static route.
Text BGP Basics. Document Name CONFIDENTIAL Border Gateway Protocol (BGP) Introduction to BGP BGP Neighbor Establishment Process BGP Message Types BGP.
Border Gateway Protocol BGP-4 BGP environment How BGP works BGP information BGP administration.
Border Gateway Protocol. Intra-AS v.s. Inter-AS Intra-AS Inter-AS.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.1 Routing Working at a Small-to-Medium Business or ISP – Chapter 6.
Routing and Routing Protocols CCNA 2 v3 – Module 6.
Dynamic routing Routing Algorithm (Dijkstra / Bellman-Ford) – idealization All routers are identical Network is flat. Not true in Practice Hierarchical.
Lec4: Introduction to Dynamic Routing Protocol
Introduction to Dynamic Routing Protocol
Working at a Small-to-Medium Business or ISP – Chapter 6
Border Gateway Protocol
COMP 3270 Computer Networks
COS 561: Advanced Computer Networks
BGP supplement Abhigyan Sharma.
Introduction to Internet Routing
Dynamic routing Routing Algorithm (Dijkstra / Bellman-Ford) – idealization All routers are identical Network is flat. Not true in Practice Hierarchical.
Introduction to Dynamic Routing Protocol
Routing.
Module Summary BGP is a path-vector routing protocol that allows routing policy decisions at the AS level to be enforced. BGP is a policy-based routing.
Introduction to Dynamic Routing Protocol
Dynamic Routing Protocols
Routers Routing algorithms
Scaling Service Provider Networks
Dynamic Routing Protocols
Working at a Small-to-Medium Business or ISP – Chapter 6
Computer Networks Protocols
Routing.
Dynamic routing Routing Algorithm (Dijkstra / Bellman-Ford) – idealization All routers are identical Network is flat. Not true in Practice Hierarchical.
Presentation transcript:

1 BGP Policy Atoms Yehuda Afek Omer Ben-Shalom Anat Bremler-Barr Tel-Aviv University

2 Outline Atom definition Atom calculation methods Atom stability Correlation to BGP update Atom creation points Using Atoms

3 BGP ‘reminder’ The internet is a group of Autonomous systems (ASs) BGP is the routing protocol between AS Distance vector by AS hop count Same for any prefix destination AS path built dynamically Per prefix attributes to affect policy

4 multiple AS path to prefixes in the same AS BGP tables may contain different BGP AS paths to different prefixes on the same destination AS PrefixAS path / / /

5 Why different AS path ? AS path same for all prefix by default Human intervention (Policy) By changing attributes per prefix By selectively blocking updates Finding out where policy was set is not easy !

PrefixAS pathPreference / / AS 56 AS 2 AS 1 AS 34 Network /21 Network / filter here ? Ingress ? Egress ? filter here ? Ingress ? Egress ? AS 34 BGP table:

7 Atom definition - local Atom definition by Andre Broido and kc claffy a group of prefixes sharing the same BGP AS path attributes globally For single router – groups of prefixes with same AS path in the BGP table

View of a single router in AS 9 – two atoms

View of a single router in AS 8 – two atoms

10 Atom definition - global An Atom is defined globally if ANY backbone router agrees all ‘global’ atom member prefixes belong in it’s same ‘local’ atom An Atom is likely the result of policy, fault should not make a distinction.

Joint view of AS Three atoms

12 Scale comparison Atoms are much closer to AS in scope !!! EntityCount Announced Prefixes > 110K (now ~115K) Atoms> 20K AS> 12K (now ~14K)

13 AS, Atom and Prefix size

14 Practical Atom definition Defined in theory by all BGP tables Can be calculated well by sample (8) of BGP views taken in a ‘snapshot’ Analog to viewing a very complex ‘3D’ graph from 8 spatial locations Beware of ‘same angle’

15 Practical Atom calculation Get ‘snapshot’ of many BGP tables Create an ‘AS PATH’ set for each prefix Each distinct set defines an atom

16 Alternate Calculation Is the snapshot method valid ? Uses distributed snapshot No guarantee of synchronization Filter out prefixes not assured converged Search for stable prefix cliques during 4 hours -> Atoms Results close to ‘snapshot’ method (2-3%)

17 Atom Stability Atoms calculated stable to 3% of prefixes in 8 hour period Much more stable then the prefix AS path attribute. Still Less stable then expected Policy set Manually or by script but by design

18 BGP updates BGP groups prefixes in same update if they share same attributes TIME: 09/01/01 12:23:27 TYPE: BGP4MP/MESSAGE/Update FROM: AS3549 TO: AS12654 ORIGIN: IGP ASPATH: NEXT HOP: COMMUNITY : 3549: :9840 ANNOUNCE = =24

19 Correlating Atoms to updates Fault should affect full atoms and be in one update All attributes are the same 75% of updates include single, full atom 86% contain prefixes from one atom only Full AS prefix set appears in just 20% of updates

20 Atom split locations Where do atoms get created ? Policy normally enforced in source AS or neighbor How can we calculate the ‘split’ location ?

22 Atom split example AtomPrefixesAS path set # / / / / /24 R1: 12 R2: 12 R3: 12 All prefixes belong to AS 12 (len 1)

23 Atom split example AtomPrefixesAS path set # / /24 R1: 3 12 R2: 4 12 R # / / /24 R1: 3 12 R2: 4 12 R New atom due to different path at R3 (len 2)

24 Atom split example AtomPrefixesAS path set # / /24 R1: R2: R # /24R1: R2: R # / /24 R1: R2: R New atom by different path at R1 (len 3)

25 Atom split example AtomPrefixesAS path set # / /24 R1: R2: R3: # /24R1: R2: R3: # / /24 R2: R1: R3: Longer paths will not provide extra resolution

27 Atom Split location 85% of atoms are created between origin AS and neighbor AS Consistent with Atoms resulting from policy.

28 Application of Atoms 1. Differentiate Fault from Policy 2. Tweak update hold timers: Panelize partial Atom updates Reward full updates 3. Reduce scope of tags used in MPLS Set on a per prefix basis Could be reduced by as much as 1:5

29 Application of Atoms 4.Reduce load of active measurements Use Atoms sampling and not prefix sampling Results are not very favorable 5.Compress BGP updates Gain limited to 66% of prefix section 6.Shows limit on route table reduction while keeping information Renumbering to CIDR by atoms gain 50% only

30 Administration and distribution of Atom structure 1.Central body (CAIDA ?) ‘Perfect’ results How to distribute ? 2.Origin AS tag by extended community Knowledge propagation within BGP How to automate and not introduce more administration overhead 3.Use ‘local’ versions of Atoms No distribution Reduces potential benefits