How the Internet works? The Border Gateway Protocol (BGP)

Size: px
Start display at page:

Download "How the Internet works? The Border Gateway Protocol (BGP)"

Transcription

1 Chair of Network Architectures and Services - Prof. Carle Department of Computer Science Technical University of Munich How the Internet works? The Border Gateway Protocol (BGP) Edwin Cordeiro ilab2 Lecture SS 2017 Technical University of Munich (TUM) Department of Informatics Chair of Network Architectures and Services

2 Outline Routing and Forwarding RIB and FIB Path Vector Protocols Border Gateway Protocol (BGP) Business Considerations and Policy routing BGP Table Considerations Internet Exchange Points (IXP) Edwin Cordeiro How the Internet works? The Border Gateway Protocol (BGP) ilab 2 Lecture SS

3 Routing Forwarding Routing: The process of determining the best path for specific types of packets (usually: all packets with the same destination) through the network (Traditionally) performed jointly by the routers of a network by exchanging messages Analogy: Read street map, plan journey Forwarding: The process where a router relays a packet to a neighbouring router. Selection of the neighbouring router depends on the previous routing protocol calculations Performed by one router on one packet Analogy: Read a street sign and determine if we should take the next exit In practice, this distinction is often ignored If router A routes packet X, then Actually, it doesn t it forwards X. Edwin Cordeiro How the Internet works? The Border Gateway Protocol (BGP) ilab 2 Lecture SS

4 Routing Information Base (RIB) Forwarding Information Base (RIB) Edwin Cordeiro How the Internet works? The Border Gateway Protocol (BGP) ilab 2 Lecture SS

5 Path Vector Protocols For each destination, advertise entire path (= sequence of node identifiers) to neighbours Cost calculation can be done by looking at path Count number of hops on the path Avoid paths containing some specific nodes Cheapest or most reliable route can be chosen Easy loop detection: Does my node ID already appear in the path? Notice: Distance Vector Protocols (choose cheapest path based on link cost ) and Link State Protocols (choose based on knowledge of all links of the network) will not be covered here Edwin Cordeiro How the Internet works? The Border Gateway Protocol (BGP) ilab 2 Lecture SS

6 Hierarchical Routing Aggregate routers into regions called autonomous systems (short: AS; plural: ASes) One AS is usually a network under central control i.e. one ISP / big company Routers in same AS run a routing protocol = intra-as routing protocol (also called intradomain ) ASes are connected: via gateway routers Direct link to [gateway] router in another AS = inter-as routing protocol (also called interdomain ) Warning: Non-gateway routers need to know about inter-as routing as well! Edwin Cordeiro How the Internet works? The Border Gateway Protocol (BGP) ilab 2 Lecture SS

7 Inter-AS Routing Suppose router in AS1 receives datagram destined outside of AS1: Router should forward packet to gateway router but to which one? AS1 must: 1. learn which destinations are reachable through AS2, which through AS3 2. propagate this reachability info to all routers in AS1 (i.e., not just the gateway routers) Job of inter-as routing! 3c 3b AS3 3a 1a 1c 1d 1bAS1 2a AS2 2c 2b Edwin Cordeiro How the Internet works? The Border Gateway Protocol (BGP) ilab 2 Lecture SS

8 Example: Choosing among multiple ASes Now suppose AS1 learns from inter-as protocol that subnet x is reachable from AS3 and from AS2. To configure forwarding table, router 1d must determine towards which gateway it should forward packets for destination x. Do we like AS2 or AS3 better? This decision is job of inter-as routing protocol 3c 3b AS3 3a x 1c 1a 1d 1b AS1 2a AS2 2c 2b Edwin Cordeiro How the Internet works? The Border Gateway Protocol (BGP) ilab 2 Lecture SS

9 Internet inter-as routing: BGP Border Gateway Protocol (BGP): De facto standard for inter-as routing BGP provides each AS a means to: Advertise the existence of an IP prefix to other AS: This subnet is here Obtain subnet reachability information from neighbouring AS. Determine good routes to subnets based on reachability information and policy. Propagate reachability information to all AS-internal routers. Edwin Cordeiro How the Internet works? The Border Gateway Protocol (BGP) ilab 2 Lecture SS

10 BGP basics Pairs of routers (BGP peers) exchange routing info over semi-permanent TCP connections: BGP sessions When AS2 advertises an IP prefix to AS1: AS2 promises it will forward IP packets towards that prefix AS2 can aggregate prefixes in its advertisement, for example: /24, /24, /23 into / :db8::/33, 2001:db8:8000::/33 into 2001:db8::/32 Edwin Cordeiro How the Internet works? The Border Gateway Protocol (BGP) ilab 2 Lecture SS

11 How does BGP work? BGP is a path vector protocol BGP messages exchanged using TCP BGP Message types: OPEN: set up new BGP session, after TCP handshake NOTIFICATION: an error occurred in previous message tear down BGP session, close TCP connection KEEPALIVE: null data to prevent TCP timeout/auto-close; also used to acknowledge OPEN message UPDATE: Announcement: inform peer about new / changed route to some target Withdrawal: inform peer about non-reachability of a target Edwin Cordeiro How the Internet works? The Border Gateway Protocol (BGP) ilab 2 Lecture SS

12 BGP updates Update (Announcement) message consists of Destinations (one or more IP prefix) AS Path (=Path vector) Next hop (=IP address of our router connecting to other AS) but update messages also contain a lot of further attributes: Local Preference: used to prefer one gateway over another Only communicated intra-as Origin: route learned via { intra-as inter-as other } Multi-Exit Discriminator, Community, It means BGP is not a pure path vector protocol, as it adds possibilities to the path vector idea. Edwin Cordeiro How the Internet works? The Border Gateway Protocol (BGP) ilab 2 Lecture SS

