Hierarchical Routing - University of Washington
-
Upload
khangminh22 -
Category
Documents
-
view
0 -
download
0
Transcript of Hierarchical Routing - University of Washington
CSE461UniversityofWashington 1
HierarchicalRouting• Introducealargerroutingunit– IPprefix(hosts)ßfromonehost– Region,e.g.,ISPnetwork
• Routefirsttotheregion,thentotheIPprefixwithintheregion– Hidedetailswithinaregionfromoutsideoftheregion
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
CSE461UniversityofWashington 17
RoutingwithBGP(4)Policyisimplementedintwoways:
1. BorderroutersofISPannouncepathsonlytootherpartieswhomayusethosepaths– Filteroutpathsotherscan’tuse
2. BorderroutersofISPselectthebestpathoftheonestheyhearinany,non-shortestway
RoutingwithBGP(6)• CUSTOMER(othersideofTRANSIT):AS2says[A,(AS2)]toAS1
CSE461UniversityofWashington 19
RoutingwithBGP(8)• AS2hearstworoutestoB(viaAS1,AS3)andchoosesAS3(Free!)
CSE461UniversityofWashington 21