© 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.

Slides:



Advertisements
Similar presentations
Multihoming and Multi-path Routing
Advertisements

© 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.
Technical Aspects of Peering Session 4. Overview Peering checklist/requirements Peering step by step Peering arrangements and options Exercises.
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)
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.
Border Gateway Protocol Ankit Agarwal Dashang Trivedi Kirti Tiwari.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—2-1 BGP Transit Autonomous Systems Monitoring and Troubleshooting IBGP in a Transit AS.
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v2.2—2-1 Label Assignment and Distribution Introducing Typical Label Distribution in Frame-Mode MPLS.
© 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.
Best Practices for ISPs
© 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.
© 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—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 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.
Release 5.1, Revision 0 Copyright © 2001, Juniper Networks, Inc. Advanced Juniper Networks Routing Module 6: Border Gateway Protocol.
© 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.
© 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.
Border Gateway Protocol (BGP4)
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.
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.
Routing and Routing Protocols Routing Protocols Overview.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 2 Module 6 Routing and Routing Protocols.
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.
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.
© 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.
© 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 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—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—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.
BGP Transit Autonomous System
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—5-1 Customer-to-Provider Connectivity with BGP Connecting a Multihomed Customer to Multiple Service.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—6-1 Scaling Service Provider Networks Introducing Confederations.
Instructor Materials Chapter 7: EIGRP Tuning and Troubleshooting
Connecting an Enterprise Network to an ISP Network
Scaling Service Provider Networks
BGP 1. BGP Overview 2. Multihoming 3. Configuring BGP.
BGP (cont) 1. BGP Peering 2. BGP Attributes
Interdomain Traffic Engineering with BGP
BGP Overview BGP concepts and operation.
Cours BGP-MPLS-IPV6-QOS
Chapter 2: Static Routing
Scaling Service Provider Networks
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 a Single Service Provider

© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—5-2 Outline Overview Configuring BGP on Multihomed Customer Routers Conditional Advertising in Multihomed Customer Networks Configuring BGP on Service Provider Routers Removing Private AS Numbers BGP Support for Dual AS Configuration for Network AS Migrations Backup Solutions with BGP Load Sharing with the Multihomed Customer Load Sharing with BGP Multipath Load Sharing with EBGP Multihop Summary

© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—5-3 Configuring BGP on Multihomed Customer Routers

© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—5-4 The customer address space is advertised on every customer edge router. Customer edge routers run IBGP between themselves and advertise the default route to the rest of the customer network. Configuring BGP on Multihomed Customer Routers (Cont.)

© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—5-5 Customer edge routers should announce the whole customer address space into BGP. The static route covering the whole customer address should point to the core of the customer network, not to null 0. The customer edge router revokes the BGP announcement of customer address space if the edge router loses connectivity with the customer core. Conditional Advertising in Multihomed Customer Networks

© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—5-6 Conditional Advertising in Multihomed Customer Networks (Cont.)

© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—5-7 Configuring BGP on Service Provider Routers The service provider must: Advertise a default route to the customer through BGP Filter incoming BGP updates with a prefix-list to verify that the customer announces only the assigned address space Filter incoming BGP updates with an AS-path filter-list to verify that the customer uses only its own AS number Optionally, the no-export community should be set on customer routes.

© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—5-8 Configuring BGP on Service Provider Routers (Cont.) neighbor ip-address default-originate router(config-router)# By default, the default route ( /0) is not advertised in outgoing BGP updates. The neighbor default-originate command advertises the default route to a BGP neighbor even if the default route is not present in the BGP table. Note: The default route is not sent through the outbound BGP filters (prefix-list, filter-list, or route-map).

© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—5-9 Configuring BGP on Service Provider Routers (Cont.)

© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—5-10 Private AS Number Propagation Private AS numbers should not be advertised into the Internet. The private AS numbers must be removed from the AS path before the customer BGP routes are advertised to other service providers.

© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—5-11 Removing Private AS Numbers neighbor ip-address remove-private-as router(config-router)# The command modifies AS-path processing on outgoing updates sent to specified neighbor. Private AS numbers are removed from the tail of the AS path before the update is sent. Private AS numbers followed by a public AS number are not removed. The AS number of the sender is prepended to the AS path after this operation.

© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—5-12 Removing Private AS Numbers (Cont.)

© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—5-13 BGP Support for Dual AS Configuration for Network AS Allows you to merge a secondary AS under a primary AS without disrupting customer peering sessions Allows a router to appear, to external peers, as a member of secondary AS during the AS migration Allows a network operator to merge the autonomous systems and then later migrate customers to new configurations during normal service windows without disrupting existing peering arrangements If misconfigured, increases the possibility that routing loops can be created

© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—5-14 Backup Solutions with BGP The route selection is controlled entirely by the customer routers. Local preference is used to differentiate primary and backup links for the outgoing traffic. The MED is used to differentiate primary and backup links for the return traffic. No service provider configuration is required.

© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—5-15 Primary and Backup Link Selection

© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—5-16 Load sharing of outgoing customer traffic is identical to the static routing scenario. You can implement load sharing of return traffic in a number of ways: Announce portions of the customer address space to each upstream router Configure BGP multipath support in the service provider network Use EBGP multihop in environments where parallel links run between a pair of routers Load Sharing with the Multihomed Customer

© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—5-17 maximum-paths number router(config-router)# By default, BGP selects a single path as the best path and installs it in the IP routing table. With maximum-paths configured, a BGP router can select several identical EBGP routes as the best routes and install them in the IP routing table for load-sharing purposes. The BGP router can install up to six BGP routes in the IP routing table. Configuring BGP Multipath Support

© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—5-18 Because of recursive lookup, load sharing toward a BGP destination always occurs if there are several equal-cost IGP paths to the BGP next hop. Equal-cost IGP paths are easily generated if the BGP next hop is not directly connected. Load Sharing with EBGP Multihop

© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—5-19 Configuring Multihop EBGP Sessions neighbor ip-address ebgp-multihop [ TTL ] router(config-router)# By default, EBGP neighbors must be directly connected. The ebgp-multihop command declares an EBGP neighbor to be distant (several hops away). The number of hops can be specified in the TTL parameter. This command is usually used to run EBGP between loopback interfaces for dial backup or load-sharing purposes. Use with extreme caution; routing loops can occur very easily.

© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—5-20 Load Sharing with EBGP Multihop (Cont.)

© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—5-21 Summary When a customer has multiple connections to a single ISP and the link-level procedures cannot detect a link failure, a routing protocol is required. For security reasons, this routing protocol must be BGP. The AS number that is used by the customer does not have to be a public AS number; it can be a private AS number in the range to When conditionally advertising customer networks to the ISP, you should use a static route covering the whole customer address space and pointing to the core of the customer network instead of null 0. The ISP should advertise a default route to the customer through BGP. Incoming filters should also be used by the provider to ensure that only the correct address space and AS number are advertised by the customer. The BGP Support for Dual AS Configuration for Network AS Migrations feature allows you to merge a secondary AS under a primary AS without disrupting customer peering sessions.

© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—5-22 Summary (Cont.) Private AS numbers must never be propagated to the rest of the Internet. The ISP must therefore remove the private AS numbers from the AS path before sending them to another public AS. You can use parallel links between the customer network and the network of a single ISP for backup or load-sharing purposes. The customer can control the outgoing load using local preference and also control the incoming load using the MED (metric) attribute. With the MED, the links go to a single remote AS. By announcing portions of its address space, a customer can use maximum paths and EBGP multihop to provide load sharing over multiple links. EBGP multihop can be used for load balancing only if redundant links terminate on the same provider router.

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