13 ebgp and ibgp External BGP (ebgp): between routers in different ASes Internal BGP (ibgp): between routers in same AS Remember: In spite of intra-as routing protocol, all routers need to know about external destinations (default ibgp route or full tables) No different protocols - just slightly different configurations! 3c x 3a 3b AS3 1a AS1 1c 1d ebgp session ibgp session 1b 2a 2c AS2 2b Edwin Cordeiro How the Internet works? The Border Gateway Protocol (BGP) ilab 2 Lecture SS

14 Distributing reachability info Using ebgp session between 3a and 1c, AS3 sends reachability info about prefix x to AS1. 1c can then use ibgp to distribute new prefix info to all routers in AS1 1b can then re-advertise new reachability info to AS2 over 1b-to-2a ebgp session When router learns of new prefix x, it creates a new entry for the prefix in its forwarding table. 3c x 3a 3b AS3 AS1 1a 1c 1d ebgp session ibgp session 1b 2a AS2 2c 2b Edwin Cordeiro How the Internet works? The Border Gateway Protocol (BGP) ilab 2 Lecture SS

15 Path attributes & BGP routes Advertised prefix includes [many] BGP attributes prefix + attributes = route Most important attributes: AS-PATH: contains ASes through which prefix advertisement has passed: e.g., AS 67, AS 17, AS 7018 NEXT-HOP: indicates specific internal-as router to next-hop AS (may be multiple links from current AS to next-hop-as) When gateway router receives route advertisement, it uses an import policy to accept/decline the route More on this later Edwin Cordeiro How the Internet works? The Border Gateway Protocol (BGP) ilab 2 Lecture SS

16 AS Numbers How do we express a BGP path? ASes identified by AS Numbers (short: ASN) Examples: Leibnitz-Rechenzentrum = AS12816 Deutsche Telekom = AS3320 TUM-I8-AS = AS56357 AT&T = AS7018, AS7132, AS2685, AS2686, AS2687 ASN assignment: similar to IP address space ASN space administered IANA Local registrars, e.g., RIPE NCC in Europe AS PATH specified by ASNs. The AS PATH does not contain IP addresses! Edwin Cordeiro How the Internet works? The Border Gateway Protocol (BGP) ilab 2 Lecture SS

17 BGP update: Very simple example Type: Announcement new route existing route has changed Destination prefix: /24 Edwin Cordeiro How the Internet works? The Border Gateway Protocol (BGP) ilab 2 Lecture SS

18 BGP update: Very simple example Type: Announcement new route existing route has changed Destination prefix: /24 AS Path: Edwin Cordeiro How the Internet works? The Border Gateway Protocol (BGP) ilab 2 Lecture SS

19 BGP update: Very simple example Type: Announcement new route existing route has changed Destination prefix: /24 AS Path: Originator: The AS that owns /24 Edwin Cordeiro How the Internet works? The Border Gateway Protocol (BGP) ilab 2 Lecture SS

20 BGP update: Very simple example Type: Announcement new route existing route has changed Destination prefix: /24 AS Path: Next Hop: Originator: The AS that owns /24 The router that connects the current AS to AS64496 Edwin Cordeiro How the Internet works? The Border Gateway Protocol (BGP) ilab 2 Lecture SS

21 BGP update: Very simple example Type: Announcement new route existing route has changed Destination prefix: /24 AS Path: Next Hop: Originator: The AS that owns /24 The router that connects the current AS to AS64496 How the update travelled Edwin Cordeiro How the Internet works? The Border Gateway Protocol (BGP) ilab 2 Lecture SS

22 BGP update: Very simple example Type: Announcement new route existing route has changed Destination prefix: /24 AS Path: Next Hop: Originator: The AS that owns /24 The router that connects the current AS to AS64496 How the update travelled How the IP packets will be forwarded (if this route gets chosen) Edwin Cordeiro How the Internet works? The Border Gateway Protocol (BGP) ilab 2 Lecture SS

23 BGP route selection Router may learn about more than 1 route to some prefix Router must select the best one among these Elimination rules (simplified): 1. Longest prefix match 2. Local preference value attribute: policy decision 3. Shortest AS-PATH 4. Closest NEXT-HOP router: hot potato routing 5. Additional criteria It is possible to create Policies that may override the default behaviour, for instance to desconsider the longest prefix match, in other to use a cheaper link option. Edwin Cordeiro How the Internet works? The Border Gateway Protocol (BGP) ilab 2 Lecture SS

24 Hot-potato routing Interaction between Inter-AS and Intra-AS routing If traffic is destined for other AS, get rid of it ASAP using Intra-AS routing to find shortest path to gateway Multiple transit points asymmetrical routing Asymmetrical paths are common on the Internet Host A AS 7018 Atlantic ocean AS 3320 Host B Edwin Cordeiro How the Internet works? The Border Gateway Protocol (BGP) ilab 2 Lecture SS

25 ibgp scalability problem Every router in AS should know external routes Not only local neighbours, but also neighbours connected at other routers Many/all routers in AS have to run BGP sessions Need to select best inter-as routes Routers need to exchange routing information via ibgp O(n) BGP routers O(n²) ibgp sessions This does not scale! Edwin Cordeiro How the Internet works? The Border Gateway Protocol (BGP) ilab 2 Lecture SS

26 Solution: BGP Route Reflectors (RR) Idea: One special router = Route Reflector (RR) Every ebgp router sends routes learned from ebgp via ibgp to RR RR collects routes, may do policing RR distributes routes to all other BGP routers in AS via ibgp Result: O(n) BGP routers, O(n) BGP sessions ebgp session ibgp session 1a AS1 1c 1d 1b Edwin Cordeiro How the Internet works? The Border Gateway Protocol (BGP) ilab 2 Lecture SS

27 Terminology: Transit AS, stub AS, multi-homed AS Transit AS: Relays traffic between other Ases (Only about 15% of all ASes are Transit ASes.) Edwin Cordeiro How the Internet works? The Border Gateway Protocol (BGP) ilab 2 Lecture SS

28 Terminology: Transit AS, stub AS, multi-homed AS Transit AS: Relays traffic between other Ases (Only about 15% of all ASes are Transit ASes.) Stub AS: Buys transit from only one other AS, but does not offer transit for other ASes Edwin Cordeiro How the Internet works? The Border Gateway Protocol (BGP) ilab 2 Lecture SS

