BGP 1. BGP Overview 2. Multihoming 3. Configuring BGP.

Slides:



Advertisements
Similar presentations
CCNP Network Route BGP Part -I BGP : Border Gateway Protocol. It is a distance vector protocol It is an External Gateway Protocol and basically used for.
Advertisements

CS Summer 2003 CS672: MPLS Architecture, Applications and Fault-Tolerance.
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.
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.
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.
Mod 10 – Routing Protocols
Routing and Routing Protocols
© 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.
1 Semester 2 Module 6 Routing and Routing Protocols YuDa college of business James Chen
Fundamentals of Networking Discovery 2, Chapter 6 Routing.
1 Chapter 27 Internetwork Routing (Static and automatic routing; route propagation; BGP, RIP, OSPF; multicast routing)
TCOM 515 Lecture 6.
6: Routing Working at a Small to Medium Business.
© 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.
Routing and Routing Protocols Routing Protocols Overview.
CS 3700 Networks and Distributed Systems Inter Domain Routing (It’s all about the Money) Revised 8/20/15.
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:
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.
Border Gateway Protocol Presented BY Jay Purohit & Rupal Jaiswal GROUP 9.
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.
1 Internet Routing. 2 Terminology Forwarding –Refers to datagram transfer –Performed by host or router –Uses routing table Routing –Refers to propagation.
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.
CCNA 2 Week 6 Routing Protocols. Copyright © 2005 University of Bolton Topics Static Routing Dynamic Routing Routing Protocols Overview.
6: Routing Working at a Small to Medium Business.
1 7-Jan-16 S Ward Abingdon and Witney College Dynamic Routing CCNA Exploration Semester 2 Chapter 3.
Cisco Systems Networking Academy S2 C 12 Routing Protocols.
© 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—1-1 Course Introduction.
1 Border Gateway Protocol (BGP) and BGP Security Jeff Gribschaw Sai Thwin ECE 4112 Final Project April 28, 2005.
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.
Text BGP Basics. Document Name CONFIDENTIAL Border Gateway Protocol (BGP) Introduction to BGP BGP Neighbor Establishment Process BGP Message Types BGP.
© 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.
Instructor Materials Chapter 7: EIGRP Tuning and Troubleshooting
Optimizing Routing 1. Using Multiple Routing Protocols
Lec4: Introduction to Dynamic Routing Protocol
Working at a Small-to-Medium Business or ISP – Chapter 6
CS 3700 Networks and Distributed Systems
Connecting an Enterprise Network to an ISP Network
Boarder Gateway Protocol (BGP)
Border Gateway Protocol
CS 3700 Networks and Distributed Systems
Border Gateway Protocol
BGP (cont) 1. BGP Peering 2. BGP Attributes
Routing and Routing Protocols: Routing Static
Explaining BGP Concepts and Terminology
BGP supplement Abhigyan Sharma.
Introduction To Networking
CCNA 2 v3.1 Module 6 Routing and Routing Protocols
Introduction to Dynamic Routing Protocol
Chapter 3: Dynamic Routing
BGP Overview BGP concepts and operation.
Cours BGP-MPLS-IPV6-QOS
Connecting an Enterprise Network to an ISP Network
Routing and Routing Protocols: Routing Static
Routing Protocols and Concepts – Chapter 9
Introduction to Dynamic Routing Protocol
Routing Protocols and Concepts – Chapter 9
CIT 384: Network Administration
Working at a Small-to-Medium Business or ISP – Chapter 6
Routing Protocols and Concepts – Chapter 9
Computer Networks Protocols
Presentation transcript:

BGP 1. BGP Overview 2. Multihoming 3. Configuring BGP

1. BGP Overview BGP is an external gateway protocol, meant to be used between different networks. It is the protocol used on the internet. It was built for reliability, scalability and control, not speed. Because of this, it behaves differently from the other protocols.

1. BGP Overview Features of BGP ■ BGP stands for Border Gateway Protocol. ■ BGP uses the concept of autonomous systems. An autonomous system is a group of networks under a common administration. ■ Autonomous systems run Interior Gateway Protocols (IGP) within the system. They run an Exterior Gateway Protocol (EGP) between them. ■ BGP version 4 is the only EGP currently in use. ■ BGP neighbors are called peers and must be statically configured. ■ BGP uses TCP port 179.

1. BGP Overview Features of BGP ■ BGP is a path-vector protocol. Its route to a network consists of a list of autonomous systems on the path to that network. ■ BGP’s loop prevention mechanism is autonomous system number. When an update about a network leaves an autonomous system, that autonomous system’s number is prepended to the list of autonomous systems that have handled that update. When an autonomous system receives an update, it examines the autonomous system list. If it finds its own autonomous system number in that list, the update is discarded.

