华科网工18.ppt_第1页
华科网工18.ppt_第2页
华科网工18.ppt_第3页
华科网工18.ppt_第4页
华科网工18.ppt_第5页
已阅读5页,还剩31页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、HuazhongUniversityofScienceandTechnology,1,IntroductiontoComputerNetworks,Inter-domainrouting,HuazhongUniversityofScienceandTechnology,2,InternetStructure,LargeISP,LargeISP,Dial-UpISP,Stub,SmallISP,Stub,Stub,Stub,HuazhongUniversityofScienceandTechnology,3,AutonomousSystems(AS),Internetisnotasinglene

2、twork!TheInternetisacollectionofnetworks,eachcontrolledbydifferentadministrationsAnautonomoussystem(AS)isanetworkunderasingleadministrativecontrol,HuazhongUniversityofScienceandTechnology,4,ASNumbers(ASNs),ASNsare16bitvalues.,64512through65535are“private”,Genuity:1AT&T:7018,6341,5074,UUNET:701,702,2

3、84,12199,Sprint:1239,1240,6211,6242,Currentlyover11,000inuse.,HuazhongUniversityofScienceandTechnology,5,Implications,ASswanttochooseownlocalroutingalgorithmAStakescareofgettingpacketsto/fromtheirownhostsIntradomainrouting:RIP,OSPF,etcASswanttochooseownnon-localroutingpolicyInterdomainroutingmustacc

4、ommodatethisBGPisthecurrentinterdomainroutingprotocolBGP:BorderGatewayProtocol,HuazhongUniversityofScienceandTechnology,6,Example,AS-1,AS-2,AS-3,Interiorrouter,BGProuter,HuazhongUniversityofScienceandTechnology,7,Intra-Domain,AS-1,AS-2,AS-3,Interiorrouter,BGProuter,Intra-domainroutingprotocolakaInte

5、riorGatewayProtocol(IGP),e.g.OSPF,RIP,HuazhongUniversityofScienceandTechnology,8,Inter-Domain,AS-2,Interiorrouter,BGProuter,Inter-domainroutingprotocolakaExteriorGatewayProtocol(EGP),e.g.BGP,AS-1,AS-3,HuazhongUniversityofScienceandTechnology,9,Inter-DomainRouting,GlobalconnectivityisatstakeInevitabl

6、yleadstoonesingleprotocolthateveryonemustspeakUnlikemanychoicesinintra-domainroutingWhataretherequirements?ScalabilityFlexibilityinchoosingroutesIfyouweretochoose,linkstatebasedordistancevectorbased?BGPissortofahybrid:Pathvectorprotocol,HuazhongUniversityofScienceandTechnology,10,BorderGatewayProtoc

7、olPartI:E-BGP,borderrouter,internalrouter,E-BGP,AS1,AS2,TwotypesofroutersBorderrouter(Edge),Internalrouter(Core),HuazhongUniversityofScienceandTechnology,11,PurposeofE-BGP,borderrouter,internalrouter,E-BGP,A,AS1,AS2,ShareconnectivityinformationacrossASes,HuazhongUniversityofScienceandTechnology,12,P

8、artII:I-BGP,CarryingInfowithinanAS,E-BGP,A,AS2,E-BGP,HuazhongUniversityofScienceandTechnology,13,I-BGP,I-BGPneighborsdonotannounceroutesreceivedviaI-BGPtootherI-BGPneighbors.,Problem:InjectingexternalroutesintoIGP(e.g.OSPF)doesnotscaleandcausesBGPpolicyinformationtobelostI-BGPcanbeusedtodisseminateB

9、GProutestoallroutersinASBGProute+IGProutesufficetocreateforwardingtable,HuazhongUniversityofScienceandTechnology,14,JoinI-BGPwithIGPtoCreateForwardingTable,AS1,AS2,192.0.2.1,135.207.0.0/16,10.10.10.10,192.0.2.0/30,E-BGP,HuazhongUniversityofScienceandTechnology,15,MultipleRoutingProcessesonaSingleRou

10、ter,ForwardingTable,OSPFDomain,BGP,OSkernel,ForwardingTableManager,HuazhongUniversityofScienceandTechnology,16,RoutingbetweenISPs,Routingprotocol(BGP)containsreachabilityinformation(nometrics)NotaboutoptimizinganythingAllaboutpolicy(businessandpolitics)Why?MetricsoptimizeforaparticularcriteriaAT&Tsi