29 Terminology: Transit AS, stub AS, multi-homed AS Transit AS: Relays traffic between other Ases (Only about 15% of all ASes are Transit ASes.) Stub AS: Buys transit from only one other AS, but does not offer transit for other ASes Multi-homed AS: Buys transit from 2 other ASes, but does not offer transit for other ASes Edwin Cordeiro How the Internet works? The Border Gateway Protocol (BGP) ilab 2 Lecture SS

30 Business relationships Internet = network of networks (ASes) Many thousands of ASes using BGP for routing between ASes Differences in economical power/importance Some ASes huge, intercontinental (AT&T, Cable&Wireless) Some ASes small, local (e.g., München: M-Net, SpaceNet) Small ASes customers of larger ASes: Transit traffic Smaller AS pays for connecting link and for data (buys transit) Business relationship: customer - provider Edwin Cordeiro How the Internet works? The Border Gateway Protocol (BGP) ilab 2 Lecture SS

31 Business relationships Equally sized Cases Usually share cost for connecting links Business relationship = peering (no payments for traffic between those ASes) Peering Usually equal-size AS, but could be between big CDN and small ISP peers of a BGP connection (also may be customer or provider) peer-to-peer network Edwin Cordeiro How the Internet works? The Border Gateway Protocol (BGP) ilab 2 Lecture SS

32 Business and policy routing Basic principle #1 (Routing) Prefer routes that are more cost-efficient If you have the choice, then routes via a customer are better than routes via a peer, which are better than routes via a provider. Edwin Cordeiro How the Internet works? The Border Gateway Protocol (BGP) ilab 2 Lecture SS

33 Business and policy routing Basic principle #2 (Route announcement) Announce routes that produce income if used by others Others = customers Announce routes that reduce costs Route using peering Do not announce routes that incur financial loss as long as alternative paths exist be aware you may have bigger convergence time in case of failures announcing with lower priority could be an reasonable alternative Edwin Cordeiro How the Internet works? The Border Gateway Protocol (BGP) ilab 2 Lecture SS

34 Business and policy routing A tells C all routes it uses to reach other ASes The more traffic comes from C, the more money A makes A provider customer C Edwin Cordeiro How the Internet works? The Border Gateway Protocol (BGP) ilab 2 Lecture SS

35 Business and policy routing A and B tell C all routes they use to reach other ASes The more traffic flows from C to A, the more money A makes The more traffic flows from C to B, the more money B makes C will pick the one with the cheaper offer / better quality / A provider customer C B provider customer Edwin Cordeiro How the Internet works? The Border Gateway Protocol (BGP) ilab 2 Lecture SS

36 Business and policy routing C tells A its own prefixes; C tells B its own prefixes C wants to be reachable from outside C does not tell A routes learned from/via B C does not tell B routes learned from/via A C does not want to pay money for traffic A C B A provider customer C B provider customer Edwin Cordeiro How the Internet works? The Border Gateway Protocol (BGP) ilab 2 Lecture SS

37 Business and policy routing: Prefix Announcements C tells A its own prefixes C tells B its own prefixes but announces more specific prefix for one of the neighbours. Why? A expensive provider customer C B cheap provider customer Edwin Cordeiro How the Internet works? The Border Gateway Protocol (BGP) ilab 2 Lecture SS

38 Business and policy routing: Prefix Announcements C tells A its own prefixes C tells B its own prefixes but announces more specific prefix for one of the neighbours. Why? Result: Route available for both peers, but longer prefix means more attractive path is preferred Technique may be used for load balancing A expensive provider customer C B cheap provider customer Edwin Cordeiro How the Internet works? The Border Gateway Protocol (BGP) ilab 2 Lecture SS

39 Prefix Announcements Announce the aggregated prefix for all peers: If connection to one peer is lost, connection to Internet is maintained Example: 2001:db8::/32 is announced for all peers Announce more specific prefix for the preferred peer: This peer will be preferred when receiving traffic Example: Announce for the cheaper peer more specific prefix: 2001:db8:0000::/33 and 2001:db8:8000::/33 Announce for the other peers the aggregated prefix: 2001:db8::/32 Edwin Cordeiro How the Internet works? The Border Gateway Protocol (BGP) ilab 2 Lecture SS

40 Prefix Announcements - Load Balancing Announce the aggregated prefix for all peers: If connection to one peer is lost, connection to Internet is maintained Consider the IPs in your network are equally distributed in the available address space. Announce specific prefixes in the desired proportion: Example: You want 1/4 from AS A and 3/4 from AS B Edwin Cordeiro How the Internet works? The Border Gateway Protocol (BGP) ilab 2 Lecture SS

41 Prefix Announcements - Load Balancing Announce the aggregated prefix for all peers: If connection to one peer is lost, connection to Internet is maintained Consider the IPs in your network are equally distributed in the available address space. Announce specific prefixes in the desired proportion: Example: You want 1/4 from AS A and 3/4 from AS B Announce for AS A: Edwin Cordeiro How the Internet works? The Border Gateway Protocol (BGP) ilab 2 Lecture SS

42 Prefix Announcements - Load Balancing Announce the aggregated prefix for all peers: If connection to one peer is lost, connection to Internet is maintained Consider the IPs in your network are equally distributed in the available address space. Announce specific prefixes in the desired proportion: Example: You want 1/4 from AS A and 3/4 from AS B Announce for AS A: 2001:db8:0000::/34 and 2001:db8::/32 Edwin Cordeiro How the Internet works? The Border Gateway Protocol (BGP) ilab 2 Lecture SS

43 Prefix Announcements - Load Balancing Announce the aggregated prefix for all peers: If connection to one peer is lost, connection to Internet is maintained Consider the IPs in your network are equally distributed in the available address space. Announce specific prefixes in the desired proportion: Example: You want 1/4 from AS A and 3/4 from AS B Announce for AS A: 2001:db8:0000::/34 and 2001:db8::/32 Announce for AS B: Edwin Cordeiro How the Internet works? The Border Gateway Protocol (BGP) ilab 2 Lecture SS

