© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—2-1 BGP Transit Autonomous Systems Forwarding Packets in a Transit AS.

Slides:



Advertisements
Similar presentations
Identifying MPLS Applications
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.
IPv6 Static Routes Overview.
11: IPv6 Routing Table and Static Routes
Routing Basics.
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.
© 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.
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.
Best Practices for ISPs
© 2009 Cisco Systems, Inc. All rights reserved. ROUTE v1.0—4-1 Implement an IPv4-Based Redistribution Solution Lab 4-1 Debrief.
© 2006 Cisco Systems, Inc. All rights reserved. Implementing Secure Converged Wide Area Networks (ISCW) Module 4: Frame Mode MPLS Implementation.
14 – Inter/Intra-AS Routing
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 1 v3.0 Module 10 Routing Fundamentals and Subnets.
© 2009 Cisco Systems, Inc. All rights reserved. ROUTE v1.0—5-1 Implementing Path Control Assessing Path Control Network Performance Issues.
© 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.
© 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—3-1 Determining IP Routes Introducing Distance Vector Routing.
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v2.2—4-1 MPLS VPN Technology Forwarding MPLS VPN Packets.
1 Semester 2 Module 6 Routing and Routing Protocols YuDa college of business James Chen
BGP Attributes and Path Selections
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v2.2—5-1 MPLS VPN Implementation Using MPLS VPN Mechanisms of Cisco IOS Platforms.
Connecting Networks © 2004 Cisco Systems, Inc. All rights reserved. Exploring How Routing Works INTRO v2.0—4-1.
© 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—3-1 Determining IP Routes Introducing Link-State and Balanced Hybrid Routing.
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v2.2—1-1 MPLS Concepts Introducing Basic MPLS Concepts.
Route Selection in Cisco Routers. Route Selection One of the intriguing aspects of Cisco routers, especially for those new to routing, is how the router.
TCOM 515 Lecture 6.
1 Computer Communication & Networks Lecture 22 Network Layer: Delivery, Forwarding, Routing (contd.)
© 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.
Chapter 9. Implementing Scalability Features in Your Internetwork.
© 2002, Cisco Systems, Inc. All rights reserved. 1 Determining IP Routes.
Border Gateway Protocol
© 2001, Cisco Systems, Inc. A_BGP_Confed BGP Confederations.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 2 Single-Area OSPF.
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.
MPLS Concepts Introducing Basic MPLS Concepts. Outline Overview What Are the Foundations of Traditional IP Routing? Basic MPLS Features Benefits of MPLS.
1 Version 3.1 Module 6 Routed & Routing Protocols.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 1 v3.0 Module 10 Routing Fundamentals and Subnets.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—6-1 Scaling Service Provider Networks Scaling IGP and BGP in Service Provider Networks.
 RIP — A distance vector interior routing protocol  IGRP — The Cisco distance vector interior routing protocol (not used nowadays)  OSPF — A link-state.
© 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—3-1 Route Selection Using Policy Controls Applying Route-Maps as BGP Filters.
Describe basic routing concepts. Routers Interconnect Networks Router is responsible for forwarding packets from network to network, from the original.
© 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—7-1 Optimizing BGP Scalability Improving BGP Convergence.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—3-1 Route Selection Using Policy Controls Using Multihomed BGP Networks.
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.
Border Gateway Protocol BGP-4 BGP environment How BGP works BGP information BGP administration.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—6-1 Scaling Service Provider Networks Introducing Confederations.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Routing Talbles Routing Protocols 7.0.
© 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
Connecting an Enterprise Network to an ISP Network
Scaling Service Provider Networks
BGP 1. BGP Overview 2. Multihoming 3. Configuring BGP.
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.
CHAPTER 10.
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
Network Layer: Internet Inter-Domain Routing
Presentation transcript:

© 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—2-2 Outline Overview Packet Forwarding in a Transit AS Recursive Lookup in Cisco IOS Software Routing Protocols in a Transit AS BGP and IGP Interaction Problems with BGP and IGP Interaction Summary

© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—2-3 All core routers need external routers for proper packet forwarding. Redistributing can overload IGP resources. IBGP is preferred for scalability. Packet Forwarding in a Transit AS

© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—2-4 Routes learned via BGP do not have an outgoing interface associated with them in the routing table. Recursive lookup is performed to forward IP packets toward external destinations. Packet Forwarding in a Transit AS (Cont.)

© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—2-5 Recursive Lookup in Cisco IOS Software

© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—2-6 Recursive Lookup in Cisco IOS Software (Cont.) Traditional Cisco IOS software switching mechanisms perform recursive lookup when forwarding the first packet. –Fast switching, optimum switching. CEF precomputes the routing table. –All recursive lookups are performed while the routing table is built.

© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—2-7 With IBGP running on all core routers, is an IGP still needed in the core? An IGP is needed to resolve BGP next hops and perform fast convergence after a failure in the core network. Routing Protocols in a Transit AS

© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—2-8 Routing Protocols in a Transit AS (Cont.) Core routers need to run BGP and an IGP. BGP carries all external routes. The IGP propagates BGP next hops and other core subnets only. All customer routes are also carried in BGP. –Reduces IGP topology database –Removes customer-caused route flaps from IGP; IGP becomes more stable

© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—2-9 BGP and IGP Interaction Ideally, there will be no interaction between BGP and the IGP. BGP carries external and customer routes. The IGP carries only core subnets. The IGP is not affected by external route flaps. BGP is not affected by failures internal to the network as long as the BGP next hop remains reachable. The only link between BGP and the IGP should be the recursive lookup.

© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—2-10 Sometimes, BGP and the IGP will propagate the same route. Usually stems from bad network design. In this case, routes are determined in EBGP/IGP/IBGP order based on administrative distances of the routes. BGP and IGP Interaction (Cont.)

© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—2-11 If an IGP route is learned through EBGP, the EBGP route will take precedence. Potential causes include bad network design, routing problems, or denial-of-service attack. Protect IGP routes with inbound prefix-list filters at AS edges. Routers should never accept information about local subnets from an external source. Problems with BGP and IGP Interaction

© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—2-12 Summary All core routers need external routers for proper packet forwarding. A recursive lookup is performed in BGP to resolve the forwarding path reference of the next-hop attribute. Packet forwarding to external destinations benefits from the high-speed convergence offered by an IGP; therefore, an IGP is still needed inside a transit AS. The IGP should provide reachability toward BGP next-hop addresses only if they are not disturbed by external updates from other autonomous systems (those are handled by BGP). IP packets could be erroneously forwarded out of the local AS if an external AS accidentally (or by intent: DoS) feeds the local AS with EBGP routes that should be local.

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