Hierarchical Routing - University of Washington

22
CSE 461 University of Washington 1 Hierarchical Routing Introduce a larger routing unit IP prefix (hosts) ß from one host Region, e.g., ISP network Route first to the region, then to the IP prefix within the region Hide details within a region from outside of the region

Transcript of Hierarchical Routing - University of Washington

CSE461UniversityofWashington 1

HierarchicalRouting•  Introducealargerroutingunit–  IPprefix(hosts)ßfromonehost–  Region,e.g.,ISPnetwork

•  Routefirsttotheregion,thentotheIPprefixwithintheregion– Hidedetailswithinaregionfromoutsideoftheregion

HierarchicalRouting(2)

CSE461UniversityofWashington 2

HierarchicalRouting(3)

CSE461UniversityofWashington 3

HierarchicalRouting(4)•  Penaltyislongerpaths

CSE461UniversityofWashington 4

1Cisbestroutetoregion5,exceptfordestination5C

CSE461UniversityofWashington 5

Observations•  Outsidearegion,nodeshaveoneroutetoallhostswithintheregion–  Thisgivessavingsintablesize,messagesandcomputation

•  However,eachnodemayhaveadifferentroutetoanoutsideregion–  Routingdecisionsarestillmadebyindividualnodes;thereisnosingledecisionmadebyaregion

CSE461UniversityofWashington 6

Topic•  Howtoroutewithmultipleparties,eachwiththeirownroutingpolicies–  ThisisInternet-wideBGProuting

ISPA ISPC

Destination

ISPBSource

StructureoftheInternet•  Networks(ISPs,CDNs,etc.)grouphostsasIPprefixes•  Networksarerichlyinterconnected,oftenusingIXPs

CSE461UniversityofWashington 7

CDNC

PrefixC1

ISPAPrefixA1

PrefixA2NetF

PrefixF1

IXPIXP

IXP IXP

CDND

PrefixD1

NetE

PrefixE1

PrefixE2

ISPB

PrefixB1

CSE461UniversityofWashington 8

Internet-wideRoutingIssues•  Twoproblemsbeyondroutingwithinanindividualnetwork

1.  Scalingtoverylargenetworks–  TechniquesofIPprefixes,hierarchy,prefixaggregation

2.  Incorporatingpolicydecisions–  Lettingdifferentpartieschoosetheirroutestosuittheirownneeds Yikes!

CSE461UniversityofWashington 9

EffectsofIndependentParties•  Eachpartyselectsroutestosuititsowninterests–  e.g,shortestpathinISP

•  WhatpathwillbechosenforA2àB1andB1àA2?– Whatisthebestpath?

PrefixB2

PrefixA1ISPA ISPB

PrefixB1

PrefixA2

CSE461UniversityofWashington 10

EffectsofIndependentParties(2)•  Selectedpathsarelongerthanoverallshortestpath–  Andsymmetrictoo!

•  Thisisaconsequenceofindependentgoalsanddecisions,nothierarchy PrefixB2

PrefixA1ISPA ISPB

PrefixB1

PrefixA2

CSE461UniversityofWashington 11

RoutingPolicies•  Capturethegoalsofdifferentparties–couldbeanything–  E.g.,Internet2onlycarriesnon-commercialtraffic

•  Commonpolicieswe’lllookat:–  ISPsgiveTRANSITservicetocustomers–  ISPsgivePEERservicetoeachother

CSE461UniversityofWashington 12

RoutingPolicies–Transit•  Oneparty(customer)getsTRANSITservicefromanotherparty(ISP)–  ISPacceptstrafficforcustomerfromtherestofInternet

–  ISPsendstrafficfromcustomertotherestofInternet

–  CustomerpaysISPfortheprivilege

Customer1

ISP

Customer2

RestofInternetNon-

customer

CSE461UniversityofWashington 13

RoutingPolicies–Peer•  Bothparty(ISPsinexample)get

PEERservicefromeachother–  EachISPacceptstrafficfromtheotherISPonlyfortheircustomers

–  ISPsdonotcarrytraffictotherestoftheInternetforeachother

–  ISPsdon’tpayeachother

CustomerA1

ISPA

CustomerA2

CustomerB1

ISPB

CustomerB2

CSE461UniversityofWashington 14

RoutingwithBGP(BorderGatewayProtocol)•  BGPistheinterdomainroutingprotocolusedintheInternet–  Pathvector,akindofdistancevector

ISPAPrefixA1

PrefixA2NetFPrefixF1

IXP

ISPBPrefixB1 PrefixF1viaISP

B,NetFatIXP

CSE461UniversityofWashington 15

RoutingwithBGP(2)•  DifferentpartieslikeISPsarecalled

AS(AutonomousSystems)•  BorderroutersofASesannounce

BGProutestoeachother

•  RouteannouncementscontainanIPprefix,pathvector,nexthop–  PathvectorislistofASesonthewaytotheprefix;lististofindloops

•  Routeannouncementsmoveintheoppositedirectiontotraffic

RoutingwithBGP(3)

CSE461UniversityofWashington 16

Prefix

CSE461UniversityofWashington 17

RoutingwithBGP(4)Policyisimplementedintwoways:

1.  BorderroutersofISPannouncepathsonlytootherpartieswhomayusethosepaths–  Filteroutpathsotherscan’tuse

2.  BorderroutersofISPselectthebestpathoftheonestheyhearinany,non-shortestway

RoutingwithBGP(5)•  TRANSIT:AS1says[B,(AS1,AS3)],[C,(AS1,AS4)]toAS2

CSE461UniversityofWashington 18

RoutingwithBGP(6)•  CUSTOMER(othersideofTRANSIT):AS2says[A,(AS2)]toAS1

CSE461UniversityofWashington 19

RoutingwithBGP(7)•  PEER:AS2says[A,(AS2)]toAS3,AS3says[B,(AS3)]toAS2

CSE461UniversityofWashington 20

RoutingwithBGP(8)•  AS2hearstworoutestoB(viaAS1,AS3)andchoosesAS3(Free!)

CSE461UniversityofWashington 21

CSE461UniversityofWashington 22

BGPThoughts•  Muchmorebeyondbasicstoexplore!

•  Policyisasubstantialfactor–  Canweevenbeindependentdecisionswillbesensibleoverall?

•  Otherimportantfactors:–  Convergenceeffects–  Howwellitscales–  Integrationwithintradomainrouting–  Andmore…