44 Prefix Announcements - Load Balancing Announce the aggregated prefix for all peers: If connection to one peer is lost, connection to Internet is maintained Consider the IPs in your network are equally distributed in the available address space. Announce specific prefixes in the desired proportion: Example: You want 1/4 from AS A and 3/4 from AS B Announce for AS A: 2001:db8:0000::/34 and 2001:db8::/32 Announce for AS B: 2001:db8:4000::/34, 2001:db8:8000:/33 and 2001:db8::/32 Edwin Cordeiro How the Internet works? The Border Gateway Protocol (BGP) ilab 2 Lecture SS

45 Prefix Announcements - Load Balancing Announce the aggregated prefix for all peers: If connection to one peer is lost, connection to Internet is maintained Consider the IPs in your network are equally distributed in the available address space. Announce specific prefixes in the desired proportion: Example: You want 1/4 from AS A and 3/4 from AS B Announce for AS A: 2001:db8:0000::/34 and 2001:db8::/32 Announce for AS B: 2001:db8:4000::/34, 2001:db8:8000:/33 and 2001:db8::/32 This division may be used for other reasons, for example, business customers are announced for the expensive provider and residential customers in the cheap provider. Edwin Cordeiro How the Internet works? The Border Gateway Protocol (BGP) ilab 2 Lecture SS

46 Prefix Announcements - Load Balancing Announce the aggregated prefix for all peers: If connection to one peer is lost, connection to Internet is maintained Consider the IPs in your network are equally distributed in the available address space. Announce specific prefixes in the desired proportion: Example: You want 1/4 from AS A and 3/4 from AS B Announce for AS A: 2001:db8:0000::/34 and 2001:db8::/32 Announce for AS B: 2001:db8:4000::/34, 2001:db8:8000:/33 and 2001:db8::/32 This division may be used for other reasons, for example, business customers are announced for the expensive provider and residential customers in the cheap provider. Announcement of unnecessary prefixes is bad for the whole Internet, think before using this solution. Edwin Cordeiro How the Internet works? The Border Gateway Protocol (BGP) ilab 2 Lecture SS

47 Business and policy routing: AS path prepending C tells A its own prefixes C may tell B its own prefixes but inserts C multiple times into AS path. Why? A cheap provider customer C B expensive provider customer Edwin Cordeiro How the Internet works? The Border Gateway Protocol (BGP) ilab 2 Lecture SS

48 Business and policy routing: AS path prepending C tells A its own prefixes C may tell B its own prefixes but inserts C multiple times into AS path. Why? Result: Route available, but longer path = less attractive Technique is called AS path prepending A cheap provider customer C B expensive provider customer Edwin Cordeiro How the Internet works? The Border Gateway Protocol (BGP) ilab 2 Lecture SS

49 AS path prepending The same ASN subsequently within an AS path does not constitute a loop Recall the elimination rule for selecting from multiple path alternatives Prefer the shortest AS path is rule 3 Only ignored if Local Pref value is set AS path prepending makes a route less attractive will then only be used when there is no alternative Can be used, e.g., for a slow or expensive backup link How many times to repeat the AS number? Usually just 1 or 2 repetitions More than 5 is useless Edwin Cordeiro How the Internet works? The Border Gateway Protocol (BGP) ilab 2 Lecture SS

50 Business and policy routing What should C announce to A? A provider customer C provider customer D Edwin Cordeiro How the Internet works? The Border Gateway Protocol (BGP) ilab 2 Lecture SS

51 Business and policy routing What should C announce to A? C tells A about its own prefixes A provider customer C provider customer D Edwin Cordeiro How the Internet works? The Border Gateway Protocol (BGP) ilab 2 Lecture SS

52 Business and policy routing What should C announce to A? C tells A about its own prefixes C tells A about its route to D s prefixes: loses money to A, but gains money from D A provider customer C provider customer D Edwin Cordeiro How the Internet works? The Border Gateway Protocol (BGP) ilab 2 Lecture SS

53 Business and policy routing What should C announce to E? peering C provider customer D E Edwin Cordeiro How the Internet works? The Border Gateway Protocol (BGP) ilab 2 Lecture SS

54 Business and policy routing What should C announce to E? C tells peering partner E about its own prefixes and route to D: no cost on link to E, but gains money from D peering C provider customer D E Edwin Cordeiro How the Internet works? The Border Gateway Protocol (BGP) ilab 2 Lecture SS

55 Business and policy routing Which route to p should C select? provider B customer peering C E p Edwin Cordeiro How the Internet works? The Border Gateway Protocol (BGP) ilab 2 Lecture SS

56 Business and policy routing Which route to p should C select? B tells C about route to prefix p (lose money) E tells C about route to prefix p (± 0) C prefers route via E provider B customer peering C E p Edwin Cordeiro How the Internet works? The Border Gateway Protocol (BGP) ilab 2 Lecture SS

57 Business and policy routing What should C announce here? F peering peering C provider customer E Edwin Cordeiro How the Internet works? The Border Gateway Protocol (BGP) ilab 2 Lecture SS D

58 Business and policy routing What should C announce here? C announces to F and E: its own prefixes and D s routes F peering peering C provider customer E Edwin Cordeiro How the Internet works? The Border Gateway Protocol (BGP) ilab 2 Lecture SS D

59 Business and policy routing What should C announce here? C announces to F and E: its own prefixes and D s routes C does not announce to E: routes going via F Otherwise: E could send traffic towards F but wouldn t pay anything, F wouldn t pay either, and C s network gets loaded with additional traffic F peering peering C provider customer E Edwin Cordeiro How the Internet works? The Border Gateway Protocol (BGP) ilab 2 Lecture SS D

