© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—5-1 Customer-to-Provider Connectivity with BGP Connecting a Multihomed Customer to Multiple Service.

Slides:



Advertisements
Similar presentations
Multihoming and Multi-path Routing
Advertisements

Multihoming and Multi-path Routing
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v MPLS VPN Technology Introducing the MPLS VPN Routing Model.
BGP Overview Processing BGP Routes.
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v2.2—5-1 MPLS VPN Implementation Configuring BGP as the Routing Protocol Between PE and CE Routers.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 8: EIGRP Advanced Configurations and Troubleshooting Scaling.
Classifying Network Addressing
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Addressing the Network – IPv4 Network Fundamentals – Chapter 6.
1 Interdomain Traffic Engineering with BGP By Behzad Akbari Spring 2011 These slides are based on the slides of Tim. G. Griffin (AT&T) and Shivkumar (RPI)
Border Gateway Protocol Ankit Agarwal Dashang Trivedi Kirti Tiwari.
© 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.
Fundamentals of Computer Networks ECE 478/578 Lecture #18: Policy-Based Routing Instructor: Loukas Lazos Dept of Electrical and Computer Engineering University.
© 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.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—7-1 Optimizing BGP Scalability Limiting the Number of Prefixes Received from a BGP Neighbor.
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.1 Routing Working at a Small-to-Medium Business or ISP – Chapter 6.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—6-1 Scaling Service Provider Networks Configuring and Monitoring Route Reflectors.
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.
Changed made by MF on 29/10/04 Delete Change Add –All slides Obtained Geoff Huston’s review – done on 26/10/2004 Obtained Doc Team’s proof read - done.
Inherently Safe Backup Routing with BGP Lixin Gao (U. Mass Amherst) Timothy Griffin (AT&T Research) Jennifer Rexford (AT&T Research)
© 2009 Cisco Systems, Inc. All rights reserved. ROUTE v1.0—4-1 Implement an IPv4-Based Redistribution Solution Assessing Network Routing Performance and.
© 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.
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v2.2—7-1 Integrating Internet Access with MPLS VPNs Implementing Internet Access as a Separate VPN.
© 2009 Cisco Systems, Inc. All rights reserved.ROUTE v1.0—6-1 Connecting an Enterprise Network to an ISP Network Planning the Enterprise-to-ISP Connection.
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v2.2—5-1 MPLS VPN Implementation Configuring Small-Scale Routing Protocols Between PE and CE Routers.
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v2.2—5-1 MPLS VPN Implementation Using MPLS VPN Mechanisms of Cisco IOS Platforms.
Simple Multihoming 1. Why Multihome? Redundancy – One connection to internet means the network is dependent on: Local router (configuration, software,
© 2001, Cisco Systems, Inc. Customer-to-Provider Connectivity with BGP.
© 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.
Redundancy, Symmetry and Load Balancing Presented by Sagi Shporer.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 2 Module 6 Routing and Routing Protocols.
© 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—3-1 Determining IP Routes Enabling OSPF.
Chapter 9. Implementing Scalability Features in Your Internetwork.
© Synergon Informatika Rt., 1999 Chapter 12 Connecting Enterprises to an Internet Service Provider.
© 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.
Routing and Routing Protocols
IPv6 Routing Considerations Masaru Mukai / POWERDCOM Kuniaki Kondo / IIJ.
© 2001, Cisco Systems, Inc. 1-1 Introduction Configuring BGP on Cisco Routers.
IP Addressing.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—3-1 Route Selection Using Policy Controls Employing AS-Path Filters.
© 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—3-1 Route Selection Using Policy Controls Filtering with Prefix-Lists.
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—5-1 Customer-to-Provider Connectivity with BGP Understanding Customer-to-Provider Connectivity.
© 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 Using Outbound Route Filtering.
© 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—7-1 Optimizing BGP Scalability Implementing BGP Peer Groups.
© 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—1-1 Course Introduction.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—3-1 Route Selection Using Policy Controls Using Multihomed BGP Networks.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—3-1 Module Summary The multihomed customer network must exchange BGP information with both ISP.
© 2009 Cisco Systems, Inc. All rights reserved. ROUTE v1.0—6-1 Connecting an Enterprise Network to an ISP Network Lab 6-2 Debrief.
Route Selection Using Attributes
© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—1-1 BGP Overview Establishing BGP Sessions.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—6-1 Scaling Service Provider Networks Introducing Confederations.
© 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.
Working at a Small-to-Medium Business or ISP – Chapter 6
BGP 1. BGP Overview 2. Multihoming 3. Configuring BGP.
Border Gateway Protocol
Interdomain Traffic Engineering with BGP
BGP Overview BGP concepts and operation.
Cours BGP-MPLS-IPV6-QOS
Scaling Service Provider Networks
Working at a Small-to-Medium Business or ISP – Chapter 6
Presentation transcript:

© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—5-1 Customer-to-Provider Connectivity with BGP Connecting a Multihomed Customer to Multiple Service Providers

© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—5-2 Outline Overview Configuring BGP for Multihomed Customers Multihomed Customer Address Space Selection Multihomed Customer AS Number Selection AS Number Translation Primary/Backup Link Selection BGP Incoming Link Selection Load Sharing with Multiple Providers Summary

© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—5-3 Configuring BGP for Multihomed Customers

© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—5-4 Configuring BGP for Multihomed Customers (Cont.)

© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—5-5 Multihomed Customer Address Space Selection Provider-independent address space If the customer owns the address space, there should be no limitations regarding announcing it to both service providers. Provider-assigned address space If the customer uses ISP-assigned small address blocks, then there is no purpose in using BGP to provide redundant connectivity. NAT is easier to implement and solves the problem of reverse path.

© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—5-6 Multihomed Customer AS Number Selection Registered, public AS number (recommended): Preferred option, but difficult to get Does not require ISPs to assign a private AS number Consistent routing information in the Internet Private AS number (discouraged): Easier to get (even easier with AS translation) –One private AS number: The customer has to be able to use the same private AS number with multiple providers. –Multiple private AS numbers: The customer gets a private AS number assigned by each provider and uses one of them internally; the others have to be translated. Causes inconsistent routing information

© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—5-7 AS Number Translation On one EBGP adjacency, the real AS number is used. On the other EBGP adjacency, the AS number is translated to the one assigned by the second ISP.

© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—5-8 AS Number Translation (Cont.) neighbor ip-address local-as private-as router(config-router)# Optionally, the customer can get two different private AS numbers assigned by the service providers. Internally, the customer can use an ISP-assigned AS number or even any other private AS number. Externally, the customer is seen as one private AS number to ISP 1 and as a different AS to ISP 2. Note: When you are using this option, the AS path of the customer network contains two AS numbers. The ISP has to adapt the incoming AS-path filters.

© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—5-9 Primary/Backup Link Selection Outgoing link selection: You can use the same solution as with multihomed customers connected to one service provider. Incoming link selection: You cannot use the MED because it can be sent only to the neighboring AS and no farther. You must use other means such as BGP communities or AS- path prepending to achieve incoming link selection.

© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—5-10 BGP Incoming Link Selection BGP communities: –Customer sets the appropriate BGP community attribute on updates sent to the backup ISP –Requires the ISP to translate the BGP community attribute to a local preference attribute that is lower than the default value of 100 –May not work in all situations AS-path prepending: –Multiple copies of customer AS number prepended to the AS path to lengthen the AS path sent over the backup link –Customer not dependent on the provider configuration –Always works

© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—5-11 BGP Incoming Link Selection Using BGP Communities

© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—5-12 BGP Incoming Link Selection Using BGP Communities (Cont.)

© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—5-13 BGP Incoming Link Selection Using AS-Path Prepending

© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—5-14 Load Sharing with Multiple Providers Load sharing for outgoing traffic: You can use the same solution as with multihomed customers connected to one service provider. Load sharing for incoming traffic: The only load-sharing option that you can use in this setup is to separate address space into two or more smaller address blocks. Some traffic analysis is needed to fine-tune address space separation according to link bandwidths. You should use AS-path prepending to ensure symmetric routing as well as backup for noncontiguous address blocks.

© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—5-15 Summary Customers that require the maximum redundancy in their network design should implement a configuration that is multihomed to multiple service providers. A customer that is multihomed to multiple BGP service providers must advertise its address space to both ISPs and take care not to transmit any routing information between the two ISPs. The internal addresses of the customer must be advertised to both ISPs. Depending on the addressing scheme that is used by the customer, NAT may be required. Customers that are connected to only one ISP do not require a public AS number, while customers connected to multiple ISPs must use an AS number that all ISPs agree to.

© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—5-16 Summary (Cont.) You can use AS number translation to prepend a different AS number to the AS path, which allows the customer to use a single private AS number in the network. Outgoing route selection in primary/backup connectivity is achieved using local preference. Incoming route selection should be implemented using either BGP communities to tag customer routes or AS-path prepending. Load-sharing configurations for outgoing traffic are the same as those used in the scenario in which the customer is multihomed to a single provider. You can perform load sharing of incoming traffic when you are multihomed to multiple providers only if separate address spaces are advertised to each provider. You can also use AS-path prepending of this configuration for fine-tuning.

© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—5-17