1. BGP Overview BGP Databases BGP uses three databases. The first two listed are BGP-specific; the third is shared by all routing processes on the router: ■ Neighbor database  This is a list of all configured BGP neighbors. To view it, use the show ip bgp summary command. ■ BGP database, or RIB (Routing Information Base)  This is a list of networks known by BGP, along with their paths and attributes. To view it, use the show ip bgp command. ■ Routing table  This is a list of the paths to each network used by the router, and the next hop for each network. To view it, use the show ip route command.

1. BGP Overview BGP Message Types BGP has four types of messages: ■ Open  After a neighbor is configured, BGP sends an open message to try to establish peering with that neighbor. Includes information such as autonomous system number, router ID, and hold time. ■ Update  Message used to transfer routing information between peers. ■ Keepalive  BGP peers exchange keepalive messages every 60 seconds by default. These keep the peering session active. ■ Notification  When a problem occurs that causes a router to end the BGP peering session, a notification message is sent to the BGP neighbor and the connection is closed.

Internal and External BGP 1. BGP Overview Internal and External BGP + Internal BGP (IBGP) is BGP peering relationship between routers in the same autonomous system. + External BGP (EBGP) is BGP peering relationship between routers in different autonomous systems. BGP treats updates from internal peers differently than updates from external peers.

BGP Next-Hop Selection 1. BGP Overview BGP Next-Hop Selection The next hop for a route received from an EBGP neighbor is the IP address of the neighbor that sent the update. When a BGP router receives an update from an EBGP neighbor, it must pass that update to its IBGP neighbors without changing the next-hop attribute. The next-hop IP address is the IP address of an edge router belonging to the next-hop autonomous system. Therefore, IBGP routers must have a route to the network connecting their autonomous system to that edge router. To change this behavior, use the neighbor [ip address] next-hop-self command in BGP configuration mode.

BGP Next-Hop Selection 1. BGP Overview BGP Next-Hop Selection

BGP Synchronization Rule 1. BGP Overview BGP Synchronization Rule + The BGP synchronization rule requires that when a BGP router receives information about a network from an IBGP neighbor, it does not use that information until a matching route is learned via an IGP or static route. It also does not advertise that route to an EBGP neighbor unless a matching route is in the routing table. + Recent IOS versions have synchronization disabled by default. It is usually safe to turn off synchronization when all routers in the autonomous system run BGP. To turn it off in earlier IOS versions, use the command no synchronization under BGP router configuration mode.

BGP Synchronization Rule 1. BGP Overview BGP Synchronization Rule If RtrB advertises a route to RtrC, then RtrC does not submit it to the routing table or advertise it to RtrD unless it also learns the route from some other IGP source.

1. BGP Overview Example BGP routers in AS 65100 see network 10.1.1.0 as having an autonomous system path of 65200 65300 65400.

2. Multihoming Multihoming means connecting to more than one ISP at the same time. It is done for redundancy and backup in case one ISP fails and for better performance if one ISP provides a better path to often used networks. Three

Three ways exist to receive routes from each ISP 2. Multihoming Three ways exist to receive routes from each ISP ■ Default routes from each provider  This results in low use of bandwidth and router resources. The internal network’s IGP metric determines the exit router for all traffic bound outside the autonomous system. ■ Default routes plus some more specific routes  This results in medium use of bandwidth and router resources. This allows you to manipulate the exit path for specific routes using BGP, but the IGP metric chooses the exit path for default routes. ■ All routes from all providers  This requires the highest use of bandwidth and router resources. It is typically done by large enterprises and ISPs. Path selection for all external routes can be controlled via BGP policy routing tools.

Basic BGP Configuration Commands 3. Configuring BGP Basic BGP Configuration Commands

The BGP Network Command 3. Configuring BGP The BGP Network Command + In most IGPs, the network command starts the routing process on an interface. In BGP, the command tells the router to originate an advertisement for that network. The network does not have to be connected to the router; it just has to be in the routing table. In theory, it could even be a network in a different autonomous system (not usually recommended). + When advertising a network, BGP assumes you are using the default classful subnet mask. If you want to advertise a subnet, you must use the optional keyword mask and specify the subnet mask to use. Note that this is a subnet mask, not the inverse mask used by OSPF and EIGRP network statements. The routing table must contain an exact match (prefix and subnet mask) to the network listed in the network statement before BGP will advertise the route.