60 Business and policy routing What should C announce here? C announces to F and E: its own prefixes and D s routes C does not announce to E: routes going via F Otherwise: E could send traffic towards F but wouldn t pay anything, F wouldn t pay either, and C s network gets loaded with additional traffic C does not announce to F: routes going via E Same reason F peering peering C provider customer E Edwin Cordeiro How the Internet works? The Border Gateway Protocol (BGP) ilab 2 Lecture SS D

61 Policy routing: Valley-free routing (idealised!) Results: Packets always travel 1. upstream: sequence of C P links (possibly length = 0) 2. then possibly across one peering link 3. then downstream: sequence of P C links (possibly length = 0) provider customer peering provider customer provider provider customer customer Edwin Cordeiro How the Internet works? The Border Gateway Protocol (BGP) ilab 2 Lecture SS

62 Tier-1, Tier-2, Tier-3 etc. Tier-1/DFZ = only peerings, no providers Tier-2 = only peerings and one or more Tier-1 providers Tier-3 = at least one Tier-2 as a provider Tier-n = at least one Tier-(n-1) provider defined recursively n 4: Rare in Western Europe, North America, East Asia Tier-1.5 = almost a Tier-1 but pays money for some links Example: Deutsche Telekom used to pay money to Sprint, but is now Tier-1 Marketing purposes: Tier-1 sounds better DFZ: Default Free Zone, ASes here can t use a default route to reach a desired destination. Tier-3 and smaller with only one provider or a preferred provider may use a default route (send all my traffic to this provider), instead of learning the full BGP table Edwin Cordeiro How the Internet works? The Border Gateway Protocol (BGP) ilab 2 Lecture SS

63 BGP Table Size IPv4: 700,000 IPv6: 40,000 (Source: on May 2017) Source: on May 2017 Edwin Cordeiro How the Internet works? The Border Gateway Protocol (BGP) ilab 2 Lecture SS

64 Siblings Not everything is provider/customer or peering Sibling = mutual transit agreement Provide connectivity to the rest of the Internet for each other very extensive peering Examples Two small ASes close to each other that cannot afford additional Internet services Merging two companies Merging two ASes into one = difficult, Keeping two ASes and exchaning everything for free = easier Example: AT&T has five different AS numbers (7018, 7132, 2685, 2686, 2687) Edwin Cordeiro How the Internet works? The Border Gateway Protocol (BGP) ilab 2 Lecture SS

65 Where to peer (Here: Peering = having a BGP relationship) A. Private peering The obvious solution: Let s have a cable from your server room to our server room B. At public peering locations (Internet Exchange Point, IX, IXP) A room full of switches that many providers connect to Configure VLAN connections in switch, instead of having to put in O(n²) separate wires Examples: DE-CIX, Frankfurt (purportedly largest in world, peak of 5.6 Tbps) AMS-IX, Amsterdam (peak of 5.5 Tbps) LINX, London MSK-IX, Moscow IX-BR, São Paulo Edwin Cordeiro How the Internet works? The Border Gateway Protocol (BGP) ilab 2 Lecture SS

66 Summary How the Internet works? Default Free Zone Source: Edwin Cordeiro How the Internet works? The Border Gateway Protocol (BGP) ilab 2 Lecture SS

67 Questions? Edwin Cordeiro How the Internet works? The Border Gateway Protocol (BGP) ilab 2 Lecture SS

Master Course Computer Networks IN2097

Master Course Computer Networks IN2097 Chair for Network Architectures and Services Prof. Carle Department of Computer Science TU München Master Course Computer Networks IN2097 Prof. Dr.-Ing. Georg Carle Chair for Network Architectures and

More information

Master Course Computer Networks IN2097

Master Course Computer Networks IN2097 Chair for Network Architectures and Services Prof. Carle Department of Computer Science TU München Master Course Computer Networks IN2097 Prof. Dr.-Ing. Georg Carle Christian Grothoff, Ph.D. Stephan Günther

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

CS 204: BGP. Jiasi Chen Lectures: MWF 12:10-1pm Humanities and Social Sciences

CS 204: BGP. Jiasi Chen Lectures: MWF 12:10-1pm Humanities and Social Sciences CS 204: BGP Jiasi Chen Lectures: MWF 12:10-1pm Humanities and Social Sciences 1403 http://www.cs.ucr.edu/~jiasi/teaching/cs204_spring17/ 1 Overview AS relationships Inter-AS routing BGP Example Paper discussion

More information

Inter-AS routing and BGP. Network Layer 4-1

Inter-AS routing and BGP. Network Layer 4-1 Inter-AS routing and BGP Network Layer 4-1 Review: intra-as routing v Also known as interior gateway protocols (IGP) v Most common intra-as routing protocols: RIP: Routing Information Protocol, distance

More information

Inter-Autonomous-System Routing: Border Gateway Protocol

Inter-Autonomous-System Routing: Border Gateway Protocol Inter-Autonomous-System Routing: Border Gateway Protocol Antonio Carzaniga Faculty of Informatics University of Lugano June 14, 2005 Outline Hierarchical routing BGP Routing Routing Goal: each router u

More information

Last time. Transitioning to IPv6. Routing. Tunneling. Gateways. Graph abstraction. Link-state routing. Distance-vector routing. Dijkstra's Algorithm

Last time. Transitioning to IPv6. Routing. Tunneling. Gateways. Graph abstraction. Link-state routing. Distance-vector routing. Dijkstra's Algorithm Last time Transitioning to IPv6 Tunneling Gateways Routing Graph abstraction Link-state routing Dijkstra's Algorithm Distance-vector routing Bellman-Ford Equation 10-1 This time Distance vector link cost

More information

Inter-Autonomous-System Routing: Border Gateway Protocol

Inter-Autonomous-System Routing: Border Gateway Protocol Inter-Autonomous-System Routing: Border Gateway Protocol Antonio Carzaniga Faculty of Informatics University of Lugano December 10, 2014 Outline Hierarchical routing BGP Routing 2005 2007 Antonio Carzaniga

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

Master Course Computer Networks IN2097

