DOC PREVIEW
Berkeley COMPSCI 268 - Lecture 9 Inter-domain Routing Protocol

This preview shows page 1-2-3-4-29-30-31-32-59-60-61-62 out of 62 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 62 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 62 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 62 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 62 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 62 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 62 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 62 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 62 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 62 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 62 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 62 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 62 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 62 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

CS 268: Lecture 9 Inter-domain Routing ProtocolOverviewInternet RoutingExampleInter-domain Routing basicsInter-domain RoutingBGP Operations (Simplified)Customers and ProvidersThe “Peering” RelationshipPeering Provides ShortcutsPeering WarsArchitecture of Dynamic RoutingAS-PathFour Types of BGP MessagesTwo Types of BGP Neighbor RelationshipsiBGP Peers Must be Fully MeshedImportant BGP attributesRoute Selection SummaryImplementing Customer/Provider and Peer/Peer relationshipsImport RoutesExport RoutesSlide 22What Problem is BGP solving?Q : How simple can X get? A: The Stable Paths Problem (SPP)A Solution to a Stable Paths ProblemExample: SHORTEST1Example: SHORTEST1 (Solution)Example: SHORTEST2Example: SHORTEST2 (Solution)Example: GOOD GADGETExample: GOOD GADGET (Solution)A Stable Paths Problem may have multiple solutionsExample: NAUGHTY GADGETExample: NAUGHTY GADGET (Solution 1)Example: NAUGHTY GADGET (Solution 2)SPP helps explain possibility of BGP divergenceSlide 37Example: BAD GADGETSlide 39Slide 40Slide 41Slide 42Slide 43Slide 44BAD GADGET : No SolutionSURPRISE : Beware of Backup PoliciesPRECARIOUSWhat is to be done?Theoretical ResultsSlide 50Convergence in the real-world?BGP Convergence ExampleConvergence ResultOutline of the Today’s classEnd-to-end effects of Path SelectionApproximating the best pathMethodologySlide 58Slide 59Slide 60Slide 61Why Path Selection is imperfect?CS 268: Lecture 9Inter-domain Routing ProtocolScott Shenker and Ion StoicaComputer Science DivisionDepartment of Electrical Engineering and Computer SciencesUniversity of California, BerkeleyBerkeley, CA 94720-1776(*slides from Timothy Griffin and Craig Labovitz)2OverviewAn Introduction to BGPBGP and the Stable Paths problemConvergence of BGP in the real worldThe End-to-End Effects of Internet Path Selection3Internet RoutingInternet organized as a two level hierarchyFirst level – autonomous systems (AS’s)-AS – region of network under a single administrative domainAS’s run an intra-domain routing protocols-Distance Vector, e.g., RIP-Link State, e.g., OSPFBetween AS’s runs inter-domain routing protocols, e.g., Border Gateway Routing (BGP)-De facto standard today, BGP-44ExampleAS-1AS-2AS-3Interior routerBGP router5Inter-domain Routing basics Internet is composed of over 16000 autonomous systemsBGP = Border Gateway Protocol -Is a Policy-Based routing protocol -Is the de facto inter-domain routing protocol of today’s global InternetRelatively simple protocol, but configuration is complex and the entire world can see, and be impacted by, your mistakes.6Inter-domain RoutingUse TCPBorder Gateway Protocol (BGP), based on Bellman-Ford path vectorAS’s exchange reachability information through their BGP routers, only when routes changeBGP routing information – a sequence of AS’s indicating the path traversed by a route; next hopGeneral operations of a BGP router:-Learns multiple paths-Picks best path according to its AS policies-Install best pick in IP forwarding tables7BGP Operations (Simplified) Establish session on TCP port 179 Exchange all active routes Exchange incremental updatesAS1AS2While connection is ALIVE exchangeroute UPDATE messagesBGP session8Customers and ProvidersCustomer pays provider for access to the InternetprovidercustomerIP trafficprovidercustomer9The “Peering” Relationshippeer peercustomerproviderPeers provide transit between their respective customersPeers do not provide transit between peersPeers (often) do not exchange $$$trafficallowedtraffic NOTallowed10Peering Provides ShortcutsPeering also allows connectivity betweenthe customers of “Tier 1” providers.peer peercustomerprovider11Peering WarsReduces upstream transit costsCan increase end-to-end performanceMay be the only way to connect your customers to some part of the Internet (“Tier 1”) You would rather have customersPeers are usually your competitionPeering relationships may require periodic renegotiationPeering struggles are by far the most contentious issues in the ISP world!Peering agreements are often confidential.Peer Don’t Peer12Architecture of Dynamic RoutingAS 1AS 2 BGP EGP = Exterior Gateway Protocol IGP = Interior Gateway Protocol Metric based: OSPF, IS-IS, RIP, EIGRP (cisco)Policy based: BGP The Routing Domain of BGP is the entire InternetOSPFEIGRP13AS-PathSequence of AS’s a route traversesUsed for loop detection and to apply policy120.10.0.0/16130.10.0.0/16110.10.0.0/16AS-1AS-2AS-3AS-4AS-5120.10.0.0/16 AS-2 AS-3 AS-4130.10.0.0/16 AS-2 AS-3110.10.0.0/16 AS-2 AS-514Four Types of BGP MessagesOpen : Establish a peering session. Keep Alive : Handshake at regular intervals. Notification : Shuts down a peering session. Update : Announcing new routes or withdrawing previously announced routes. announcement = prefix + attributes values15Two Types of BGP Neighbor Relationships•External Neighbor (eBGP) in a different Autonomous Systems •Internal Neighbor (iBGP) in the same Autonomous System AS1AS2eBGPiBGPiBGP is routed using Interior Gateway Protocol(IGP)!16iBGP Peers Must be Fully MeshediBGP neighbors do not announce routes received via iBGP to other iBGPneighbors.eBGP updateiBGP updates•iBGP is needed to avoid routing loops within an AS•Injecting external routes into IGP does not scale and causes BGP policy information to be lost•BGP does not provide “shortest path” routing17Important BGP attributesLocalPREF-Local preference policy to choose “most” preferred routeMulti-exit Discriminator (MED)-Which peering point to choose?Import Rules-What route advertisements do I accept?Export Rules-Which routes do I forward to whom?18Route Selection SummaryHighest Local PreferenceShortest ASPATHLowest MEDi-BGP < e-BGPLowest IGP cost to BGP egressLowest router IDtraffic engineering Enforce relationshipsThrow up hands andbreak ties19Implementing Customer/Provider and Peer/Peer relationshipsEnforce transit relationships -Outbound route filtering Enforce order of route preference-provider < peer < customerTwo parts:20Import Routes FrompeerFrompeerFromproviderFromproviderFrom customerFrom customerprovider route customer routepeer route ISP route21Export Routes TopeerTopeerTocustomerTocustomerToproviderFrom providerprovider route customer routepeer route ISP routefiltersblock22OverviewAn Introduction to BGPBGP and the Stable Paths problemConvergence of BGP in the real


View Full Document

Berkeley COMPSCI 268 - Lecture 9 Inter-domain Routing Protocol

Documents in this Course
Lecture 8

Lecture 8

33 pages

L-17 P2P

L-17 P2P

50 pages

Multicast

Multicast

54 pages

Load more
Download Lecture 9 Inter-domain Routing Protocol
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Lecture 9 Inter-domain Routing Protocol and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Lecture 9 Inter-domain Routing Protocol 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?