




已閱讀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)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 2025年網(wǎng)絡(luò)管理員軟考試題及答案解析
- 行政管理專業(yè)考試要點:試題及答案
- 燙傷的臨床護理
- 法律規(guī)則與案例分析試題及答案
- 提升認(rèn)知的2025年軟件設(shè)計師試題及答案
- 事業(yè)編上崗協(xié)議書
- 企業(yè)投資回報與風(fēng)險管理試題及答案
- 請求更改協(xié)議書
- 企業(yè)簽消費協(xié)議書
- 貨物分流協(xié)議書
- 腸癰護理常規(guī)
- 外研版小升初必背詞匯
- 咪咕在線測評題
- 中華詩詞之美學(xué)習(xí)通超星期末考試答案章節(jié)答案2024年
- 專題13 統(tǒng)計與概率-【好題匯編】五年(2020-2024)高考數(shù)學(xué)真題分類匯編(含答案解析)
- 新課標(biāo)語文整本書閱讀教學(xué)課件:魯濱遜漂流記(六下)
- 中南大學(xué)版固體物理學(xué)習(xí)題及答案詳解分析
- DL∕T 319-2018 架空輸電線路施工抱桿通 用技術(shù)條件及試驗方法
- CJ/T 158-2002 城市污水處理廠管道和設(shè)備色標(biāo)
- GB/T 22581-2024混流式水泵水輪機基本技術(shù)條件
- 房地產(chǎn)銷售客戶購房動機調(diào)研
評論
0/150
提交評論