DOC PREVIEW
UT Dallas CS 6390 - 11. InterDomainRouting

This preview shows page 1-2-15-16-17-32-33 out of 33 pages.

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

Unformatted text preview:

CS 6390 Advanced Computer NetworksInter-AS routing in the Internet: (BGP)Inter-domain routingReachability vs OptimalityPath selectionRouting LoopsCustomers and ProvidersNontransit vs. Transit ASesSelective TransitCustomers Don’t Always Need BGPCustomer-Provider HierarchyThe Peering RelationshipPeering Provides ShortcutsBGP-4BGP Operations (Simplified)A Sample BGP tableSlide 17BGP: controlling who routes to youSlide 19So, which routes to advertise and whom to advertise?Two Types of BGP Neighbor RelationshipsWhy do we need iBGP?Slide 23BGP Route ProcessingRoute Selection SummarySo many choices …ASPATH AttributeChoosing between multiple exit pointsMultihomed Backups (Outbound Traffic)Multihomed Backups (Inbound Traffic)Interdomain Loop PreventionShorter Doesn’t Always Mean ShorterHow to integrate intra-domain and inter-domain routingCS 6390Advanced Computer NetworksInter-domain Routing(BGP)Inter-AS routing in the Internet: (BGP) Figure 4.5.2-new2: BGP use for inter-domain routing AS2 (OSPF intra-AS routing) AS1 (RI P intra-AS routing) BGP AS3 (OSPF intra-AS routing) BGP R1 R2 R3 R4 R5Inter-domain routing BGP providesInter-domain reachability in a scalable wayEnables ISPs to implement various policiesHelps ISPs to cooperate under competitive circumstancesInter-domain routing is hardDue to its large scale More than 150,000 prefixes and ~20,000 ASesDue to autonomous nature of ASesCost metrics may be different in different ASesDue to trust issuesDue to the need to support various types of policiesReachability vs OptimalityEach AS can choose its own intra-AS routing protocolCan use any cost metrics to its interior pathsNo consistency between ASesA cost of 1000 may be good for one, may be unacceptable for otherImpossible to find least cost path to a destination ASAny path is okay!Each AS originates “reachability advertisements”I’m AS1 and I own networks 129.110/16, 129.111/16ASes advertise/exchange reachability to other ASesI’m AS2 and can reach AS1 that includes 129.110/16 and 129.111/16 (no cost is mentioned!)So the advertised path is (AS2 AS1)Path selectionSuppose AS3 sends its-path-to-AS1 (AS3 AS2 AS1) to its peer AS4AS4 may or may not select the path offered by AS3Cost, policy (don’t route via competitors AS), loop prevention reasonsIf AS4 select the path, thenPath (AS4,AS1) = AS4, Path(AS3,AS1)AS3 can control incoming traffic by controlling its route advertisementsE.g., don’t want to route traffic to AS1 -> don’t advertise any routes to AS1 to neighbor AS4AS1AS2AS3AS4Routing LoopsExample:AS2 announces to AS3 it can reach AS1AS3 announces to AS4 it can reach AS1AS4 announces to AS2 it can reach AS1AS2 chooses AS4 as its next hop to AS1AS1AS2AS3AS4Loops are bad!Traffic interruptionCongestion in the networkCustomers and ProvidersCustomer pays provider for access to the InternetprovidercustomerIP trafficprovidercustomer8Nontransit vs. Transit ASesISP 1ISP 2Nontransit ASmight be a corporateor campus network.Could be a “content provider”NET ATraffic NEVER flows from ISP 1through NET A to ISP 2(At least not intentionally!)IP trafficInternet Serviceproviders (often)have transit networks9Selective TransitNET BNET CNET A provides transitbetween NET B and NET Cand between NET D and NET CNET ANET DNET A DOES NOTprovide transitBetween NET D and NET BMost transit networks transit in a selective manner…IP trafficCustomers Don’t Always Need BGPprovidercustomerNail up default routes 0.0.0.0/0pointing to provider.Nail up routes 192.0.2.0/24pointing to customer192.0.2.0/24Static routing is the most common way of connecting anautonomous routing domain to the Internet.Customer-Provider HierarchyIP trafficprovidercustomerThe Peering Relationshippeer peercustomerproviderPeers provide transit between their respective customersPeers do not provide transit between peersPeers (often) do not exchange $$$trafficallowedtraffic NOTallowedPeering Provides ShortcutsPeering also allows connectivity betweenthe customers of “Tier 1” providers.peer peercustomerproviderBGP-4BGP (Border Gateway Protocol)Current standard protocol for interdomain routingEach AS has One or more border routersConnects an AS to the InternetUsed for external routesOne or more BGP routers (BGP speakers)Routers that participate in the interdomain routingBGP routersReceive, filter route advertisements from neighbor BGP routersPerform route selectionTo route to destination X, which path (of several advertised) will be takenSend route advertisements to neighborsBGP is a Path Vector protocolSimilar to distance vector protocolBGP routes to networks, not individual hostsBGP advertisements include complete pathComplete path: list of ASes to reach a particular networkWhy? What is the utility of including the complete path?15BGP Operations (Simplified) Establish session on TCP port 179Exchange allactive routes Exchange incremental updatesAS1AS2While connection is ALIVE exchangeroute UPDATE messagesBGP sessionruns on TCProuter> show ip bgpnext hop AS path* 12.104.140.0/22 213.200.87.254 0 3257 1239 701 6985 i* 209.123.12.51 0 8001 7911 701 6985 i* 203.62.252.26 0 1221 4637 701 6985 i64.50.230.1 0 4181 3356 701 6985 i* 12.104.147.0/24 213.200.87.254 0 3257 7132 21744 i* 209.123.12.51 0 8001 1784 7132 21744 i* 64.50.230.1 0 4181 7132 21744 i* 216.191.65.118 0 15290 7132 21744 i* 213.140.32.146 0 12956 7132 21744 i* 12.104.244.0/24 213.200.87.254 0 3257 1239 701 15343 i* 64.50.230.1 0 4181 3356 701 15343 i* 209.123.12.51 0 8001 7911 701 15343 i* 157.130.182.254 0 19092 701 15343 i* 203.62.252.26 0 1221 4637 701 15343 iA Sample BGP tableBGP messagesBGP messages:OPEN: opens TCP connection to peer and authenticates senderUPDATE: advertises new path (or withdraws old)IP Prefix: AttributesKEEPALIVE: keeps connection alive in absence of UPDATES; also ACKs OPEN requestNOTIFICATION: reports errors in previous msg; also used to close connectionBGP: controlling who routes to you Figure 4.5-BGPnew: a simple BGP scenario A B C W X Y legend: customer