Master Course Computer Networks IN2097 Chair for Network Architectures and Services Prof. Carle Department for Computer Science TU München Master Course Computer Networks IN2097 Prof. Dr.-Ing. Georg Carle Christian Grothoff, Ph.D. Dr. Nils

More information

CS 43: Computer Networks Internet Routing. Kevin Webb Swarthmore College November 16, 2017

CS 43: Computer Networks Internet Routing. Kevin Webb Swarthmore College November 16, 2017 CS 43: Computer Networks Internet Routing Kevin Webb Swarthmore College November 16, 2017 1 Hierarchical routing Our routing study thus far - idealization all routers identical network flat not true in

More information

CSCI Topics: Internet Programming Fall 2008

CSCI Topics: Internet Programming Fall 2008 CSCI 491-01 Topics: Internet Programming Fall 2008 Network Layer Derek Leonard Hendrix College November 17, 2008 Original slides copyright 1996-2007 J.F Kurose and K.W. Ross 1 Chapter 4: Roadmap 4.1 Introduction

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

Computer Networking Introduction

Computer Networking Introduction Computer Networking Introduction Halgurd S. Maghdid Software Engineering Department Koya University-Koya, Kurdistan-Iraq Lecture No.15 Chapter 4: outline 4.1 introduction 4.2 virtual circuit and datagram

More information

CS 43: Computer Networks Internet Routing. Kevin Webb Swarthmore College November 14, 2013

CS 43: Computer Networks Internet Routing. Kevin Webb Swarthmore College November 14, 2013 CS 43: Computer Networks Internet Routing Kevin Webb Swarthmore College November 14, 2013 1 Reading Quiz Hierarchical routing Our routing study thus far - idealization all routers identical network flat

More information

CS 43: Computer Networks. 24: Internet Routing November 19, 2018

CS 43: Computer Networks. 24: Internet Routing November 19, 2018 CS 43: Computer Networks 24: Internet Routing November 19, 2018 Last Class Link State + Fast convergence (reacts to events quickly) + Small window of inconsistency Distance Vector + + Distributed (small

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

Network Layer (Routing)

Network Layer (Routing) Network Layer (Routing) Border Gateway Protocol Structure of the Internet Networks (ISPs, CDNs, etc.) group with IP prefixes Networks are richly interconnected, often using IXPs Prefix E1 Net E IXP Prefix

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

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 4: Intradomain Routing. CS 598: Advanced Internetworking Matthew Caesar February 1, 2011

Lecture 4: Intradomain Routing. CS 598: Advanced Internetworking Matthew Caesar February 1, 2011 Lecture 4: Intradomain Routing CS 598: Advanced Internetworking Matthew Caesar February 1, 011 1 Robert. How can routers find paths? Robert s local DNS server 10.1.8.7 A 10.1.0.0/16 10.1.0.1 Routing Table

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

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

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

Inter-Domain Routing: BGP

Inter-Domain Routing: BGP Inter-Domain Routing: BGP Brad Karp UCL Computer Science (drawn mostly from lecture notes by Hari Balakrishnan and Nick Feamster, MIT) CS 3035/GZ01 4 th December 2014 Outline Context: Inter-Domain Routing

More information

Interdomain Routing. Networked Systems (H) Lecture 11

Interdomain Routing. Networked Systems (H) Lecture 11 Interdomain Routing Networked Systems (H) Lecture 11 Lecture Outline Interdomain routing Autonomous systems and the Internet AS-level topology BGP and Internet routing 2 Interdomain Unicast Routing Tier-1

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

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

Chapter IV: Network Layer

Chapter IV: Network Layer Chapter IV: Network Layer UG3 Computer Communications & Networks (COMN) Myungjin Lee myungjin.lee@ed.ac.uk Slides copyright of Kurose and Ross Hierarchical routing our routing study thus far - idealization

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

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

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

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

Lecture 19: Network Layer Routing in the Internet

Lecture 19: Network Layer Routing in the Internet Lecture 19: Network Layer Routing in the Internet COMP 332, Spring 2018 Victoria Manfredi Acknowledgements: materials adapted from Computer Networking: A Top Down Approach 7 th edition: 1996-2016, J.F

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

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

Chapter 4: outline. Network Layer 4-1

Chapter 4: outline. Network Layer 4-1 Chapter 4: outline 4.1 introduction 4.2 virtual circuit and datagram networks 4.3 what s inside a router 4.4 IP: Internet Protocol datagram format IPv4 addressing ICMP IPv6 4.5 routing algorithms link

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

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

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

Chapter 4: Network Layer. Lecture 12 Internet Routing Protocols. Chapter goals: understand principles behind network layer services:

Chapter 4: Network Layer. Lecture 12 Internet Routing Protocols. Chapter goals: understand principles behind network layer services: NET 331 Computer Networks Lecture 12 Internet Routing Protocols Dr. Anis Koubaa Reformatted slides from textbook Computer Networking a top-down appraoch, Fifth Edition by Kurose and Ross, (c) Pearson Education

More information

Hierarchical Routing. Our routing study thus far - idealization all routers identical network flat not true in practice

Hierarchical Routing. Our routing study thus far - idealization all routers identical network flat not true in practice Hierarchical Routing Our routing study thus far - idealization all routers identical network flat not true in practice scale: with 200 million destinations: can t store all destinations in routing tables!

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

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

CMSC 417. Computer Networks Prof. Ashok K Agrawala Ashok Agrawala October 9, 2018 (a) October 18 October 9,

CMSC 417. Computer Networks Prof. Ashok K Agrawala Ashok Agrawala October 9, 2018 (a) October 18 October 9, CMSC 417 Computer Networks Prof. Ashok K Agrawala 2018 Ashok Agrawala October 9, 2018 (a) October 18 October 9, 2018 1 host Message, Segment, Packet, and Frame host HTTP HTTP message HTTP TCP TCP segment

More information

COMP211 Chapter 5 Network Layer: The Control Plane

COMP211 Chapter 5 Network Layer: The Control Plane COMP211 Chapter 5 Network Layer: The Control Plane All material copyright 1996-2016 J.F Kurose and K.W. Ross, All Rights Reserved Computer Networking: A Top Down Approach 7 th edition Jim Kurose, Keith

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

Service Provider Multihoming

Service Provider Multihoming Service Provider Multihoming 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

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

Important Lessons From Last Lecture Computer Networking. Outline. Routing Review. Routing hierarchy. Internet structure. External BGP (E-BGP)

Important Lessons From Last Lecture Computer Networking. Outline. Routing Review. Routing hierarchy. Internet structure. External BGP (E-BGP) Important Lessons From Last Lecture 15-441 Computer Networking Inter-Domain outing BGP (Border Gateway Protocol) Every router needs to be able to forward towards any destination Forwarding table must be

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

Service Provider Multihoming

Service Provider Multihoming Service Provider Multihoming ISP Workshops Last updated 18 September 2013 1 Service Provider Multihoming p Previous examples dealt with loadsharing inbound traffic n Of primary concern at Internet edge

More information

Chapter 4: Network Layer

Chapter 4: Network Layer Chapter 4: Network Layer 4. 1 Introduction 4.2 Virtual circuit and datagram networks 4.3 What s inside a router 4.4 IP: Internet Protocol Datagram format IPv4 addressing ICMP IPv6 4.5 Routing algorithms

More information

Advanced Multihoming. BGP Traffic Engineering

Advanced Multihoming. BGP Traffic Engineering Advanced Multihoming BGP Traffic Engineering 1 Service Provider Multihoming Previous examples dealt with loadsharing inbound traffic Of primary concern at Internet edge What about outbound traffic? Transit

More information

BGP. Inter-domain routing with the Border Gateway Protocol. Iljitsch van Beijnum Amsterdam, 13 & 16 March 2007

BGP. Inter-domain routing with the Border Gateway Protocol. Iljitsch van Beijnum Amsterdam, 13 & 16 March 2007 BGP Inter-domain routing with the Border Gateway Protocol Iljitsch van Beijnum Amsterdam, 13 & 16 March 2007 1 Routing Between ISPs Internal routing protocols don't work here: too much information So:

More information

Multihoming Complex Cases & Caveats

Multihoming Complex Cases & Caveats Multihoming Complex Cases & Caveats ISP Workshops Last updated 6 October 2011 Complex Cases & Caveats p Complex Cases n Multiple Transits n Multi-exit backbone n Disconnected Backbone n IDC Multihoming

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

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 16.4, 2017/03/13 13:32:49) Tuesday, March 14, 2017 General ideas behind BGP Background

