




已閱讀5頁,還剩4頁未讀, 繼續(xù)免費閱讀
版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報或認(rèn)領(lǐng)
文檔簡介
原文部分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. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(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)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 高端汽車維修中心場地租賃及維修技術(shù)引進(jìn)合同
- 不動產(chǎn)抵押擔(dān)保房地產(chǎn)開發(fā)合同
- 餐飲店面租賃及品牌升級改造合同
- 車輛安全責(zé)任事故調(diào)查與處理協(xié)議
- 產(chǎn)業(yè)園區(qū)廠房物業(yè)安全防范與應(yīng)急處理合同
- 餐飲品牌區(qū)域代理權(quán)授權(quán)合同范本
- 生態(tài)旅游度假區(qū)租賃承租合同
- 城市綜合體餐飲業(yè)態(tài)承包協(xié)議書模板
- 餐飲店店長職位競聘與職業(yè)規(guī)劃合同
- 體育健身園區(qū)場地合作開發(fā)與經(jīng)營協(xié)議書
- 采購磁鐵物料合同模板
- 2024年重新寫撫養(yǎng)協(xié)議書模板
- 專題6.6射影定理專項提升訓(xùn)練(重難點培優(yōu))-2022-2023學(xué)年九年級數(shù)學(xué)下冊尖子生培優(yōu)題典(原卷版)
- 中華詩詞之美學(xué)習(xí)通超星期末考試答案章節(jié)答案2024年
- 蚊蠅蟲鼠害防治管理制度
- DL∕T 1811-2018 電力變壓器用天然酯絕緣油選用導(dǎo)則
- 水泵檢修工(高級)技能鑒定考試題庫(含答案)
- AQ/T 9009-2015 生產(chǎn)安全事故應(yīng)急演練評估規(guī)范(正式版)
- 瀘州老窖“濃香文釀杯”企業(yè)文化知識競賽考試題庫大全-下(多選、填空題)
- 酒店運營管理 智慧樹知到期末考試答案章節(jié)答案2024年山東青年政治學(xué)院
- 幼兒園課程故事開展培訓(xùn)
評論
0/150
提交評論