View Full Document

UT Dallas CS 6390 - 11. InterDomainRouting

Documents in this Course
VoIP

VoIP

44 pages

TE-MPLS

TE-MPLS

38 pages

TCP

TCP

28 pages

QoS

QoS

27 pages

P2P

P2P

50 pages

IPv6

IPv6

81 pages

IPv6

IPv6

64 pages

AODV-v2

AODV-v2

19 pages

aodv

aodv

32 pages

19. P2P

19. P2P

50 pages

18. VoIP

18. VoIP

44 pages

17. QoS

17. QoS

27 pages

13. TCP

13. TCP

28 pages

6. IPv6

6. IPv6

81 pages

19. P2P

19. P2P

50 pages

18. VoIP

18. VoIP

44 pages

17. QoS

17. QoS

27 pages

6. IPv6

6. IPv6

81 pages

6. IPv6

6. IPv6

81 pages

19. P2P

19. P2P

50 pages

18. VoIP

18. VoIP

44 pages

17. QoS

17. QoS

27 pages

13. TCP

13. TCP

28 pages

CC

CC

74 pages

19. P2P

19. P2P

50 pages

18. VoIP

18. VoIP

44 pages

17. QoS

17. QoS

27 pages

13. TCP

13. TCP

28 pages

6. IPv6

6. IPv6

81 pages

CC

CC

74 pages

Load more
Download 11. InterDomainRouting
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view 11. InterDomainRouting and access 3M+ class-specific study document.

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

Join to view 11. InterDomainRouting 2 2 and access 3M+ class-specific study document.

or

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

Already a member?