




版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認領(lǐng)
文檔簡介
Chapter4-1Networklayer1NetworklayerChapter4:NetworkLayerChaptergoals:
understandprinciplesbehindnetworklayerservices:networklayerservicemodelsforwardingversusroutinghowarouterworksrouting(pathselection)dealingwithscaleadvancedtopics:IPv6,mobilityinstantiation,implementationintheInternet2NetworklayerChapter4:NetworkLayer4.1Introduction4.2Virtualcircuitanddatagramnetworks4.3What’sinsidearouter4.4IP:InternetProtocolDatagramformatIPv4addressingVLSM/CIDRICMPIPv6IPsec4.5RoutingalgorithmsLinkstateDistanceVectorHierarchicalrouting4.6RoutingintheInternetRIPOSPFBGP4.7Broadcastandmulticastrouting3NetworklayerChapter4:NetworkLayer4.1Introduction4.2Virtualcircuitanddatagramnetworks4.3What’sinsidearouter4.4IP:InternetProtocolDatagramformatIPv4addressingICMPIPv64.5RoutingalgorithmsLinkstateDistanceVectorHierarchicalrouting4.6RoutingintheInternetRIPOSPFBGP4.7Broadcastandmulticastrouting4NetworklayerNetworklayertransportsegmentfromsendingtoreceivinghostonsendingsideencapsulatessegmentsintodatagramsonrcvingside,deliverssegmentstotransportlayernetworklayerprotocolsineveryhost,routerrouterexaminesheaderfieldsinallIPdatagramspassingthroughitapplicationtransportnetworkdatalinkphysicalapplicationtransportnetworkdatalinkphysicalnetworkdatalinkphysicalnetworkdatalinkphysicalnetworkdatalinkphysicalnetworkdatalinkphysicalnetworkdatalinkphysicalnetworkdatalinkphysicalnetworkdatalinkphysicalnetworkdatalinkphysicalnetworkdatalinkphysicalnetworkdatalinkphysicalnetworkdatalinkphysical5NetworklayerTwoKeyNetwork-LayerFunctionsforwarding:movepacketsfromrouter’sinputtoappropriaterouteroutputrouting:determineroutetakenbypacketsfromsourcetodest.routingalgorithmsanalogy:routing:processofplanningtripfromsourcetodestforwarding:processofgettingthroughsingleinterchange6Networklayer1230111valueinarrivingpacket’sheaderroutingalgorithmlocalforwardingtableheadervalueoutputlink01000101011110013221Interplaybetweenroutingandforwarding7NetworklayerConnectionsetup3rdimportantfunctioninsomenetworkarchitectures:ATM,framerelay,X.25beforedatagramsflow,twoendhostsandinterveningroutersestablishvirtualconnectionroutersgetinvolvednetworkvstransportlayerconnectionservice:network:betweentwohosts(mayalsoinvolveinterveningroutersincaseofVCs)transport:betweentwoprocesses8NetworklayerNetworkservicemodelQ:Whatservicemodelfor“channel”transportingdatagramsfromsendertoreceiver?Exampleservicesforindividualdatagrams:guaranteeddeliveryguaranteeddeliverywithlessthan40msecdelayExampleservicesforaflowofdatagrams:in-orderdatagramdeliveryguaranteedminimumbandwidthtoflowrestrictionsonchangesininter-packetspacing9NetworklayerNetworklayerservicemodels:NetworkArchitectureInternetATMATMATMATMServiceModelbesteffortCBRVBRABRUBRBandwidthnoneconstantrateguaranteedrateguaranteedminimumnoneLossnoyesyesnonoOrdernoyesyesyesyesTimingnoyesyesnonoCongestionfeedbackno(inferredvialoss)nocongestionnocongestionyesnoGuarantees?10NetworklayerChapter4:NetworkLayer4.1Introduction4.2Virtualcircuitanddatagramnetworks4.3What’sinsidearouter4.4IP:InternetProtocolDatagramformatIPv4addressingICMPIPv64.5RoutingalgorithmsLinkstateDistanceVectorHierarchicalrouting4.6RoutingintheInternetRIPOSPFBGP4.7Broadcastandmulticastrouting11NetworklayerNetworklayerconnectionandconnection-lessservicedatagramnetworkprovidesnetwork-layerconnectionlessserviceVCnetworkprovidesnetwork-layerconnectionserviceanalogoustothetransport-layerservices,but:service:host-to-hostnochoice:networkprovidesoneortheotherimplementation:innetworkcore12NetworklayerVirtualcircuitscallsetup,teardownforeachcallbeforedatacanfloweachpacketcarriesVCidentifier(notdestinationhostaddress)everyrouteronsource-destpathmaintains“state”foreachpassingconnectionlink,routerresources(bandwidth,buffers)maybeallocatedtoVC(dedicatedresources=predictableservice)“source-to-destpathbehavesmuchliketelephonecircuit”performance-wisenetworkactionsalongsource-to-destpath13NetworklayerVCimplementationaVCconsistsof:pathfromsourcetodestinationVCnumbers,onenumberforeachlinkalongpathentriesinforwardingtablesinroutersalongpathpacketbelongingtoVCcarriesVCnumber(ratherthandestaddress)VCnumbercanbechangedoneachlink.NewVCnumbercomesfromforwardingtable14NetworklayerForwardingtable122232123VCnumberinterfacenumberIncominginterfaceIncomingVC#OutgoinginterfaceOutgoingVC#11232226311837217197387…………Forwardingtableinnorthwestrouter:Routersmaintainconnectionstateinformation!15NetworklayerVirtualcircuits:signalingprotocolsusedtosetup,maintainteardownVCusedinATM,frame-relay,X.25notusedintoday’sInternetapplicationtransportnetworkdatalinkphysicalapplicationtransportnetworkdatalinkphysical1.Initiatecall2.incomingcall3.Acceptcall4.Callconnected5.Dataflowbegins6.Receivedata16NetworklayerDatagramnetworksnocallsetupatnetworklayerrouters:nostateaboutend-to-endconnectionsnonetwork-levelconceptof“connection”packetsforwardedusingdestinationhostaddresspacketsbetweensamesource-destpairmaytakedifferentpathsapplicationtransportnetworkdatalinkphysicalapplicationtransportnetworkdatalinkphysical1.Senddata2.Receivedata17NetworklayerForwardingtable
DestinationAddressRange
LinkInterface11001000000101110001000000000000through01100100000010111000101111111111111001000000101110001100000000000through11100100000010111000110001111111111001000000101110001100100000000through211001000000101110001111111111111otherwise34billionpossibleentries18NetworklayerLongestprefixmatching
PrefixMatch
LinkInterface110010000001011100010011001000000101110001100011100100000010111000112otherwise3DA:11001000000101110001100010101010ExamplesDA:11001000000101110001011010100001Whichinterface?Whichinterface?19NetworklayerDatagramorVCnetwork:why?Internet(datagram)dataexchangeamongcomputers“elastic”service,nostricttimingreq.“smart”endsystems(computers)canadapt,performcontrol,errorrecoverysimpleinsidenetwork,complexityat“edge”manylinktypesdifferentcharacteristicsuniformservicedifficultATM(VC)evolvedfromtelephonyhumanconversation:stricttiming,reliabilityrequirementsneedforguaranteedservice“dumb”endsystemstelephonescomplexityinsidenetwork20NetworklayerNetworkLayerDesignIssuesStore-and-ForwardPacketSwitchingAhostwithapackettosendtransmitsittothenearestrouter,eitheronitsownLANoroverapoint-to-pointlinktothecarrier.Thepacketisstoredthereuntilithasfullyarrivedsothechecksumcanbeverified.Thenitisforwardedtothenextrouteralongthepathuntilitreachesthedestinationhost,whereitisdelivered.Theenvironmentofthenetworklayerprotocols21NetworklayerImplementationofConnectionlessServiceRoutingwithinadatagramsubnet.22NetworklayerImplementationofConnection-orientedServiceRoutingwithinavirtual-circuitsubnet.23NetworklayerComparisonofvirtualcircuitanddatagram24NetworklayerChapter4:NetworkLayer4.1Introduction4.2Virtualcircuitanddatagramnetworks4.3What’sinsidearouter4.4IP:InternetProtocolDatagramformatIPv4addressingICMPIPv64.5RoutingalgorithmsLinkstateDistanceVectorHierarchicalrouting4.6RoutingintheInternetRIPOSPFBGP4.7Broadcastandmulticastrouting25NetworklayerRouterArchitectureOverviewTwokeyrouterfunctions:
runroutingalgorithms/protocol(RIP,OSPF,BGP)forwardingdatagramsfromincomingtooutgoinglink26NetworklayerInputPortFunctionsDecentralizedswitching:
givendatagramdest.,lookupoutputportusingforwardingtableininputportmemorygoal:completeinputportprocessingat‘linespeed’queuing:ifdatagramsarrivefasterthanforwardingrateintoswitchfabricPhysicallayer:bit-levelreceptionDatalinklayer:e.g.,Ethernetseechapter527NetworklayerThreetypesofswitchingfabrics28NetworklayerSwitchingViaMemoryFirstgenerationrouters:traditionalcomputerswithswitchingunderdirectcontrolofCPUpacketcopiedtosystem’smemoryspeedlimitedbymemorybandwidth(2buscrossingsperdatagram)InputPortOutputPortMemorySystemBus29NetworklayerSwitchingViaaBusdatagramfrominputportmemorytooutputportmemoryviaasharedbusbuscontention:switchingspeedlimitedbybusbandwidth32Gbpsbus,Cisco5600:sufficientspeedforaccessandenterpriserouters30NetworklayerSwitchingViaAnInterconnectionNetworkovercomebusbandwidthlimitationsBanyannetworks,otherinterconnectionnetsinitiallydevelopedtoconnectprocessorsinmultiprocessoradvanceddesign:fragmentingdatagramintofixedlengthcells,switchcellsthroughthefabric.Cisco12000:switches60Gbpsthroughtheinterconnectionnetwork31NetworklayerOutputPortsBufferingrequiredwhendatagra
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 2025四川安置房轉(zhuǎn)讓合同
- 2025年終止患病職工的勞動合同是否應(yīng)當支付合同終止補助費
- 2025知識產(chǎn)權(quán)許可合同范本:技術(shù)許可合同案例分析
- 2025國內(nèi)產(chǎn)品銷售合同
- 2025購銷合同范本下載
- 2025河北工商房屋租賃合同
- 2025【標準汽車租賃合同】正式汽車租賃合同范本
- 2025廣告贊助合同范本
- 2025茶葉購銷合同書范文2
- 2025辦公室租賃標準合同范例
- 微生物檢驗的基礎(chǔ)知識試題及答案
- 2025年北京市三類人員安全員c3證考試題庫及答案
- (四調(diào))武漢市2025屆高中畢業(yè)生四月調(diào)研考試 地理試卷(含答案)
- GB/T 45434.3-2025中國標準時間第3部分:公報
- 北京市消防條例解讀
- 2025年中國城市軌道交通維修行業(yè)投資潛力分析及行業(yè)發(fā)展趨勢報告
- 公司轉(zhuǎn)讓租賃合同樣本
- 大概念視角下的初中數(shù)學(xué)函數(shù)單元整體教學(xué)設(shè)計研究與實踐
- 建筑工程檢測行業(yè)市場現(xiàn)狀分析及未來三到五年發(fā)展趨勢報告
- 煙草行業(yè)網(wǎng)絡(luò)安全體系建設(shè)
- 2024年全國英語競賽《C類本科生》決賽試題真題及答案
評論
0/150
提交評論