11、deaofagoodrouteisnotthesameasUUnetsScaleWhataBGPspeakerannouncesornotannouncestoapeerdetermineswhatroutesmaygetusedbywhom,HuazhongUniversityofScienceandTechnology,17,Nontransitvs.TransitASes,ISP1,ISP2,NontransitASmightbeacorporateorcampusnetwork.,NETA,TrafficNEVERflowsfromISP1throughNETAtoISP2(Atlea

12、stnotintentionally!),IPtraffic,InternetServiceproviders(often)havetransitnetworks,HuazhongUniversityofScienceandTechnology,18,SelectiveTransit,NETB,NETC,NETAprovidestransitbetweenNETBandNETCandbetweenNETDandNETC,NETA,NETD,NETADOESNOTprovidetransitBetweenNETDandNETB,Mosttransitnetworkstransitinaselec

13、tivemanner,HuazhongUniversityofScienceandTechnology,19,CustomersandProviders,CustomerpaysproviderforaccesstotheInternet,provider,customer,HuazhongUniversityofScienceandTechnology,20,CustomersDontAlwaysNeedBGP,provider,customer,Defaultroute0.0.0.0/0pointingtoprovider.,Configuredroute192.0.2.0/24point

14、ingtocustomer,192.0.2.0/24,StaticroutingisthemostcommonwayofconnectinganautonomousroutingdomaintotheInternet.ThishelpsexplainwhyBGPisamysterytomany,HuazhongUniversityofScienceandTechnology,21,Customer-ProviderHierarchy,IPtraffic,provider,customer,HuazhongUniversityofScienceandTechnology,22,ThePeerin

15、gRelationship,PeersprovidetransitbetweentheirrespectivecustomersPeersdonotprovidetransitbetweenpeersPeers(often)donotexchange$,trafficallowed,trafficNOTallowed,HuazhongUniversityofScienceandTechnology,23,PeeringProvidesShortcuts,Peeringalsoallowsconnectivitybetweenthecustomersof“Tier1”providers.,Hua

16、zhongUniversityofScienceandTechnology,24,BGP:PathVectorProtocol,DistancevectoralgorithmwithextrainformationForeachroute,storethecompletepath(ASs)Noextracomputation,justextrastorageAdvantages:canmakepolicychoicesbasedonsetofASsinpathcaneasilyavoidloops,HuazhongUniversityofScienceandTechnology,25,BGPO

17、perations(Simplified),EstablishsessiononTCPport179,Exchangeallactiveroutes,Exchangeincrementalupdates,AS1,AS2,WhileconnectionisALIVEexchangerouteUPDATEmessages,BGPsession,HuazhongUniversityofScienceandTechnology,26,FourTypesofBGPMessages,Open:Establishapeeringsession.KeepAlive:Handshakeatregularinte

18、rvals.Notification:Shutsdownapeeringsession.Update:Announcingnewroutesorwithdrawingpreviouslyannouncedroutes.,Announcement=prefix+attributesvalues,HuazhongUniversityofScienceandTechnology,27,AttributesareUsedtoSelectBestRoutes,192.0.2.0/24pickme!,192.0.2.0/24pickme!,192.0.2.0/24pickme!,192.0.2.0/24p

19、ickme!,Givenmultipleroutestothesameprefix,aBGPspeakermustpickatmostonebestroute(Note:itcouldrejectthemall!),HuazhongUniversityofScienceandTechnology,28,Example:MultipleASPaths,128.2/16,128.2/169701,128.2/16970181239,HuazhongUniversityofScienceandTechnology,29,ShorterDoesntAlwaysMeanShorter,AS4,AS3,A

20、S2,AS1,Path41is“better”thanpath321,HuazhongUniversityofScienceandTechnology,30,ImplementingCustomer/ProviderandPeer/Peerrelationships,WhatyouannouncedetermineswhatroutecanbeusedbywhomEnforcetransitrelationshipsOutboundroutefilteringEnforceorderofroutepreferenceproviderpeercustomer,HuazhongUniversity

21、ofScienceandTechnology,31,ImportRoutes,Frompeer,Frompeer,Fromprovider,Fromprovider,Fromcustomer,Fromcustomer,HuazhongUniversityofScienceandTechnology,32,ExportRoutes,Topeer,Topeer,Tocustomer,Tocustomer,Toprovider,Fromprovider,providerroute,customerroute,peerroute,ISProute,HuazhongUniversityofScienceandTechnology,33,HowCanRoutesbeColored?BGPCommunities!,VerypowerfulBECAUSEithasnopredefinedmeaning,CommunityAttribute=alistofcommunityvalues.(Sooneroutecanbelongtomultiplecommunities),UsedforsignalingwithinandbetweenASes,HuazhongUniversityofSciencea

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

最新文档

评论

0/150

提交评论