History. Configuration and Policy. Assigning IP address and AS numbers (Ideally) Addressing Schemes. Problem #1: Lifetime of Address Space

Size: px
Start display at page:

Download "History. Configuration and Policy. Assigning IP address and AS numbers (Ideally) Addressing Schemes. Problem #1: Lifetime of Address Space"

Transcription

1 Outline The Basics of BGP Routing and its Performance in Today s Internet Nina Taft Sprint, Advanced Technology Labs California, USA May Highlights 2. Addressing and CIDR 3. BGP Messages and Prefix Attributes 4. BGP Decision and Filtering Processes 5. I-BGP 6. Route Reflectors 7. Multihoming 8. Aggregation 9. Routing Instability 10. BGP Table Growth SPRINT N. Taft 1 SPRINT N. Taft 2 Internet Topology Purpose: to share connectivity information large ISP EGP large ISP you can reach net A via me medium ISP traffic to A BGP A R3 dialup ISP dedicated access ISP AS (Autonomous System) - a collection of routers under the same technical and administrative domain. EGP (External Gateway Protocol) - used between two AS s to allow them to exchange routing information so that traffic can be forwarded across AS borders. Example: BGP table at : dest next hop A R border router internal router SPRINT N. Taft 3 SPRINT N. Taft 4 BGP Sessions Routing Protocols One router can participate in many BGP sessions. Initially node advertises ALL routes it wants neighbor to know (could be >50K routes) Ongoing only inform neighbor of changes I-BGP IGP: Interior Gateway Protocol. Examples: IS-IS, OSPF R3 BGP Sessions AS3 E-BGP A announce B R border router internal router R4 AS3 B R5 SPRINT N. Taft 5 SPRINT N. Taft 6 1

2 Configuration and Policy A BGP node has a notion of which routes to share with its neighbor. It may only advertise a portion of its routing table to a neighbor. A BGP node does not have to accept every route that it learns from its neighbor. It can selectively accept and reject messages. What to share with neighbors and what to accept from neighbors is determined by the routing policy, that is specified in a router s configuration file. History Popularity: until a few years ago BGP fairly unknown. Used by small number of large ISPs. in 1995 (beginning of web popularity) number of organizations using BGP grew tremendously. Two reasons for growth of usage and interest: significant growth in number of ISPs; organizations were born that had mission-critical dependence upon their connectivity CIDR (Classless Inter-Domain Routing) introduced in 1995 SPRINT N. Taft 7 SPRINT N. Taft 8 Assigning IP address and AS numbers (Ideally) A host gets its IP address from the IP address block of its organization An organization gets an IP address block from its ISP s address block An ISP gets its address block from its own provider OR from one of the 3 routing registries: ARIN: American Registry for Internet Numbers RIPE: Reseaux IP Europeens APNIC: Asia Pacific Network Information Center Each AS is assigned a 16-bit number (65536 total) Currently 10,000 AS s in use SPRINT N. Taft 9 Addressing Schemes Original addressing schemes (class-based): 32 bits divided into 2 parts: Class A Class B Class C network 0 0 network 0 0 network host 16 host CIDR introduced to solve 2 problems: exhaustion of IP address space size and growth rate of routing table 24 host ~2 million nets 256 hosts SPRINT N. Taft 10 Problem #1: Lifetime of Address Space Problem #2: Routing Table Size Example: an organization needs 500 addresses. A single class C address not enough (256 hosts). Instead a class B address is allocated. (~64K hosts) That s overkill -a huge waste. CIDR allows networks to be assigned on arbitrary bit boundaries. permits arbitrary sized masks: /23 is valid requires explicit masks to be passed in routing protocols CIDR solution for example above: organization is allocated a single /23 address (equivalent of 2 class C s). Without CIDR: With CIDR: service provider service provider /16 Global internet Global internet SPRINT N. Taft 11 SPRINT N. Taft 12 2

