




已閱讀5頁,還剩4頁未讀, 繼續(xù)免費(fèi)閱讀
版權(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)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 計算機(jī)二級VFP學(xué)習(xí)方法分配試題及答案
- 軟件開發(fā)知識結(jié)構(gòu)試題及答案解析
- 企業(yè)內(nèi)部退養(yǎng)管理辦法政策解讀
- 骨科內(nèi)固定護(hù)理
- 披薩店的品牌推廣和社交媒體營銷策略
- 財務(wù)決策模型中的邏輯推導(dǎo)試題及答案
- VFP試題類型分類解析試題及答案
- 建造外圍墻合同協(xié)議書
- 2025年嵌入式考試挑戰(zhàn)與對策試題及答案
- 無法繼續(xù)履行合同協(xié)議書
- 樂山市市級事業(yè)單位選調(diào)工作人員考試真題2024
- 山東省濟(jì)南市2025屆高三三模生物試卷(含答案)
- 2025年法律基礎(chǔ)知識考試試題及答案
- 火力發(fā)電廠安全培訓(xùn)課件
- 第八章-實(shí)數(shù)(單元復(fù)習(xí)課件)七年級數(shù)學(xué)下冊同步高效課堂(人教版2024)
- 浙江百順服裝有限公司年產(chǎn)100萬套服裝及135萬套床上用品生產(chǎn)線項(xiàng)目環(huán)境影響報告
- 交通大數(shù)據(jù)的應(yīng)用試題及答案
- 2024年中石油招聘考試真題
- 企業(yè)環(huán)保與健康安全管理體系的構(gòu)建與實(shí)施
- 《抽水蓄能電站樞紐布置格局比選專題報告編制規(guī)程 》征求意見稿
- DZ∕T 0211-2020 礦產(chǎn)地質(zhì)勘查規(guī)范 重晶石、毒重石、螢石、硼(正式版)
評論
0/150
提交評論