© 2001, Cisco Systems, Inc. A_BGP_Confed BGP Confederations.

Slides:



Advertisements
Similar presentations
BGP Overview Processing BGP Routes.
Advertisements

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.
BGP.
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.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—2-1 BGP Transit Autonomous Systems Monitoring and Troubleshooting IBGP in a Transit AS.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—1-1 Module Summary BGP has reliable transport provided by TCP, a rich set of metrics called BGP.
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.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—6-1 Scaling Service Provider Networks Configuring and Monitoring Route Reflectors.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—6-1 Scaling Service Provider Networks Introducing Route Reflectors.
1 Network Architecture and Design Routing: Exterior Gateway Protocols and Autonomous Systems Border Gateway Protocol (BGP) Reference D. E. Comer, Internetworking.
1 ELEN 602 Lecture 20 More on Routing RIP, OSPF, BGP.
CS Summer 2003 Lecture 4. CS Summer 2003 Route Aggregation The process of representing a group of prefixes with a single prefix is known as.
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.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicBSCI Module 6 1 Configuring Basic BGP BSCI Module 6.
© 2009 Cisco Systems, Inc. All rights reserved.ROUTE v1.0—6-1 Connecting an Enterprise Network to an ISP Network Configuring and Verifying Basic BGP Operations.
© 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.
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v2.2—5#-1 MPLS VPN Implementation Configuring OSPF as the Routing Protocol Between PE and CE Routers.
BGP Attributes and Path Selections
Introduction to BGP 1. Border Gateway Protocol A Routing Protocol used to exchange routing information between different networks – Exterior gateway protocol.
© 2001, Cisco Systems, Inc. Multiprotocol BGP. © 2001, Cisco Systems, Inc. Multiprotocol BGP-2 Objectives Upon completion of this chapter, you will be.
Explaining BGP Concepts and Terminology
BGP Overview Sumanta Das Gajendra Mahapatra. Content 1.Introduction 2.Session Establishment 3.Route processing 4.Basic Configuration 5.BGP Police.
© 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.
BGP Border Gateway Protocol By Amir and David. What Is BGP ? Exterior gateway protocols are designed to route between autonomous systems. AS’s : A set.
Chapter 9. Implementing Scalability Features in Your Internetwork.
© Synergon Informatika Rt., 1999 Chapter 12 Connecting Enterprises to an Internet Service Provider.
Border Gateway Protocol
BGP V1.1. When is BGP Applicable Basic BGP Peer Configuration Troubleshooting BGP Connections BGP Operation and Path Attributes Route Import/Export Selected.
BGP routing table entry for /16, version Paths: (4 available, best #1) Advertised to peer-groups: AS4544-AGG-CUSTOMER-FULL
Xuan Zheng (modified by M. Veeraraghavan) 1 BGP overview BGP operations BGP messages BGP decision algorithm BGP states.
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.
© 2001, Cisco Systems, Inc. 1-1 Introduction Configuring BGP on Cisco Routers.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicBSCI Module 6 1 Configuring Basic BGP BSCI Module 6.
Route Filtering and Route Selection in BGP
© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—6-1 Scaling Service Provider Networks Scaling IGP and BGP in Service Provider Networks.
Route Selection Using Policy Controls
© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—5-1 Customer-to-Provider Connectivity with BGP Connecting a Multihomed Customer to a Single Service.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—7-1 Optimizing BGP Scalability Using BGP Route Dampening.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—3-1 Route Selection Using Policy Controls Applying Route-Maps as BGP Filters.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—2-1 BGP Transit Autonomous Systems Forwarding Packets in a Transit AS.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—1-1 BGP Overview Understanding BGP Path Attributes.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—7-1 Optimizing BGP Scalability Improving BGP Convergence.
1 Border Gateway Protocol (BGP) and BGP Security Jeff Gribschaw Sai Thwin ECE 4112 Final Project April 28, 2005.
© 2009 Cisco Systems, Inc. All rights reserved. ROUTE v1.0—6-1 Connecting an Enterprise Network to an ISP Network Lab 6-2 Debrief.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—1-1 BGP Overview Monitoring and Troubleshooting BGP.
BGP Transit Autonomous System
BGP Basics BGP uses TCP (port 179) BGP Established unicast-based connection to each of its BGP- speaking peers. BGP allowing the TCP layer to handle such.
Route Selection Using Attributes
Text BGP Basics. Document Name CONFIDENTIAL Border Gateway Protocol (BGP) Introduction to BGP BGP Neighbor Establishment Process BGP Message Types BGP.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—6-1 Scaling Service Provider Networks Introducing Confederations.
Connecting an Enterprise Network to an ISP Network
Boarder Gateway Protocol (BGP)
Scaling Service Provider Networks
BGP 1. BGP Overview 2. Multihoming 3. Configuring BGP.
Border Gateway Protocol
BGP (cont) 1. BGP Peering 2. BGP Attributes
© 2002, Cisco Systems, Inc. All rights reserved.
Explaining BGP Concepts and Terminology
BGP supplement Abhigyan Sharma.
Lixin Gao ECE Dept. UMASS, Amherst
Cours BGP-MPLS-IPV6-QOS
Working Principle of BGP
Scaling Service Provider Networks
Computer Networks Protocols
BGP Route Reflectors and Confederation
Presentation transcript:

© 2001, Cisco Systems, Inc. A_BGP_Confed BGP Confederations

© 2001, Cisco Systems, Inc. BGP Confederations-2 Objectives Upon completion of this lesson, you will be able to perform the following tasks: Understand the motivation behind BGP Confederations Describe how BGP confederations modify BGP AS-path propagation rules Plan IBGP backbone migration toward BGP confederation Configure and monitor BGP confederation

Introduction to BGP Confederations © 2001, Cisco Systems, Inc. BGP Confederations-3

© 2001, Cisco Systems, Inc. BGP Confederations-4 Objectives Upon completion of this section, you will be able to perform the following tasks: Understand the need for BGP confederations Understand and describe AS path propagation in BGP confederation Understand the difference between IBGP, intra-confederation EBGP and real EBGP sessions

© 2001, Cisco Systems, Inc. BGP Confederations-5 IBGP Transit AS - Problems IBGP requires full-mesh between all BGP- speaking routers large number of TCP sessions unnecessary duplicate routing traffic Solutions route reflectors modify IBGP split horizon rules BGP confederations modify IBGP AS Path processing

© 2001, Cisco Systems, Inc. BGP Confederations-6 AS 61AS 62 AS 63AS 64 BGP Confederation - Split Transit AS in smaller AS AS 12 AS 14 Splitting the AS into smaller AS would reduce the number of IBGP sessions, but we cannot get extra AS numbers AS 42 Confederations enable us to hide internal AS numbers and announce only one (external) AS number to the EBGP neighbors real EBGP session Intra-confederation EBGP session IBGP session

© 2001, Cisco Systems, Inc. BGP Confederations-7 AS Path Changes within BGP Confederation IBGP session Intra-confederation EBGP session EBGP session with external peer AS path is not changed Intra-confederation AS number is prepended to AS path Intra-confederation AS numbers are removed from AS path External AS number is prepended to the AS path

© 2001, Cisco Systems, Inc. BGP Confederations-8 AS Path Changes within BGP Confederation X(61) 12 X 12X(61) 12 X(61) 12 X(61) 12 X(62 61) 12 X(63 61) 12X 42 12

© 2001, Cisco Systems, Inc. BGP Confederations-9 Details of AS Path Processing Intra-confederation AS path is encoded as a separate segment of the AS path Displayed in parenthesis when using IOS show commands All routers within the BGP confederation have to support BGP confederations A router not supporting BGP confederations will reject AS path with unknown segment type

© 2001, Cisco Systems, Inc. BGP Confederations-10 Other Properties of Intra- Confederation EBGP Session Behaves like EBGP session during session establishment EBGP neighbor has to be directly connected or you have to configure ebgp-multihop on the neighbor Behaves like IBGP session when propagating routing updates Local preference, MED and next-hop attributes are retained The whole confederation can run one IGP, giving optimal routing based on next-hop attribute in BGP routing table

© 2001, Cisco Systems, Inc. BGP Confederations-11 Summary After completing this section, you should be able to perform the following tasks: Understand the need for BGP confederations Understand and describe AS path propagation in BGP confederation Understand the difference between IBGP, intra-confederation EBGP and real EBGP sessions

© 2001, Cisco Systems, Inc. BGP Confederations-12 Review Questions Describe how BGP confederations reduce the IBGP full-mesh List the AS Path processing rules in BGP confederation What happens if a router not supporting BGP confederations is placed inside the confederation? What is the difference between EBGP session and intra-confederation EBGP session?

Deploying BGP Confederations © 2001, Cisco Systems, Inc. BGP Confederations-13

© 2001, Cisco Systems, Inc. BGP Confederations-14 Objectives Upon completion of this section, you will be able to perform the following tasks: Plan migration of existing IBGP backbone toward BGP confederation Configure BGP confederation Monitor BGP backbone where BGP confederation is configured

© 2001, Cisco Systems, Inc. BGP Confederations-15 BGP Confederation Design Rules IBGP full-mesh within each member AS is required Route reflectors might be used within each AS to relax the IBGP full-mesh requirements No topology limitation on EBGP sessions between AS within confederation The intra-confederation EBGP sessions shall follow the physical topology of the network

© 2001, Cisco Systems, Inc. BGP Confederations-16 BGP Confederation Planning Divide transit AS into smaller areas Follow physical topology of the network Define AS number for each area. Use AS numbers reserved for private use (higher than 64512) Verify IOS release level All routers have to support BGP confederations Convert each area into autonomous system Total rewrite of BGP configuration is required

© 2001, Cisco Systems, Inc. BGP Confederations-17 Configuring BGP Confederation Start BGP process with member AS number Specify external AS number Must be defined in all routers within confederation List all member AS numbers in the confederation Must be defined in all routers with an EBGP session

© 2001, Cisco Systems, Inc. BGP Confederations-18 Configuring BGP Confederation no router bgp as-number router bgp member-AS-number router(config)# Remove old BGP process and configure BGP process with member AS number bgp confederation identifier external-as-number router(config-router)# Configure external confederation-wide AS number bgp confederation peers list-of-intra-confederation-AS router(config-router)# Define all the other autonomous systems in the confederation

© 2001, Cisco Systems, Inc. BGP Confederations-19 BGP Confederation Configuration Example router bgp ! internal AS ! ! Confederation parameter bgp confederation identifier 123 bgp confederation peers ! ! IBGP neighbor neighbor remote-as ! ! EBGP with intra-confed AS neighbor remote-as neighbor remote-as ! ! real EBGP neighbor remote-as 222

© 2001, Cisco Systems, Inc. BGP Confederations-20 Monitoring BGP Confederation show ip bgp neighbor router# Displays whether a neighbor is within the confederation show ip bgp prefix [mask] router# Displays internal and external segments of the AS Path Displays whether the path is external, internal or intra-confederation external

© 2001, Cisco Systems, Inc. BGP Confederations-21 Monitoring Intra-Confederation EBGP Neighbors Wilma#show ip bgp neighbor BGP neighbor is , remote AS 65002, external link Index 2, Offset 0, Mask 0x4 BGP version 4, remote router ID Neighbor under common administration BGP state = Established, table version = 5, up for 00:09:15 Last read 00:00:16, hold time is 180, keepalive interval is 60 seconds Minimum time between advertisement runs is 30 seconds Received 13 messages, 0 notifications, 0 in queue Sent 13 messages, 0 notifications, 0 in queue Prefix advertised 1, suppressed 0, withdrawn 0 Connections established 1; dropped 0 Last reset never 1 accepted prefixes consume 32 bytes 0 history paths consume 0 bytes External BGP neighbor may be up to 255 hops away. Wilma#show ip bgp neighbor BGP neighbor is , remote AS 65002, external link Index 2, Offset 0, Mask 0x4 BGP version 4, remote router ID Neighbor under common administration BGP state = Established, table version = 5, up for 00:09:15 Last read 00:00:16, hold time is 180, keepalive interval is 60 seconds Minimum time between advertisement runs is 30 seconds Received 13 messages, 0 notifications, 0 in queue Sent 13 messages, 0 notifications, 0 in queue Prefix advertised 1, suppressed 0, withdrawn 0 Connections established 1; dropped 0 Last reset never 1 accepted prefixes consume 32 bytes 0 history paths consume 0 bytes External BGP neighbor may be up to 255 hops away.

© 2001, Cisco Systems, Inc. BGP Confederations-22 Monitoring Confederation Routes Fred#show ip bgp BGP routing table entry for /8, version 5 Paths: (2 available, best #2, advertised over IBGP, EBGP) (65001) (metric ) from ( ) Origin IGP, metric 0, localpref 60, valid, confed-internal (65001) (metric ) from ( ) Origin IGP, metric 0, localpref 60, valid, confed-external, best Intra-confederation part of AS-Path External part of AS- Path Route received from intra- confederation EBGP session Route received from intra- confederation IBGP session Next-hop points to real EBGP peer in both cases

© 2001, Cisco Systems, Inc. BGP Confederations-23 Summary After completing this section, you should be able to perform the following tasks: Plan migration of existing IBGP backbone toward BGP confederation Configure BGP confederation Monitor BGP backbone where BGP confederation is configured

© 2001, Cisco Systems, Inc. BGP Confederations-24 Review Questions How can you reduce the IBGP full-mesh within a confederation AS? List the BGP Confederation planning steps How would you split your AS into smaller autonomous systems? Why do you have to verify IOS release level before deploying confederations? Which BGP parameters have to be specified in every router within confederation? How will the show ip bgp command display intra- confederation segment of the AS path?

© 2001, Cisco Systems, Inc. BGP Confederations-25 Summary After completing this lesson, you should be able to perform the following tasks: Understand the motivation behind BGP Confederations Describe how BGP confederations modify BGP AS-path propagation rules Plan IBGP backbone migration toward BGP confederation Configure and monitor BGP confederation

© 2001, Cisco Systems, Inc. BGP Confederations-26