3 CIDR: Classless Inter-Domain Routing Address Arithmetic: Address Blocks Address format <IP address/prefix P>. The prefix denotes the upper P bits of the IP address. Idea - use aggregation - provide routing for a large number of s by advertising one common prefix. This is possible because nature of addressing is hierarchical Summarizing routing information reduces the size of routing tables, but allows to maintain connectivity. Aggregation is critical to the scalability and survivability of the Internet The <address/prefix> pair defines an address block: Examples: /16 => [ ] /13 => [ ] consider 2nd octet in binary: settable 13th bit Address block sizes a /13 address block has addresses (/16 has ) a /13 address block is 8 times as big as a /16 address block because = * 2 3 SPRINT N. Taft 13 SPRINT N. Taft 14 CIDR: longest prefix match Because prefixes of arbitrary length allowed, overlapping prefixes can exist. Example: router hears /16 from one neighbor and /24 from another neighbor Router forwards packet according to most specific forwarding information, called longest prefix match Packet with destination will be forwarded using /24 entry. Packet w/destination will be forwarded using /16 entry Will CIDR work? For CIDR to be successful need: address registries must assign addresses using CIDR strategy providers and subscribers should configure their networks, and allocate addresses to allow for a maximum amount of aggregation BGP must be configured to do aggregation as much as possible Factors that complicate achieving aggregation multihoming, proxy aggregation, changing providers SPRINT N. Taft 15 SPRINT N. Taft 16 Four Basic Messages Open: Establishes BGP session (uses TCP port #179) Notification: Report unusual conditions Update: Inform neighbor of new routes that become active Inform neighbor of old routes that become inactive Keepalive: Inform neighbor that connection is still viable OPEN Message During session establishment, two BGP speakers exchange their AS numbers BGP identifiers (usually one of the router s IP addresses) A BGP speaker has option to refuse a session Select the value of the hold timer: maximum time to wait to hear something from other end before assuming session is down. authentication information (optional) SPRINT N. Taft 17 SPRINT N. Taft 18 3

4 NOTIFICATION and KEEPALIVE Messages NOTIFICATION Indicates an error terminates the TCP session gives receiver an indication of why BGP session terminated Examples: header errors, hold timer expiry, bad peer AS, bad BGP identifier, malformed attribute list, missing required attribute, AS routing loop, etc. KEEPALIVE protocol requires some data to be sent periodically. If no UPDATE to send within the specified time period, then send KEEPALIVE message to assure partner that connection still alive UPDATE Message used to either advertise and/or withdraw prefixes path attributes: list of attributes that pertain to ALL the prefixes in the Reachability Info field FORMAT: Withdrawn routes length (2 octets) Withdrawn routes (variable length) Total path attributes length (2 octets) Path Attributes (variable length) Reachability Information (variable length) SPRINT N. Taft 19 SPRINT N. Taft 20 Advertising a prefix ATTRIBUTES When a router advertises a prefix to one of its BGP neighbors: information is valid until first router explicitly advertises that the information is no longer valid BGP does not require routing information to be refreshed if node A advertises a path for a prefix to node B, then node B can be sure node A is using that path itself to reach the destination. ORIGIN: Who originated the announcement? Where was a prefix injected into BGP? IGP, EGP or Incomplete (often used for static routes) AS-PATH: a list of AS s through which the announcement for a prefix has passed each AS prepends its AS # to the AS-PATH attribute when forwarding an announcement useful to detect and prevent loops PrefixNext hopas Path / SPRINT N. Taft 21 SPRINT N. Taft 22 Attribute: NEXT HOP Attribute: Multi-Exit Discriminator (MED) For EBGP session, NEXT HOP = IP address of neighbor that announced the route. For IBGP sessions, if route originated inside AS, NEXT HOP = IP address of neighbor that announced the route For routes originated outside AS, NEXT HOP of EBGP node that learned of route, is carried unaltered into IBGP D C IBGP B A /24 EBGP /24 BGP Table at Router C: DestinationNext Hop /242.2 IP Routing Table at Router C: DestinationNext Hop /242.2 when AS s interconnected via 2 or more links AS announcing prefix sets MED enables to indicate its preference AS receiving prefix uses MED to select link a way to specify how close a prefix is to the link it is announced on Link B Link A MED=50 MED=10 AS4 AS3 SPRINT N. Taft 23 SPRINT N. Taft 24 4

5 Attribute: Local Preference Routing Process Overview Used to indicate preference among multiple paths for the same prefix anywhere in the internet. The higher the value the more preferred Exchanged between IBGP peers only. Local to the AS. Often used to select a specific exit point for a particular destination BGP table at AS4: AS /24 AS3 DestinationAS PathLocal Pref /24AS3 Routes received from peers accept, deny, set preferences Input policy engine Choose best route Decision process BGP table Routes used by router IP routing table forward, not forward set MEDs Output policy engine Routes sent to peers SPRINT N. Taft 25 SPRINT N. Taft 26 Input Policy Engine BGP Decision Process Inbound filtering controls outbound traffic filters route updates received from other peers filtering based on IP prefixes, AS_PATH, community denying a prefix means BGP does not want to reach that prefix via the peer that sent the announcement accepting a prefix means traffic towards that prefix may be forwarded to the peer that sent the announcement Attribute Manipulation sets attributes on accepted routes example: specify LOCAL_PREF to set priorities among multiple peers that can reach a given destination 1. Choose route with highest LOCAL-PREF 2. If have more than 1 route, select route with shortest AS-PATH 3. If have more than 1 route, select according to lowest ORIGIN type where IGP < EGP < INCOMPLETE 4. If have more than 1 route, select route with lowest MED value 5. Select min cost path to NEXT HOP using IGP metrics 6. If have multiple internal paths, use BGP Router ID to break tie. SPRINT N. Taft 27 SPRINT N. Taft 28 Output Policy Engine Transit vs. Nontransit AS Outbound Filtering controls inbound traffic forwarding a route means others may choose to reach the prefix through you not forwarding a route means others must use another router to reach the prefix may depend upon whether E-BGP or I-BGP peer example: if ORIGIN=EGP and you are a non-transit AS and BGP peer is non-, then don t forward Attribute Manipulation sets attributes such as AS_PATH and MEDs r2 Transit traffic = traffic whose source and destination are outside the AS Nontransit AS: does not carry transit traffic Transit AS: does carry transit traffic Advertise own routes only Advertises its own routes PLUS routes Do not propagate routes learned from other AS s learned from other AS s case 1: ISP1 ISP1 ISP2 r1 r3 ISP2 r1 r3 case 2: r1 r2 r2 r1 r1 r3 r2 r3 r3 r2 r2,r3 r1 r2 r3 r2,r1 SPRINT N. Taft 29 r2 SPRINT N. Taft 30 5

6 Clients, Providers and Peers Internal BGP (I-BGP) AS has s, providers and peers Relationships between AS pairs: -provider peer-to-peer Type of relationship influences policies Exporting to provider: AS exports its routes & its s routes, but not routes learned from other providers or peers Exporting to peer: (same as above) Exporting to : AS exports its routes plus routes learned from its providers and peers Used to distribute routes learned via EBGP to all the routers within an AS I-BGP and E-BGP are same protocol in that same message types used same attributes used same state machine BUT use different rules for readvertising prefixes Rule #1: prefixes learned from an E-BGP neighbor can be readvertised to an I-BGP neighbor, and vice versa Rule #2: prefixes learned from an I-BGP neighbor cannot be readvertised to another I-BGP neighbor SPRINT N. Taft 31 SPRINT N. Taft 32 I-BGP: Preventing Loops and Setting Attributes Route Reflectors Why rule #2? To prevent announcements from looping. In E-BGP can detect via AS-PATH. AS-PATH not changed in I-BGP Implication of rule: a full mesh of I-BGP sessions between each pair of routers in an AS is required Setting Attributes: The router that injects the route into the I-BGP mesh is responsible for setting the LOCAL-PREF attribute prepending AS # to AS-PATH Problem: requiring a full mesh of I- BGP sessions between all pairs of routers is hard to manage for large AS s. Solution: group routers into clusters. Assign a leader to each cluster, called a route reflector (RR). Members of a cluster are called clients of the RR I-BGP Peering clients peer only with their RR RR s must be fully meshed A RR RR C B RR clusters clients SPRINT N. Taft 33 SPRINT N. Taft 34 Route Reflectors: Rule on Announcements Avoiding Loops with Route Reflectors If received from RR, reflect to clients If received from a client, reflect to RRs and clients If received from E-BGP, reflect to all - RRs and clients RR s reflect only the best route to a given prefix, not all announcements they receive. helps size of routing table sometimes clients don t need to carry full table Loops cannot be detected by traditional approach using AS-PATH because AS-PATH not modified within an AS. Announcements could leave a cluster and re-enter it. Two new attributes introduced: ORIGINATOR_ID: router id of route s originator in AS rule: announcement discarded if returns to originator CLUSTER_LIST: a sequence of cluster id s. set by RRs. rule: if an RR receives an update and the cluster list contains its cluster id, then update is discarded. SPRINT N. Taft 35 SPRINT N. Taft 36 6

7 Default Routes If you don t have a routing entry in the table for a destination, send it along the default route Can be statically configured /0 next_hop= /0 next_hop= Multihoming Can be learned via BGP Can have multiple defaults use LOCAL_PREF to distinguish primary and backup default routes Local pref=300 Local pref=100 SPRINT N. Taft 37 SPRINT N. Taft 38 Single-homed vs. Multi-homed subscribers Single-homed AS A single-homed network has one connection to the Internet (i.e., to networks outside its domain) A multi-homed network has multiple connections to the Internet. Two scenarios: can be multi-homed to a single provider can be multi-homed to multiple providers Why multi-home? Reliability Performance a site s bandwidth to internet is sum of bandwidth on all links Subscriber called a stub AS Provider-Subscriber communication for route advertisement: static configuration. most common. Provider s router is configured with subscriber s prefix. good if s routes can be represented by small set of aggregate routes bad if has many noncontiguous subnets can use BGP between provider and stub AS Provider Subscriber SPRINT N. Taft 39 SPRINT N. Taft 40 Multihoming to a Single Provider: 4 scenarios Multihoming to Multiple Providers ISP ISP ISP 3 R3 Customer ISP Customer ISP ISP 1 ISP 2 R3 R3 R4 Customer Customer Customer SPRINT N. Taft 41 SPRINT N. Taft 42 7

8 Multihoming Issues Load sharing from ISP to Customer using attributes Load sharing how distribute the traffic over the multiple links? Reliability if load sharing leads to preferencing certain links for certain subnets, is reliability reduced? Address/Aggregation which subnet addresses should the multihomed use? how will this affect its provider s ability to aggregate routes? Goal: provider splits traffic across 2 links according to prefix Implement this strategy using attributes sets MEDs provider sets LOCAL_PREF ISP / /16 R3 Customer / /16 SPRINT N. Taft 43 SPRINT N. Taft 44 Load sharing from Customer to ISP using policy Address/Aggregation Issue Goal: send traffic to ISP s s on one link; send traffic to the rest of the Internet on 2nd link Implement using policy to control announcements advertise routes only blue: announcements red: traffic ISP advertise default route 0/0 Where should the get its address block from? 1. From ISP1 2. From ISP2 3. From both ISP1 and ISP2 4. Independently from address registry ISP 3 ISP 1 ISP 2 R3 traffic (cases 1 and 2 are equivalent) Customer SPRINT N. Taft 45 SPRINT N. Taft 46 Case 1 & 2: Get address block from one ISP Case 3: Get address block from both ISPs example: gets address from ISP 1 ISP 1 s aggregation is not broken s prefix not aggregatable at ISP 2 longer prefix becomes a traffic magnet How good is load sharing? If all ISP s generate same amount of traffic for, then ISP2- link twice as loaded as ISP1- link /16 ISP / /24 ISP / / /24 ISP / /24 announcement policy: announce prefix only to its parent advantage: both ISP s can aggregate the prefix they receive disadvantage: lose reliability load balancing good? depends upon how much traffic sent to each prefix ISP 3 ISP 1 ISP / / / / / /24 SPRINT N. Taft 47 SPRINT N. Taft 48 8

9 Case 4: obtain address block from registry AS-PATH manipulation no aggregation possible no traffic magnets created good reliability how achieve load sharing? breaks address block into 2 /25 blocks, and announce one per link (but may lose reliability) OR use method of AS-PATH manipulation ISP / / / /24 ISP 1 ISP / / / / /24 Idea: prepend your AS number in AS-PATH multiple times to discourage use of a link makes AS-PATH seem longer than it is recall BGP decision process uses shortest AS-PATH length as a criteria for selecting best path Example: ISP 3 will choose path through AS 2 because its AS-PATH appears shorter AS / ISP / / /24 AS 33 AS /24-33 SPRINT N. Taft 49 SPRINT N. Taft 50 Address Arithmetic: When is aggregation possible? Case 1 Aggregation Possible when one prefix contained in another. Example: Two AS s having -provider relationship. Provider does the aggregation. Provider has address block /8 Its s have address blocks /15 and /15 Provider announces its address block only Rule: Prefix p1 contains prefix p2 iff length(p2) > length(p1) AND address(p2) / 2 32-length(p1) = address(p1) / 2 32-length(p1) SPRINT N. Taft 51 SPRINT N. Taft 52 Address Arithmetic: When is aggregation possible? Case 2 Aggregation and Multihoming Some pairs of consecutive prefixes Example: routes within the same AS: AS has 2 address blocks: /24 = / /24 = /24 can announce instead /23 Rule: consecutive prefixes p1 and p2 are aggregatable iff length(p1)=length(p2) AND address(p1) / 2 32-length(p1) +1 = address(p2) / 2 32-length(p2) AND address(p1) % 2 33-length(p1) = 0 Most common scenario: breaks its address block in 2 for load sharing purposes. YET, also advertises whole block for reliability. ISP 3 AS 1 AS / / / / /23 SPRINT N. Taft 53 SPRINT N. Taft 54 9

10 The cardinal sin of BGP routing is advertising routes that you don't know how to get to; called "black-holing" someone If you announce part of IP space owned by someone else, using a more-specific prefix, all their traffic flows to you. Makes that address block disconnected from the Internet. Example: black holes can happen inadvertently by non-careful aggregation Black holes and cardinal sins /16 ISP / /21 [ ] Net A NAP /21 [ ] Net C ISP / /20 wrong!! / /16 [ ] Net B Limitations to Aggregation Lack of hierarchical allocation of address space prior to CIDR (before 1995) A single AS can have noncontiguous address blocks Customer AS and provider AS can have noncontiguous address blocks Reluctance of s to renumber their address space when they switch providers Multi-homing multi-homed prefixes require global visibility may choose not to: load sharing SPRINT N. Taft 55 SPRINT N. Taft 56 Rules of Thumb for Aggregation To avoid black holes: an ISP is not allowed to aggregate routes unless it is a supernet of the address block it wants to aggregate In other words, an ISP has to specifically announce each IP address range of its downstream s that are not part of its own address space. Routing Instability SPRINT N. Taft 57 SPRINT N. Taft 58 Route Stability Routing instability: rapid fluctuation of network reachability information route flapping: when a route is withdrawn and re-announced repeatedly in a short period of time happens via UPDATE messages because messages propagate to global Internet, route flapping behavior can cascade and deteriorate routing performance in many places Effects: increased packet loss, increased network latency, CPU overhead, loss of connectivity Route Stability Studies by C. Labovitz, R. Malan & F. Jahanian SPRINT N. Taft 59 Types of Routing Updates Forwarding instability reflects legitimate topology changes e.g., changes in Prefix, NEXT_HOP and/or ASPATH affects forwarding paths used Policy fluctuation reflects changes in policy e.g., changes in MED, LOCAL_PREF, etc. may not necessarily affect forwarding paths used Pathological redundant messages reflect neither topology nor policy changes SPRINT N. Taft 60 10

11 Anecdotes of Route Flap Storms Taxonomy (as per Labovitz et. al.) April 25, small Virginia ISP injected incorrect map into global Internet. Map said Virginia ISP had optimal connectivity to all destinations. Everyone sent their traffic to this ISP. Result: shutdown of Tier-1 ISPs for 2 hours. August 14, misconfigured database server forwarded all queries to.net to wrong server. Result: loss of connectivity to all.net servers for few hours. Nov. 8, router software bug led to malformed routing control message. Caused interoperability problem between Tier-1 ISPs. Result: persistent pathological oscillations and connectivity loss for several hours. NameTypeCharacterWADiffExplicit withdrawal followedby annou SPRINT N. Taft 61 SPRINT N. Taft 62 General Statistics Per Event Type Statistics 1996: 3-5 million updates per day in Internet core 1998: 300K-700K updates per day in Internet core 1996: average number of announcements per day was ~275K. 1998: average number of announcements per day was ~400K Correlation of instability and usage instability highest during business hours instability lowest during nights, on weekends and in summer 1996 relative impact (approximately): WWDup (96%), AADup (2%), WADup (1%), AADiff(1/2%), WADiff (1/2%) 1998 relative impact (approximately): AADup (30-40%), WWDup(25-30%), AADiff (~20%) other (rest) SPRINT N. Taft 63 SPRINT N. Taft 64 Who s Responsible? Sources of Instabilities in General AS s No single AS dominates instability statistics No correlation between the size of an AS and its share of updates generated. Prefixes Instability is evenly distributed across routes. Example of measurements: 75% of AADiff events come from prefixes change less than 10 times a day % of instability comes from prefixes that are announced less than 50 times/day. router configuration errors transient physical and data link problems software bugs problems with leased lines (electrical timing issues that cause false alarms of disconnect) router failures network upgrades and maintenance SPRINT N. Taft 65 SPRINT N. Taft 66 11

12 Instability Problem and Cause. Example 1. Instability Problem and Cause. Example 2 Problem: 3-5 million duplicate withdrawals Cause: stateless BGP implementation time-space tradeoff: no state maintained on what advertised to peers when receive any change, transmit withdrawal to all peers regardless of whether previously notified or not sent updates for both explicit and implicit withdrawals By 1998, most vendors had BGP implementations with partial state. Result: number of WWDups reduced by an order of magnitude SPRINT N. Taft 67 Problem: duplicate announcements Cause: min-advertisement timer & stateless BGP min-adv timer: wait 30 seconds. Combine all received updates in last 30 seconds into single outbound update message (if possible). within 30 seconds route can be withdrawn and re-announced so that there is no net change to original announcement Solution: Have BGP keep some state about recently sent messages to peers. Avoid sending duplicate messages SPRINT N. Taft 68 Instability Problem and Cause. Example 3 Controlling route instability: Route Dampening AS 1 MED=24 MED=5 MED=15 R4 R3 Example: interaction IGP/BGP policy: set MED using IGP metrics, such as shortest path 4 3 R R5 R8 Net X AS3 R7 R border router internal router E-BGP IGP track number of times a route has flapped over a period of time routes that exhibit a high level of instability in a short period of time should be suppressed (not advertised) penalize ill behaved routes proportionally to their expected future stability if a suppressed route stops flapping for a long enough period of time, unsuppress it (readvertise) SPRINT N. Taft 69 SPRINT N. Taft 70 Route Dampening Route Dampening Algorithm penalty suppress limit reuse limit Each time a route flaps, increase the penalty If the route has not flapped in the last half-life time units, then cut penalty in half. If the penalty > suppress limit, then suppress the route If the penalty < reuse limit, then free a suppressed route time SPRINT N. Taft 71 SPRINT N. Taft 72 12

13 Side Effect of Route Dampening Aggregation can help route flapping A legitimate update may arrive and it will be ignored because that route has been suppressed and not yet released. The modification needed for the legitimate announcement is delayed If a more-specific route is flapping, but provider only announces aggregated prefix, then other networks don t see route flap. Hence aggregation can mask route flapping. Aggregation helps combat instability because it reduces the number of networks visible in the core Internet. not flapping flapping Tier 1 provider /16 Tier 2 provider /24 SPRINT N. Taft 73 SPRINT N. Taft 74 Long Term Growth Trends in Internet Routing Growth of BGP Tables Will this routing system be able to scale and meet the growth of the Internet and its ever-expanding level of demands? Are there any inherent limitations? As more devices connect to Internet and consume addresses, the need to maintain reachability to these addresses implies larger routing tables What is the ability of the system to produce a stable view of the overall network topology? SPRINT N. Taft 75 SPRINT N. Taft 76 BGP Table Growth ( ) AS Number Growth SPRINT N. Taft 77 SPRINT N. Taft 78 13

14 Reasons for Exponential Growth Increasing fine levels of routing details in BGP table MeasuresGrowthNumber of AS sgrowing exponentially - 50%ye AS space growth at 50% & addresses spanned by the table growing at 7% => each AS advertising smaller address ranges /24 is fastest growth prefix in table (in absolute terms). /24 - /31 is area with fastest relative growth 1999: average span of prefix 16,000 addresses (mean prefix length 18.03) 2000: average span of prefix 12,000 addresses (mean prefix length 18.44) Data in last 3 slides from Geoff Huston s INET publications SPRINT N. Taft 79 SPRINT N. Taft 80 Holes When both aggregated prefix and a more-specific prefix exist in the table, the more-specific prefix is called a hole. Why are holes created? Punch hole in policy of larger aggregated announcement to create a different policy for finer announcement. Load sharing in multihoming scenario reliability via multihoming 37% of BGP table is holes. Multihoming vs. Resiliency Multiple peering relationships can be cheaper than using a single upstream provider implies: multihoming is seen as a substitute for upstream service resiliency Impact providers can t command a price for reliability, and thus don t spend money to engineer it into network. resiliency is becoming responsibility of not provider Can BGP scale adequately to continue to undertake this role? SPRINT N. Taft 81 SPRINT N. Taft 82 Conclusions Bibliography Things are getting better (stability) router software and configuration management are maturing increased emphasis on aggregation and route dampening are helping Things are getting worse (scalability) multihoming is still growing internet topology growing less hierarchical noise in BGP table is growing PapersM. Faloutsos, P. Faloutsos and C. Faloutsos. On Power-Law Relationships of the Internet Topology Geoff Huston. Interconnection, Peering and Settlements. Proceedings of INET, June 1999.Geoff Huston. SPRINT N. Taft 83 SPRINT N. Taft 84 14

15 Bibliography (cont d) C. Labovitz, R. Wattenhofer, S. Venkatachary and A. Ahuja. The Impact of Internet Policy and Topologyo SPRINT N. Taft 85 15

EE 122: Inter-domain routing Border Gateway Protocol (BGP)

EE 122: Inter-domain routing Border Gateway Protocol (BGP) EE 122: Inter-domain routing Border Gateway Protocol (BGP) Ion Stoica October 2, 2002 (* this presentation is based on Lakshmi Subramanian s slides) Big Picture Large ISP Large ISP St u b D i al - U p

More information

Other Developments: CIDR

Other Developments: CIDR Other Developments: CIDR CIDR (classless Inter domain routing) Too many small networks requiring multiple class C addresses Running out of class B addresses, not enough nets in class A Assign contiguous

More information

Internet inter-as routing: BGP

Internet inter-as routing: BGP Internet inter-as routing: BGP BGP (Border Gateway Protocol): the de facto standard BGP provides each AS a means to: 1. Obtain subnet reachability information from neighboring ASs. 2. Propagate the reachability

More information

Configuring BGP. Cisco s BGP Implementation

Configuring BGP. Cisco s BGP Implementation Configuring BGP This chapter describes how to configure Border Gateway Protocol (BGP). For a complete description of the BGP commands in this chapter, refer to the BGP s chapter of the Network Protocols

More information

Configuring BGP community 43 Configuring a BGP route reflector 44 Configuring a BGP confederation 44 Configuring BGP GR 45 Enabling Guard route

Configuring BGP community 43 Configuring a BGP route reflector 44 Configuring a BGP confederation 44 Configuring BGP GR 45 Enabling Guard route Contents Configuring BGP 1 Overview 1 BGP speaker and BGP peer 1 BGP message types 1 BGP path attributes 2 BGP route selection 6 BGP route advertisement rules 6 BGP load balancing 6 Settlements for problems

More information

internet technologies and standards

internet technologies and standards Institute of Telecommunications Warsaw University of Technology internet technologies and standards Piotr Gajowniczek BGP (Border Gateway Protocol) structure of the Internet Tier 1 ISP Tier 1 ISP Google

More information

Lecture 16: Interdomain Routing. CSE 123: Computer Networks Stefan Savage

Lecture 16: Interdomain Routing. CSE 123: Computer Networks Stefan Savage Lecture 16: Interdomain Routing CSE 123: Computer Networks Stefan Savage Overview Autonomous Systems Each network on the Internet has its own goals Path-vector Routing Allows scalable, informed route selection

More information

Interdomain Routing Reading: Sections P&D 4.3.{3,4}

Interdomain Routing Reading: Sections P&D 4.3.{3,4} Interdomain Routing Reading: Sections P&D 4.3.{3,4} EE122: Intro to Communication Networks Fall 2006 (MW 4:00-5:30 in Donner 155) Vern Paxson TAs: Dilip Antony Joseph and Sukun Kim http://inst.eecs.berkeley.edu/~ee122/

More information

PART III. Implementing Inter-Network Relationships with BGP

PART III. Implementing Inter-Network Relationships with BGP PART III Implementing Inter-Network Relationships with BGP ICNP 2002 Routing Protocols Autonomous System BGP-4 BGP = Border Gateway Protocol Is a Policy-Based routing protocol Is the de facto EGP of today

More information

Configuration prerequisites 45 Configuring BGP community 45 Configuring a BGP route reflector 46 Configuring a BGP confederation 46 Configuring BGP

Configuration prerequisites 45 Configuring BGP community 45 Configuring a BGP route reflector 46 Configuring a BGP confederation 46 Configuring BGP Contents Configuring BGP 1 Overview 1 BGP speaker and BGP peer 1 BGP message types 1 BGP path attributes 2 BGP route selection 6 BGP route advertisement rules 6 BGP load balancing 6 Settlements for problems

More information

Graph abstraction: costs. Graph abstraction 10/26/2018. Interplay between routing and forwarding

Graph abstraction: costs. Graph abstraction 10/26/2018. Interplay between routing and forwarding 0/6/08 Interpla between routing and forwarding Routing Algorithms Link State Distance Vector BGP routing routing algorithm local forwarding table header value output link 000 00 0 00 value in arriving

More information

This appendix contains supplementary Border Gateway Protocol (BGP) information and covers the following topics:

This appendix contains supplementary Border Gateway Protocol (BGP) information and covers the following topics: Appendix C BGP Supplement This appendix contains supplementary Border Gateway Protocol (BGP) information and covers the following topics: BGP Route Summarization Redistribution with IGPs Communities Route

More information

CSCD 433/533 Network Programming Fall Lecture 14 Global Address Space Autonomous Systems, BGP Protocol Routing

CSCD 433/533 Network Programming Fall Lecture 14 Global Address Space Autonomous Systems, BGP Protocol Routing CSCD 433/533 Network Programming Fall 2012 Lecture 14 Global Address Space Autonomous Systems, BGP Protocol Routing 1 Topics Interdomain Routing BGP Interdomain Routing Benefits vs. Link State Routing

More information

LACNIC XIII. Using BGP for Traffic Engineering in an ISP

LACNIC XIII. Using BGP for Traffic Engineering in an ISP LACNIC XIII Using BGP for Traffic Engineering in an ISP Program Using BGP Attributes Implementing IBGP Implementing EBGP Emphasis in Stability, Scalability and Configuration Examples BGP Review Why use

More information

BGP. BGP Overview. Formats of BGP Messages. I. Header

BGP. BGP Overview. Formats of BGP Messages. I. Header Overview Three early versions of are -1 (RFC1105), -2 (RFC1163) and -3 (RFC1267). The current version in use is -4 (RFC1771). -4 is rapidly becoming the defacto Internet exterior routing protocol standard

More information

Internet Routing Protocols Lecture 03 Inter-domain Routing

Internet Routing Protocols Lecture 03 Inter-domain Routing Internet Routing Protocols Lecture 03 Inter-domain Routing Advanced Systems Topics Lent Term, 2008 Timothy G. Griffin Computer Lab Cambridge UK Autonomous Routing Domains A collection of physical networks

More information

BGP Scaling Techniques

BGP Scaling Techniques BGP Scaling Techniques 1 BGP Scaling Techniques Original BGP specification and implementation was fine for the Internet of the early 1990s But didn t scale Issues as the Internet grew included: Scaling

More information

Inter-domain Routing. Outline. Border Gateway Protocol

Inter-domain Routing. Outline. Border Gateway Protocol Inter-domain Routing Outline Border Gateway Protocol Internet Structure Original idea CS 640 2 Internet Structure Today CS 640 3 Route Propagation in the Internet Autonomous System (AS) corresponds to

More information

TELE 301 Network Management

TELE 301 Network Management TELE 301 Network Management Lecture 24: Exterior Routing and BGP Haibo Zhang Computer Science, University of Otago TELE301 Lecture 16: Remote Terminal Services 1 Today s Focus How routing between different

More information

BGP Scaling Techniques

BGP Scaling Techniques BGP Scaling Techniques ISP Workshops These materials are licensed under the Creative Commons Attribution-NonCommercial 4.0 International license (http://creativecommons.org/licenses/by-nc/4.0/) Last updated

More information

Protecting an EBGP peer when memory usage reaches level 2 threshold 66 Configuring a large-scale BGP network 67 Configuring BGP community 67

Protecting an EBGP peer when memory usage reaches level 2 threshold 66 Configuring a large-scale BGP network 67 Configuring BGP community 67 Contents Configuring BGP 1 Overview 1 BGP speaker and BGP peer 1 BGP message types 1 BGP path attributes 2 BGP route selection 6 BGP route advertisement rules 6 BGP load balancing 6 Settlements for problems

More information

Interdomain Routing Reading: Sections K&R EE122: Intro to Communication Networks Fall 2007 (WF 4:00-5:30 in Cory 277)

Interdomain Routing Reading: Sections K&R EE122: Intro to Communication Networks Fall 2007 (WF 4:00-5:30 in Cory 277) Interdomain Routing Reading: Sections K&R 4.6.3 EE122: Intro to Communication Networks Fall 2007 (WF 4:00-5:30 in Cory 277) Guest Lecture by Brighten Godfrey Instructor: Vern Paxson TAs: Lisa Fowler, Daniel

More information

BGP Commands. Network Protocols Command Reference, Part 1 P1R-355

BGP Commands. Network Protocols Command Reference, Part 1 P1R-355 BGP Commands Use the commands in this chapter to configure and monitor Border Gateway Protocol (BGP). For BGP configuration information and examples, refer to the Configuring BGP chapter of the Network

More information

CS4450. Computer Networks: Architecture and Protocols. Lecture 15 BGP. Spring 2018 Rachit Agarwal

CS4450. Computer Networks: Architecture and Protocols. Lecture 15 BGP. Spring 2018 Rachit Agarwal CS4450 Computer Networks: Architecture and Protocols Lecture 15 BGP Spring 2018 Rachit Agarwal Autonomous System (AS) or Domain Region of a network under a single administrative entity Border Routers Interior

More information

BGP. Autonomous system (AS) BGP version 4

BGP. Autonomous system (AS) BGP version 4 BGP Border Gateway Protocol (an introduction) dr. C. P. J. Koymans Informatics Institute University of Amsterdam March 11, 2008 General ideas behind BGP Background Providers, Customers and Peers External

More information

The Contemporary Internet p. 3 Evolution of the Internet p. 5 Origins and Recent History of the Internet p. 5 From ARPANET to NSFNET p.

The Contemporary Internet p. 3 Evolution of the Internet p. 5 Origins and Recent History of the Internet p. 5 From ARPANET to NSFNET p. The Contemporary Internet p. 3 Evolution of the Internet p. 5 Origins and Recent History of the Internet p. 5 From ARPANET to NSFNET p. 7 The Internet Today p. 8 NSFNET Solicitations p. 10 Network Access

More information

BGP101. Howard C. Berkowitz. (703)

BGP101. Howard C. Berkowitz. (703) BGP101 Howard C. Berkowitz hcb@clark.net (703)998-5819 What is the Problem to be Solved? Just configuring the protocol? Participating in the Internet and/or running Virtual Private Networks A Life Cycle

More information

Table of Contents. BGP Configuration 1

Table of Contents. BGP Configuration 1 Table of Contents BGP Configuration 1 BGP Overview 1 Formats of BGP Messages 2 BGP Path Attributes 5 BGP Route Selection 9 ibgp and IGP Synchronization 11 Settlements for Problems in Large Scale BGP Networks

More information

Connecting to a Service Provider Using External BGP

Connecting to a Service Provider Using External BGP Connecting to a Service Provider Using External BGP First Published: May 2, 2005 Last Updated: August 21, 2007 This module describes configuration tasks that will enable your Border Gateway Protocol (BGP)

More information

Internet Interconnection Structure

Internet Interconnection Structure Internet Interconnection Structure Basic Concepts (1) Internet Service Provider (ISP) Provider who connects an end user customer with the Internet in one or few geographic regions. National & Regional

More information

BGP Configuration. BGP Overview. Introduction to BGP. Formats of BGP Messages. Header

BGP Configuration. BGP Overview. Introduction to BGP. Formats of BGP Messages. Header Table of Contents BGP Configuration 1 BGP Overview 1 Introduction to BGP 1 Formats of BGP Messages 1 BGP Path Attributes 4 BGP Route Selection 8 Configuring BGP 8 Configuration Prerequisites 8 Configuration

More information

Configuring Advanced BGP

Configuring Advanced BGP CHAPTER 6 This chapter describes how to configure advanced features of the Border Gateway Protocol (BGP) on the Cisco NX-OS switch. This chapter includes the following sections: Information About Advanced

More information

Routing Between Autonomous Systems (Example: BGP4) RFC 1771

Routing Between Autonomous Systems (Example: BGP4) RFC 1771 CS 4/55231 Internet Engineering Kent State University Dept. of Computer Science LECT-7B Routing Between Autonomous Systems (Example: BGP4) RFC 1771 52 53 BGP4 Overview Example of Operations BGP4 is a path

More information

Lecture 18: Border Gateway Protocol

Lecture 18: Border Gateway Protocol Lecture 18: Border Gateway Protocol CSE 123: Computer Networks Alex C. Snoeren HW 3 due Wednesday Some figures courtesy Mike Freedman & Craig Labovitz Lecture 18 Overview Path-vector Routing Allows scalable,

More information

Introduction. Keith Barker, CCIE #6783. YouTube - Keith6783.

Introduction. Keith Barker, CCIE #6783. YouTube - Keith6783. Understanding, Implementing and troubleshooting BGP 01 Introduction http:// Instructor Introduction Keith Barker, CCIE #6783 CCIE Routing and Switching 2001 CCIE Security 2003 kbarker@ine.com YouTube -

More information

COMP/ELEC 429 Introduction to Computer Networks

COMP/ELEC 429 Introduction to Computer Networks COMP/ELEC 429 Introduction to Computer Networks Lecture 11: Inter-domain routing Slides used with permissions from Edward W. Knightly, T. S. Eugene Ng, Ion Stoica, Hui Zhang T. S. Eugene Ng eugeneng at

More information

CS BGP v4. Fall 2014

CS BGP v4. Fall 2014 CS 457 - BGP v4 Fall 2014 Autonomous Systems What is an AS? a set of routers under a single technical administration uses an interior gateway protocol (IGP) and common metrics to route packets within the

More information

Table of Contents 1 BGP Configuration 1-1

Table of Contents 1 BGP Configuration 1-1 Table of Contents 1 BGP Configuration 1-1 BGP Overview 1-1 Formats of BGP Messages 1-2 BGP Path Attributes 1-4 BGP Route Selection 1-8 ibgp and IGP Synchronization 1-11 Settlements for Problems in Large

More information

Configuring Internal BGP Features

Configuring Internal BGP Features This module describes how to configure internal Border Gateway Protocol (BGP) features. Internal BGP (ibgp) refers to running BGP on networking devices within one autonomous system. BGP is an interdomain

More information

Internet Routing Protocols Lecture 01 & 02

Internet Routing Protocols Lecture 01 & 02 Internet Routing Protocols Lecture 01 & 02 Advanced Systems Topics Lent Term, 2010 Timothy G. Griffin Computer Lab Cambridge UK Internet Routing Outline Lecture 1 : Inter-domain routing architecture, the

More information

CS4700/CS5700 Fundamentals of Computer Networks

CS4700/CS5700 Fundamentals of Computer Networks CS4700/CS5700 Fundamentals of Computer Networks Lecture 12: Inter-domain routing Slides used with permissions from Edward W. Knightly, T. S. Eugene Ng, Ion Stoica, Hui Zhang Alan Mislove amislove at ccs.neu.edu

More information

BGP. Autonomous system (AS) BGP version 4

BGP. Autonomous system (AS) BGP version 4 BGP Border Gateway Protocol (an introduction) Karst Koymans Informatics Institute University of Amsterdam (version 1.5, 2011/03/06 13:35:28) Monday, March 7, 2011 General ideas behind BGP Background Providers,

More information

Inter-Domain Routing: BGP

Inter-Domain Routing: BGP Inter-Domain Routing: BGP Richard T. B. Ma School of Computing National University of Singapore CS 3103: Compute Networks and Protocols Inter-Domain Routing Internet is a network of networks Hierarchy

More information

BGP. Autonomous system (AS) BGP version 4

BGP. Autonomous system (AS) BGP version 4 BGP Border Gateway Protocol (an introduction) dr. C. P. J. Koymans Informatics Institute University of Amsterdam (version 1.3, 2010/03/10 20:05:02) Monday, March 8, 2010 General ideas behind BGP Background

More information

Operation Manual BGP. Table of Contents

Operation Manual BGP. Table of Contents Table of Contents Table of Contents... 1-1 1.1 BGP/MBGP Overview... 1-1 1.1.1 Introduction to BGP... 1-1 1.1.2 BGP Message Types... 1-2 1.1.3 BGP Routing Mechanism... 1-2 1.1.4 MBGP... 1-3 1.1.5 BGP Peer

More information

BGP Commands. Network Protocols Command Reference, Part 1 P1R-355

BGP Commands. Network Protocols Command Reference, Part 1 P1R-355 BGP Commands Use the commands in this chapter to configure and monitor Border Gateway Protocol (BGP). For BGP configuration information and examples, refer to the Configuring BGP chapter of the Network

More information

Connecting to a Service Provider Using External BGP

Connecting to a Service Provider Using External BGP Connecting to a Service Provider Using External BGP This module describes configuration tasks that will enable your Border Gateway Protocol (BGP) network to access peer devices in external networks such

More information

BGP. Autonomous system (AS) BGP version 4. Definition (AS Autonomous System)

BGP. Autonomous system (AS) BGP version 4. Definition (AS Autonomous System) BGP Border Gateway Protocol (an introduction) Karst Koymans Informatics Institute University of Amsterdam (version 1.9, 2012/03/14 10:21:22) Monday, March 12, 2012 General ideas behind BGP Background Providers,

More information

CS 640: Introduction to Computer Networks. Intra-domain routing. Inter-domain Routing: Hierarchy. Aditya Akella

CS 640: Introduction to Computer Networks. Intra-domain routing. Inter-domain Routing: Hierarchy. Aditya Akella CS 640: Introduction to Computer Networks Aditya Akella Lecture 11 - Inter-Domain Routing - BGP (Border Gateway Protocol) Intra-domain routing The Story So Far Routing protocols generate the forwarding

More information

Module 6 Implementing BGP

Module 6 Implementing BGP Module 6 Implementing BGP Lesson 1 Explaining BGP Concepts and Terminology BGP Border Gateway Protocol Using BGP to Connect to the Internet If only one ISP, do not need BGP. If multiple ISPs, use BGP,

More information

IP Addressing & Interdomain Routing. Next Topic

IP Addressing & Interdomain Routing. Next Topic IP Addressing & Interdomain Routing Next Topic IP Addressing Hierarchy (prefixes, class A, B, C, subnets) Interdomain routing Application Presentation Session Transport Network Data Link Physical Scalability

More information

Lecture 17: Border Gateway Protocol

Lecture 17: Border Gateway Protocol Lecture 17: Border Gateway Protocol CSE 123: Computer Networks Alex C. Snoeren Some figures courtesy Mike Freedman Lecture 18 Overview Border Gateway Protocol (BGP) The canonical path vector protocol How

More information

Routing Unicast routing protocols

Routing Unicast routing protocols Routing Unicast routing protocols Jens A Andersson Electrical and Information Technology R1 Choosing an Optimal Path R4 5 R7 5 10 40 R6 6 5 B R2 15 A 20 4 10 10 R8 R3 5 10 R5 1 Router A router is a type

More information

Chapter 13 Configuring BGP4

Chapter 13 Configuring BGP4 Chapter 13 Configuring BGP4 This chapter provides details on how to configure Border Gateway Protocol version 4 (BGP4) on HP products using the CLI and the Web management interface. BGP4 is supported on

More information

Next Lecture: Interdomain Routing : Computer Networking. Outline. Routing Hierarchies BGP

Next Lecture: Interdomain Routing : Computer Networking. Outline. Routing Hierarchies BGP Next Lecture: Interdomain Routing BGP 15-744: Computer Networking L-3 BGP Assigned Reading MIT BGP Class Notes [Gao00] On Inferring Autonomous System Relationships in the Internet Ooops 2 Outline Need

More information

Ravi Chandra cisco Systems Cisco Systems Confidential

Ravi Chandra cisco Systems Cisco Systems Confidential BGP4 1 Ravi Chandra cisco Systems 0799_04F7_c2 Cisco Systems Confidential 2 Border Gateway Protocol (BGP) Introduction to BGP BGP Peer Relationship BGP Attributes Applying Policy with BGP Putting it all

More information

Internet Routing : Fundamentals of Computer Networks Bill Nace

Internet Routing : Fundamentals of Computer Networks Bill Nace Internet Routing 14-740: Fundamentals of Computer Networks Bill Nace Material from Computer Networking: A Top Down Approach, 6 th edition. J.F. Kurose and K.W. Ross Looking Ahead Lab #2 just due Quiz #2

More information

Inter-AS routing. Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley

Inter-AS routing. Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley Inter-AS routing Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley Some materials copyright 1996-2012 J.F Kurose and K.W. Ross, All Rights Reserved Chapter 4:

More information

BGP. Autonomous system (AS) BGP version 4. Definition (AS Autonomous System)

BGP. Autonomous system (AS) BGP version 4. Definition (AS Autonomous System) BGP Border Gateway Protocol (an introduction) Karst Koymans Informatics Institute University of Amsterdam (version 310, 2014/03/11 10:50:06) Monday, March 10, 2014 General ideas behind BGP Background Providers,

More information

Outline Computer Networking. Inter and Intra-Domain Routing. Internet s Area Hierarchy Routing hierarchy. Internet structure

Outline Computer Networking. Inter and Intra-Domain Routing. Internet s Area Hierarchy Routing hierarchy. Internet structure Outline 15-441 15-441 Computer Networking 15-641 Lecture 10: Inter-Domain outing Border Gateway Protocol -BGP Peter Steenkiste Fall 2016 www.cs.cmu.edu/~prs/15-441-f16 outing hierarchy Internet structure

More information

Internet Protocols Fall Lectures Inter-domain routing, mobility support, multicast routing Andreas Terzis

Internet Protocols Fall Lectures Inter-domain routing, mobility support, multicast routing Andreas Terzis Internet Protocols Fall 2006 Lectures 11-12 Inter-domain routing, mobility support, multicast routing Andreas Terzis Outline Inter-domain Internet Routing BGP Routing for mobile nodes Multicast routing

More information

CS 457 Networking and the Internet. The Global Internet (Then) The Global Internet (And Now) 10/4/16. Fall 2016

CS 457 Networking and the Internet. The Global Internet (Then) The Global Internet (And Now) 10/4/16. Fall 2016 CS 457 Networking and the Internet Fall 2016 The Global Internet (Then) The tree structure of the Internet in 1990 The Global Internet (And Now) A simple multi-provider Internet 1 The Global Internet Some

More information

LARGE SCALE IP ROUTING LECTURE BY SEBASTIAN GRAF

LARGE SCALE IP ROUTING LECTURE BY SEBASTIAN GRAF LARGE SCALE IP ROUTING LECTURE BY SEBASTIAN GRAF MODULE 3 BORDER GATEWAY PROTOCOL 1 by Xantaro Interdomain Routing The Internet is a collection of autonomous systems An autonomous system (AS) is a collection

More information

BGP for Internet Service Providers

BGP for Internet Service Providers BGP for Internet Service Providers Philip Smith Seoul KIOW 2002 1 BGP current status RFC1771 is quite old, and no longer reflects current operational practice nor vendor implementations

More information

CS519: Computer Networks. Lecture 4, Part 5: Mar 1, 2004 Internet Routing:

CS519: Computer Networks. Lecture 4, Part 5: Mar 1, 2004 Internet Routing: : Computer Networks Lecture 4, Part 5: Mar 1, 2004 Internet Routing: AS s, igp, and BGP As we said earlier, the Internet is composed of Autonomous Systems (ASs) Where each AS is a set of routers, links,

More information

Lecture 16: Border Gateway Protocol

Lecture 16: Border Gateway Protocol Lecture 16: Border Gateway Protocol CSE 123: Computer Networks Alex C. Snoeren Some figures courtesy Mike Freedman Lecture 16 Overview Border Gateway Protocol (BGP) The canonical path vector protocol How

More information

CS 268: Computer Networking. Next Lecture: Interdomain Routing

CS 268: Computer Networking. Next Lecture: Interdomain Routing CS 268: Computer Networking L-3 BGP Next Lecture: Interdomain Routing BGP Assigned Reading MIT BGP Class Notes [Gao00] On Inferring Autonomous System Relationships in the Internet 2 Outline Need for hierarchical

More information

Routing. Jens A Andersson Communication Systems

Routing. Jens A Andersson Communication Systems Routing Jens A Andersson Communication Systems R1 Choosing an Optimal Path R4 5 R7 5 10 40 R6 6 5 B R2 15 A 20 4 10 10 R8 R3 5 R5 10 Router A router is a type of internetworking device that passes data

More information

Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA. 0945_05F9_c1.scr 1. RST _05_2001_c1

Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA. 0945_05F9_c1.scr 1. RST _05_2001_c1 3003_05_2001_c1 2001, Cisco Systems, Inc. All rights reserved. 1 0945_05F9_c1.scr 1 Introduction to BGP Scalable, Stable, Simple Session 3003_05_2001_c1 2001, Cisco Systems, Inc. All rights reserved. 3

More information

Advanced Computer Networks

Advanced Computer Networks Advanced Computer Networks External Routing - BGP protocol Prof. Andrzej Duda duda@imag.fr Contents Autonomous systems Interconnection of ASs Path vector routing BGP types of AS protocol structure of BGP

More information

BGP Multihoming ISP/IXP Workshops

BGP Multihoming ISP/IXP Workshops BGP Multihoming ISP/IXP 1 Why Multihome? Redundancy One connection to internet means the network is dependent on: Local router (configuration, software, hardware) WAN media (physical failure, carrier failure)

More information

Routing on the Internet. Routing on the Internet. Hierarchical Routing. Computer Networks. Lecture 17: Inter-domain Routing and BGP

Routing on the Internet. Routing on the Internet. Hierarchical Routing. Computer Networks. Lecture 17: Inter-domain Routing and BGP Routing on the Internet Computer Networks Lecture 17: Inter-domain Routing and BGP In the beginning there was the ARPANET: route using GGP (Gateway-to-Gateway Protocol), a distance vector routing protocol

More information

Q&As. CCIP Configuring BGP on Cisco Routers (BGP) Pass Cisco Exam with 100% Guarantee

Q&As. CCIP Configuring BGP on Cisco Routers (BGP) Pass Cisco Exam with 100% Guarantee 642-661 Q&As CCIP Configuring BGP on Cisco Routers (BGP) Pass Cisco 642-661 Exam with 100% Guarantee Free Download Real Questions & Answers PDF and VCE file from: 100% Passing Guarantee 100% Money Back

More information

Border Gateway Protocol (an introduction) Karst Koymans. Monday, March 10, 2014

Border Gateway Protocol (an introduction) Karst Koymans. Monday, March 10, 2014 .. BGP Border Gateway Protocol (an introduction) Karst Koymans Informatics Institute University of Amsterdam (version 3.10, 2014/03/11 10:50:06) Monday, March 10, 2014 Karst Koymans (UvA) BGP Monday, March

More information

Cisco CISCO Configuring BGP on Cisco Routers Exam. Practice Test. Version

Cisco CISCO Configuring BGP on Cisco Routers Exam. Practice Test. Version Cisco 642-661 CISCO 642-661 Configuring BGP on Cisco Routers Exam Practice Test Version 3.3 QUESTION NO: 1 Why can using the ip tcp path-mtu-discovery command improve BGP convergence? A. Smaller MSS sizes

More information

Advanced Computer Networks

Advanced Computer Networks Advanced Computer Networks More on BGP Jianping Pan Summer 2007 7/4/07 csc485b/586b/seng480b 1 Review: BGP Border Gateway Protocol path vector routing prefix: AS-path policy-based routing import/export

More information

6.829 BGP Recitation. Rob Beverly September 29, Addressing and Assignment

6.829 BGP Recitation. Rob Beverly September 29, Addressing and Assignment 6.829 BGP Recitation Rob Beverly September 29, 2006 Addressing and Assignment 1 Area-Routing Review Why does Internet Scale? Hierarchical Addressing How are addresses assigned? Classfull

More information

BGP and the Internet. Why Multihome? Why Multihome? Why Multihome? Why Multihome? Why Multihome? Redundancy. Reliability

BGP and the Internet. Why Multihome? Why Multihome? Why Multihome? Why Multihome? Why Multihome? Redundancy. Reliability Why Multihome? BGP and the Internet Multihoming Redundancy One connection to internet means the network is dependent on: Local router (configuration, software, hardware) WN media (physical failure, carrier

More information

BGP. Border Gateway Protocol A short introduction. Karst Koymans. Informatics Institute University of Amsterdam. (version 18.3, 2018/12/03 13:53:22)

BGP. Border Gateway Protocol A short introduction. Karst Koymans. Informatics Institute University of Amsterdam. (version 18.3, 2018/12/03 13:53:22) BGP Border Gateway Protocol A short introduction Karst Koymans Informatics Institute University of Amsterdam (version 18.3, 2018/12/03 13:53:22) Tuesday, December 4, 2018 Karst Koymans (UvA) BGP Tuesday,

More information

CS 268: Computer Networking

CS 268: Computer Networking CS 268: Computer Networking L-3 BGP Outline BGP ASes, Policies BGP Attributes BGP Path Selection ibgp 2 1 Autonomous Systems (ASes) Autonomous Routing Domain Glued together by a common administration,

More information

Inter-Domain Routing: BGP II

Inter-Domain Routing: BGP II Inter-Domain Routing: BGP II Mark Handley UCL Computer Science CS 3035/GZ01 BGP Protocol (cont d) BGP doesn t chiefly aim to compute shortest paths (or minimize other metric, as do DV, LS) Chief purpose

More information

IBGP internals. BGP Advanced Topics. Agenda. BGP Continuity 1. L49 - BGP Advanced Topics. L49 - BGP Advanced Topics

IBGP internals. BGP Advanced Topics. Agenda. BGP Continuity 1. L49 - BGP Advanced Topics. L49 - BGP Advanced Topics IBGP internals BGP Advanced Topics main IBGP aspects inside an AS continuity all packets entering the AS that were not blocked by some policies should reach the proper exit BGP router all transit routers

More information

BGP. Autonomous system (AS) BGP version 4. Definition (AS Autonomous System)

BGP. Autonomous system (AS) BGP version 4. Definition (AS Autonomous System) BGP Border Gateway Protocol A short introduction Karst Koymans Informatics Institute University of Amsterdam (version 18.3, 2018/12/03 13:53:22) Tuesday, December 4, 2018 General ideas behind BGP Background

More information

Professor Yashar Ganjali Department of Computer Science University of Toronto.

Professor Yashar Ganjali Department of Computer Science University of Toronto. Professor Yashar Ganjali Department of Computer Science University of Toronto yganjali@cs.toronto.edu http://www.cs.toronto.edu/~yganjali Announcements Don t forget the programming assignment Due: Friday

More information

Border Gateway Protocol (BGP-4)

Border Gateway Protocol (BGP-4) Vanguard Applications Ware IP and LAN Feature Protocols Border Gateway Protocol (BGP-4) Notice 2008 Vanguard Networks 25 Forbes Blvd Foxboro, MA 02035 Phone: (508) 964 6200 Fax: (508) 543 0237 All rights

More information

15-744: Computer Networking BGP

15-744: Computer Networking BGP 15-744: Computer Networking BGP Next Lecture: Interdomain Routing BGP Assigned Reading MIT BGP Class Notes [Gao00] On Inferring Autonomous System Relationships in the Internet 2 Outline Need for hierarchical

More information

Interdomain Routing. EE122 Fall 2011 Scott Shenker

Interdomain Routing. EE122 Fall 2011 Scott Shenker Interdomain Routing EE122 Fall 2011 Scott Shenker http://inst.eecs.berkeley.edu/~ee122/ Materials with thanks to Jennifer Rexford, Ion Stoica, Vern Paxson and other colleagues at Princeton and UC Berkeley

More information

BGP. BGP Overview. BGP Operation. BGP Neighbors

BGP. BGP Overview. BGP Operation. BGP Neighbors BGP BGP Overview BGP Operation BGP Neighbors BGP Overview AS - Autonomous Systems Multihoming IGP vs. EGP When to use BGP? 2 BGP Overview AS - Autonomous Systems Multihoming IGP vs. EGP When to use BGP?

More information

Configuring BGP on Cisco Routers Volume 1

Configuring BGP on Cisco Routers Volume 1 Volume 1 I. Course Introduction A. Overview/Learner Skills and Knowledge B. Course Flow C. Additional References 1. Cisco Glossary of Terms D. Your Training Curriculum II. BGP Overview III. Introducing

More information

Inter-Domain Routing: BGP II

Inter-Domain Routing: BGP II Inter-Domain Routing: BGP II Brad Karp UCL Computer Science (drawn mostly from lecture notes by Hari Balakrishnan and Nick Feamster, MIT) CS 05/GZ01 4 th December 2014 BGP Protocol (cont d) BGP doesn t

More information

Internetworking: Global Internet and MPLS. Hui Chen, Ph.D. Dept. of Engineering & Computer Science Virginia State University Petersburg, VA 23806

Internetworking: Global Internet and MPLS. Hui Chen, Ph.D. Dept. of Engineering & Computer Science Virginia State University Petersburg, VA 23806 Internetworking: Global Internet and MPLS Hui Chen, Ph.D. Dept. of Engineering & Computer Science Virginia State University Petersburg, VA 23806 10/19/2016 CSCI 445 Fall 2016 1 Acknowledgements Some pictures

More information

IBGP scaling: Route reflectors and confederations

IBGP scaling: Route reflectors and confederations DD2491 p2 2009/2010 IBGP scaling: Route reflectors and confederations Olof Hagsand KTH /CSC 1 Literature Route Reflectors Practical BGP pages 135 153 RFC 4456 Confederations Practical BGP pages 153 160

More information

BGP. Border Gateway Protocol (an introduction) Karst Koymans. Informatics Institute University of Amsterdam. (version 17.3, 2017/12/04 13:20:08)

BGP. Border Gateway Protocol (an introduction) Karst Koymans. Informatics Institute University of Amsterdam. (version 17.3, 2017/12/04 13:20:08) BGP Border Gateway Protocol (an introduction) Karst Koymans Informatics Institute University of Amsterdam (version 17.3, 2017/12/04 13:20:08) Tuesday, December 5, 2017 Karst Koymans (UvA) BGP Tuesday,

More information

Border Gateway Protocol

Border Gateway Protocol 39 CHAPTER Chapter Goals Understand the purpose of the. Explain BGP attributes and their use in route selection. Examine the BGP route selection process. Introduction The (BGP) is an interautonomous system

More information

BGP Protocol & Configuration. Scalable Infrastructure Workshop AfNOG2008

BGP Protocol & Configuration. Scalable Infrastructure Workshop AfNOG2008 BGP Protocol & Configuration Scalable Infrastructure Workshop AfNOG2008 Border Gateway Protocol (BGP4) Case Study 1, Exercise 1: Single upstream Part 6: BGP Protocol Basics Part 7: BGP Protocol - more

More information

BGP Attributes and Policy Control

BGP Attributes and Policy Control BGP Attributes and Policy Control ISP/IXP Workshops 1 Agenda BGP Attributes BGP Path Selection Applying Policy 2 BGP Attributes The tools available for the job 3 What Is an Attribute?... Next Hop......

More information

Chapter 17 BGP4 Commands

Chapter 17 BGP4 Commands Chapter 17 BGP4 Commands NOTE: This chapter describes commands in the BGP configuration level, which is present on HP devices that support IPv4 only. For information about BGP commands and configuration

More information

Border Gateway Protocol (an introduction) Karst Koymans. Tuesday, March 8, 2016

Border Gateway Protocol (an introduction) Karst Koymans. Tuesday, March 8, 2016 .. BGP Border Gateway Protocol (an introduction) Karst Koymans Informatics Institute University of Amsterdam (version 15.6, 2016/03/15 22:30:35) Tuesday, March 8, 2016 Karst Koymans (UvA) BGP Tuesday,

More information

Dynamics of Hot-Potato Routing in IP Networks

Dynamics of Hot-Potato Routing in IP Networks Dynamics of Hot-Potato Routing in IP Networks Jennifer Rexford AT&T Labs Research http://www.research.att.com/~jrex Joint work with Renata Teixeira (UCSD), Aman Shaikh (AT&T), and Timothy Griffin (Intel)

More information

CSCI-1680 Network Layer: Inter-domain Routing Rodrigo Fonseca

CSCI-1680 Network Layer: Inter-domain Routing Rodrigo Fonseca CSCI-1680 Network Layer: Inter-domain Routing Rodrigo Fonseca Based partly on lecture notes by Rob Sherwood, David Mazières, Phil Levis, John Janno? Administrivia Midterm moved up from 3/17 to 3/15 IP

More information