已阅读5页,还剩4页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
原文部分Inmostwideareanetworks,thesubnetconsistsoftwodistinctcomponents:transmissionlinesandswitchingelements.Transmissionlines(alsocalledcircuits,channels,ortrunks)movebitsbetweenmachines.Theswitchingelementsarespecializedcomputersusedtoconnecttwoormoretransmissionlined.Whendataarriveonanincomingline,theswitchingelementmustchooseanoutgoinglinetoforwardthemon.Unfortunately,thereisnostandardterminologyusedtonamethesecomputers.Theyarevariouslycalledpacketswitchingexchanges,amongotherthings.Asagenerictermfortheswitchingcomputers,willuseexistshere.Inthismodel,showninfig.9.5,eachhostisgenerallyconnectedtoaLANonarouter.Thecollectionofcommunicationlinesandrouters(butnotthehosts)formthesubnet.Anasideabouttheterm“subnet”isworthmaking.Originally,itsonlymeaningwasthecollectionofroutersandcommunicationlinesthatmovedpacketsfromthesourcehosttothedestinationhost.However,networkaddressing.Hencethetermhasacertainambiguityaboutit.Unfortunately,nowidely-usedalternativeexistsforitsinitialmeaning,sowithsomehesitationwewilluseitinbothsenses.Fromthecontext,itwillalwaysbeclearwhichismeant.InmostWANs,thenetworkcontainsnumerouscablesortelephonelines,eachoneconnectingapairofrouters.Iftworoutersthatdonotshareacableneverthelesswishtocommunicate,theymustdothisindirectly,viaotherrouters.Whenapacketissentfromoneroutertoanotherviaoneormoreintermediaterouters,thepacketisreceivedateachintermediaterouterinitsentirety,storedthereuntiltherequiredoutputlineisfree,andthenforwarded.Asubnetusingthisprincipleiscalledapoint-to-point,store-and-forward,orpacket-switchedsubnet.Nearlyallwideareanetworks(exceptthoseusingsatellites)havestore-and-forwardsubnets.Whenthepacketsaresmallandallthesamesize,theyareoftencalledcells.Whenapoint-to-pointsubnetisused,animportantdesignissueiswhattherouterinterconnectiontopologyshouldlooklike.Fig.9.6showsseveralpossibletopologies.Localnetworksthatweredesignedassuchusuallyhaveasymmetrictopology.Incontrast,wideareanetworkstypicallyhaveirregulartopologies.AsecondpossibilityforaWANisasatelliteorgroundradiosystem.Eachrouterhasanantennathroughwhichitcansendandreceive.Allrouterscanheartheoutputfromthesatellite,andinsomecasestheycanalsoheartheupwardtransmissionsoftheirfellowrouterstothesatelliteaswell.Sometimestheroutersareconnectedtoasubstantialpoint-to-pointsubnet,withonlysomeofthemhavingasatelliteantenna.Satellitenetworksareinherentlybroadcastandaremostusefulwhenthebroadcastpropertyisimportant.9.2.4WirelessNetworksMobilecomputers,suchasnotebookcomputersandpersonaldigitalassistants(PDA),arethefastest-growingsegmentofthecomputerindustry.ManyoftheownersofthesecomputershavedesktopmachinesonLANsandWANsbackattheofficeandwanttobeconnectedtotheirhomebaseevenwhenawayfromhomeoraroute.Sincehavingawiredconnectionisimpossibleincarsandairplanes,thereisalotofinterestinwirelessnetworks.Onthissectionwewillbrieflyintroducethistopic.Actually,digitalwirelesscommunicationisnotanewidea.Asearlyas1901,theItalianphysicistGuglielmoMarconidemonstratedaship-to-shorewirelesstelegraphusingMorseCode(dotsanddashesrebinary,afterall).Modemdigitalwirelesssystemshavebetterperformance,butthebasicideaisthesame.Wirelessnetworkshavemanyuses.Acommononeistheportableoffice.Peopleontheroadoftenwanttousetheirportableelectronicequipmenttosendandreceivetelephonecalls,faxes,andelectronicmail,readremotefiles,loginonremotemachines,andsoon,anddothisfromanywhereonland,sea,orair.Wirelessnetworksarelfgreatvaluetofleetsoftrucks,taxis,buses,andrepairpersonsforkeepingincontactwithhome.Anotheruseisforrescueworkersatdisastersites(fires,floods,earthquakes,etc.)wherethetelephonesystemhasbeendestroyed.Computerstherecansendmessages,keeprecords,andsoon.Finally,wirelessnetworksareimportanttothemilitary.Ifyouhavetobeablefightawaranywhereonearthonshortnotice,countingonusingthelocalnetworkinginfrastructureisprobablynotagoodidea.Itisbettertobringyourown.Althoughwirelessnetworkingandmobilecomputingareoftenrelated,theyarenotidentical,asfig.9.7shows.Portablecomputersaresometimeswired.Forexample,ifatravelerplugsaplugsaportablecomputerintothetelephonejackinahotel,wehavemobilitywithoutawirelessnetwork.Anotherexampleissomeonecarryingaportablecomputeralongasheinspectsatrainfortechnicalproblems.Herealongcordcantrailalongbehind(vacuumcleanermodel).Ontheotherhand,somewirelesscomputersarenotportable.Animportantexamplehereisacompanythatownsanolderbuildingthatdoesnothavenetworkcablinginstalledandwantstoconnectitscomputers.InstallingawirelessLANmayrequirelittlemorethanbuyingasmallboxwithsomeelectronicsandsettingupsomeantennas.Thissolutionmaybecheaperthanwiringthebuilding.AlthoughwirelessLANsareeasytoinstall,theyalsohavesomedisadvantages.Typicallytheyhaveacapacityof1to2Mbps,whichismuchslowerthanwiredLANs.Theerrorratesareoftenmuchhigher,too,andthetransmissionsfromdifferentcomputerscaninterferewithoneanother.Butofcourse,therearealsothetruemobile,wirelessapplications,rangingfromtheportableofficetopeoplewalkingaroundastorewithaPDAdoinginventory.Atmanybusyairports,carrentalreturnclerksworkoutintheparkinglotwithwirelessportablecomputers.Theytypeinabuilt-inprinter,callsthemaincomputer,getstherentalinformation,andprintsoutthebillonthespot.Wirelessnetworkscomeinmanyforms.Someuniversitiesarealreadyinstallingantennasallovercampustoallowstudentstositunderthetreesandconsultthelibraryscardcatalog.HerethecomputerscommunicatedirectlywiththewirelessLANindigitalform.Anotherpossibilityisusingacellular(i.e.portable)telephonewithatraditionalanalogmodem.Directdigitalcellarservice,calledCDPD(CellularDigitalPacketData)isbecomingavailableinmanycities.Finally,itispossibletohavedifferentcombinationsofwiredandwirelessnetworking.Forexample,infig.9.8(a),wedepictanairplanewithanumberofpeopleusingmodemsandseat-backtelephonestocalltheoffice.Eachcallisindependentoftheotherones.Amuchmoreefficientoption,however,istheflyingLANofFig.9.8(b).HereeachseatcomesequippedwithanEthernetconnectorintowhichpassengerscanplugtheircomputers.Asinglerouterontheaircraftmaintainssradiolinkwithsomerouterontheground,changingroutersasitfliesalong.ThisconfigurationisjustatraditionalLAN,exceptthatitsconnectiontotheoutsideworldhappenstobearadiolinkinsteadofahardwiredline.Whilemanypeoplebelievethatwirelessportablecomputersarethewaveofthefuture,atleastonedissentingvoicehasbeenheard.BobMetcalfe,theinventorofEthernet,haswritten:“Mobilewirelesscomputersarelikemobilepipelessbathroomsportapotties.Theywillbecommononvehicles,andatconstructionsites,androckconcerts.Myadviceistowireupyourhomeandstaythere.”WillmostpeoplefollowMetcalfesadvice?Timewilltell.9.2.5InternetworksManynetworksexistintheworld,oftenwithdifferenthardwareandsoftware.Peopleconnectedtoonenetworkoftenwanttocommunicatewithpeopleattachedtoadifferentone.Thisdesirerequiresconnectingtogetherdifferent,andfrequentlyincompatiblenetworks,sometimesbyusingmachinescalledgatewaystomaketheconnectionandprovidethenecessarytranslation,bothintermsofhardwareandsoftware.Acollectionofinterconnectednetworksiscalledaninternetworkorjustinternet.AcommonformofinternetisacollectionofLANsconnectedbyaWAN.Infact,ifweweretoreplacethelabel“subnet”inFig.9.5by“WAN”,nothingelseinthefigurewouldhavetochange.TheonlyrealdistinctionbetweenasubnetandaWANinthiscaseiswhetherornothostsarepresent.Ifitcontainsbothroutersandhostswiththeirownusers,itisaWAN.Toavoidconfusion,pleasenotethattheword“internet”willalwaysbeusedinagenericsense.Incontrast,theInternet,theInternet(noteuppercaseI)meansaspecificworldwideinternetthatiswidelyusedtoconnectuniversities,governmentoffices,companies,andoflate,privateindividuals.Subnets,networks,andinternetworksareoftenconfused.Subnetmakesthemostsenseinthecontextofawideareanetwork,whereitreferstothecollectionofroutersandcommunicationlinesownedbythenetworkoperator,forexample,companieslikeAmericaOnlineandCompuServe.Asananalogy,thetelephonesystemconsistsoftelephoneswitchingofficesconnectedtoeachotherbyhigh-speedlines.Theselinesandequipment,ownedandmanagedbythetelephonecompany,formthesubnetofthetelephonesystem.Thetelephonesthemselves(thehostsinthisanalogy)arenotpartofthesubnet.Thecombinationofasubnetanditshostsformsanetwork.InthecaseofaLAN,thecableandthehostsformthenetwork.Therereallyisnosubnet.Aninternetworkisformedwhendistinctnetworksareconnectedtogether.Inourview,connectingaLANandaWANorconnectingtwoLANsformsaninternetwork,butthereislittleagreementintheindustryoverterminologyinthisarea.9.3networksoftwareThefirstcomputernetworksweredesignedwiththehardwareasthemainconcernandthesoftwareasanafterthought.Thisstrategynolongerworks.Networksoftwareisnowhighlystructured.Inthefollowingsectionsweexaminethesoftwarestructuringtechniqueinsomedetail.Themethoddescribedhereformsthekeystoneoftheentirebookandwilloccurrepeatedlylateron.9.3.1ProtocolHierarchiesToreducetheirdesigncomplexity,mostnetworksareorganizedasaseriesoflayersorlevels,eachonebuiltupontheonebelowit.Thenumberoflayers,thenameofeachlayer,thecontentsofeachlayer,andthefunctionofeachlayerdifferfromnetworktonetworktonetwork.However,inallnetworks,thepurposeofeachlayeristooffercertainservicestothehigherlayers,shieldingthoselayersfromthedetailsofhowtheofferedservicesareactuallyimplemented.Layernononemachinecarriesonaconversationwithlayernonanothermachine.Therulesandconventionsusedinthisconversationarecollectivelyknownasthecommunicatingpartiesonhowcommunicationistoproceed.Asananalogy,whenawomanisintroducedtoaman,shemaychoosetostickoutherhand.He,inturn,maydecideeithertoshakeitorkissit,depending,forexample,onwhethersheisanAmericanlawyeratabusinessmeetingoraEuropeanprincessataformalball.Violatingtheprotocolwillmakecommunicationmoredifficult,ifnotimpossible.Afive-layernetworkisillustratedinFig.9.9.Theentitiescomprisingthecorrespondinglayersondifferentmachinesarecalledpeers.Inotherwords,itisthepeersthatcommunicateusingtheprotocol.Inreality,nodataaredirectlytransferredfromlayernononemachinetolayernonanothermachine.Instead,eachlayerpassesdataandcontrolinformationtothelayerimmediatelybelowit,untilthelowestlayerisreached.Belowlayer1isthephysicalmediumthroughwhichactualcommunicationoccurs.InFig.9.9,virtualcommunicationisshownbydottedlinesandphysicalcom
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 《地球上的矿物资源导学案-2023-2024学年科学沪教版上海》
- 《棉花的生长发育作业设计方案-农作物生产》
- 《分数的再认识(一)》(教案)五年级上册数学北师大版
- 《生物进化的秘密作业设计方案》
- 2024年广东省深圳罗湖区四校联考中考物理模拟试题含解析
- 水环真空泵企业可持续发展战略
- 动态环境下联盟竞合、治理机制与创新绩效的关系研究
- 告白还是辩白企业环境表现与环境信息披露关系研究
- 浅谈小学文言文教学策略
- 4材质的美(教案)2023-2024学年美术四年级下册
- 2023年江苏省南京市中考数学真题试卷
- 2024年高考理综试题及答案(全国新课标卷)11
- 大葱杈头如何防
- 心脏左心耳封堵术护理
- 医疗法律知识讲座
- 民宿保险可行性方案
- 融合学校特色项目课程提升综合实践活动实效-《走进葫芦丝文化》六年级综合实践活动案例探析
- 市场调研部门年度工作总结
- 机器人项目商业计划书-
- 基因工程与生物技术
- 鼻咽癌的教学设计
评论
0/150
提交评论