More information

Routing on the Internet! Hierarchical Routing! The NSFNet 1989! Aggregate routers into regions of autonomous systems (AS)!

Routing on the Internet! Hierarchical Routing! The NSFNet 1989! Aggregate routers into regions of autonomous systems (AS)! Routing on the Internet! Hierarchical Routing! Aggregate routers into regions of autonomous systems (AS)! In the beginning there was the ARPANET:! route using GGP (Gateway-to-Gateway Protocol)," a distance

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

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

Interdomain routing with BGP4 Part 4/5

Interdomain routing with BGP4 Part 4/5 Interdomain routing with BGP4 Part 4/5 Olivier Bonaventure Department of Computing Science and Engineering Université catholique de Louvain (UCL) Place Sainte-Barbe, 2, B-1348, Louvain-la-Neuve (Belgium)

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

Inter-Domain Routing: BGP

Inter-Domain Routing: BGP Inter-Domain Routing: BGP Stefano Vissicchio UCL Computer Science CS 3035/GZ01 Agenda We study how to route over the Internet 1. Context The Internet, a network of networks Relationships between ASes 2.

More information

DATA COMMUNICATOIN NETWORKING

DATA COMMUNICATOIN NETWORKING DATA COMMUNICATOIN NETWORKING Instructor: Ouldooz Baghban Karimi Course Book & Slides: Computer Networking, A Top-Down Approach By: Kurose, Ross Introduction Course Overview Basics of Computer Networks

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

Link State Routing & Inter-Domain Routing

Link State Routing & Inter-Domain Routing Link State Routing & Inter-Domain Routing CS640, 2015-02-26 Announcements Assignment #2 is due Tuesday Overview Link state routing Internet structure Border Gateway Protocol (BGP) Path vector routing Inter

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

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

CS Networks and Distributed Systems. Lecture 8: Inter Domain Routing

CS Networks and Distributed Systems. Lecture 8: Inter Domain Routing CS 3700 Networks and Distributed Systems Lecture 8: Inter Domain Routing Revised 2/4/2014 Network Layer, Control Plane 2 Data Plane Application Presentation Session Transport Network Data Link Physical

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

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

Examination. ANSWERS IP routning på Internet och andra sammansatta nät, DD2491 IP routing in the Internet and other complex networks, DD2491

Examination. ANSWERS IP routning på Internet och andra sammansatta nät, DD2491 IP routing in the Internet and other complex networks, DD2491 Examination ANSWERS IP routning på Internet och andra sammansatta nät, DD2491 IP routing in the Internet and other complex networks, DD2491 Date: October 21st 2008 10:00 13:00 a) No help material is allowed

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

CSCE 463/612 Networks and Distributed Processing Spring 2018

CSCE 463/612 Networks and Distributed Processing Spring 2018 CSCE 463/612 Networks and Distributed Processing Spring 2018 Network Layer V Dmitri Loguinov Texas A&M University April 17, 2018 Original slides copyright 1996-2004 J.F Kurose and K.W. Ross Chapter 4:

More information

IPv4/IPv6 BGP Routing Workshop. Organized by:

IPv4/IPv6 BGP Routing Workshop. Organized by: IPv4/IPv6 BGP Routing Workshop Organized by: Agenda Multihoming & BGP path control APNIC multihoming resource policy 2 ISP Hierarchy Default free zone Made of Tier-1 ISPs who have explicit routes to every

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

! Distance vector routing! Link state routing.! Path vector routing! BGP: Border Gateway Protocol! Route aggregation

! Distance vector routing! Link state routing.! Path vector routing! BGP: Border Gateway Protocol! Route aggregation ! Distance vector routing! Link state routing Information Network I Youki Kadobayashi! IGP and EGP Intra-domain routing protocol, inter-domain routing protocol! Path vector routing! BGP: Border Gateway

More information

CSC 4900 Computer Networks: Routing Protocols

CSC 4900 Computer Networks: Routing Protocols CSC 4900 Computer Networks: Routing Protocols Professor Henry Carter Fall 2017 Last Time Link State (LS) versus Distance Vector (DV) algorithms: What are some of the differences? What is an AS? Why do

More information

CNT Computer and Network Security: BGP Security

CNT Computer and Network Security: BGP Security CNT 5410 - Computer and Network Security: BGP Security Professor Kevin Butler Fall 2015 Internet inter-as routing: BGP BGP (Border Gateway Protocol): the de facto standard BGP provides each AS a means

More information

Chapter 4: Network Layer, partb

Chapter 4: Network Layer, partb Chapter 4: Network Layer, partb The slides are adaptations of the slides available by the main textbook authors, Kurose&Ross Network Layer 4-1 Interplay between routing, forwarding routing algorithm local

More information

Multihoming Techniques. bdnog8 May 4 8, 2018 Jashore, Bangladesh.

Multihoming Techniques. bdnog8 May 4 8, 2018 Jashore, Bangladesh. Multihoming Techniques bdnog8 May 4 8, 2018 Jashore, Bangladesh. 2 ISP Hierarchy Default free zone Internet Routers that have explicit routes to every network on the Internet Regional /Access Providers

More information

Back to basics J. Addressing is the key! Application (HTTP, DNS, FTP) Application (HTTP, DNS, FTP) Transport. Transport (TCP/UDP) Internet (IPv4/IPv6)

Back to basics J. Addressing is the key! Application (HTTP, DNS, FTP) Application (HTTP, DNS, FTP) Transport. Transport (TCP/UDP) Internet (IPv4/IPv6) Routing Basics Back to basics J Application Presentation Application (HTTP, DNS, FTP) Data Application (HTTP, DNS, FTP) Session Transport Transport (TCP/UDP) E2E connectivity (app-to-app) Port numbers

More information

Service Provider Multihoming

Service Provider Multihoming BGP Traffic Engineering Previous examples dealt with loadsharing inbound traffic Of primary concern at Internet edge What about outbound traffic? Transit ISPs strive to balance traffic flows in both directions

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

Service Provider Multihoming

Service Provider Multihoming Service Provider Multihoming BGP Traffic Engineering 1 Service Provider Multihoming Previous examples dealt with loadsharing inbound traffic Of primary concern at Internet edge What about outbound traffic?

More information

Network layer: Overview. Network layer functions Routing IP Forwarding

Network layer: Overview. Network layer functions Routing IP Forwarding Network layer: Overview Network layer functions Routing IP Forwarding Network Layer Functions Transport packet from sending to receiving hosts Network layer protocols in every host, router application

More information

Department of Computer and IT Engineering University of Kurdistan. Computer Networks II Border Gateway protocol (BGP) By: Dr. Alireza Abdollahpouri

Department of Computer and IT Engineering University of Kurdistan. Computer Networks II Border Gateway protocol (BGP) By: Dr. Alireza Abdollahpouri Department of Computer and IT Engineering University of Kurdistan Computer Networks II Border Gateway protocol (BGP) By: Dr. Alireza Abdollahpouri Internet structure: network of networks local ISP Tier

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

Routing Concepts. IPv4 Routing Forwarding Some definitions Policy options Routing Protocols

Routing Concepts. IPv4 Routing Forwarding Some definitions Policy options Routing Protocols Routing Basics 1 Routing Concepts IPv4 Routing Forwarding Some definitions Policy options Routing Protocols 2 IPv4 Internet uses IPv4 Addresses are 32 bits long Range from 1.0.0.0 to 223.255.255.255 0.0.0.0

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

CS321: Computer Networks Unicast Routing

CS321: Computer Networks Unicast Routing CS321: Computer Networks Unicast Routing Dr. Manas Khatua Assistant Professor Dept. of CSE IIT Jodhpur E-mail: manaskhatua@iitj.ac.in Introduction The goal of the network layer is deliver a datagram from

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 Case Studies. ISP Workshops

BGP Case Studies. ISP Workshops BGP Case Studies 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

Routing Basics. ISP Workshops. Last updated 10 th December 2015

Routing Basics. ISP Workshops. Last updated 10 th December 2015 Routing Basics ISP Workshops Last updated 10 th December 2015 1 Routing Concepts p IPv4 & IPv6 p Routing p Forwarding p Some definitions p Policy options p Routing Protocols 2 IPv4 p Internet still uses

More information

Interdomain routing CSCI 466: Networks Keith Vertanen Fall 2011

Interdomain routing CSCI 466: Networks Keith Vertanen Fall 2011 Interdomain routing CSCI 466: Networks Keith Vertanen Fall 2011 Overview Business relationships between ASes Interdomain routing using BGP Advertisements Routing policy Integration with intradomain routing

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

Routing(2) Inter-domain Routing

Routing(2) Inter-domain Routing Routing(2) Inter-domain Routing Information Network I Youki Kadobayashi 1 Outline! Distance vector routing! Link state routing! IGP and EGP Intra-domain routing protocol, inter-domain routing protocol!

More information

Backbone Networks. Networking Case Studies. Backbone Networks. Backbone Topology. Mike Freedman COS 461: Computer Networks.

Backbone Networks. Networking Case Studies. Backbone Networks. Backbone Topology. Mike Freedman COS 461: Computer Networks. Networking Case Studies Datacenter Backbone Networks Enterprise Backbone Mike Freedman COS 6: Computer Networks Cellular h>p://www.cs.princeton.edu/courses/archive/spr/cos6/ Wireless Backbone Networks

More information