




已閱讀5頁,還剩4頁未讀, 繼續(xù)免費閱讀
版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quá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)容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責。
- 6. 下載文件中如有侵權(quán)或不適當內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 影視道具專業(yè)保險及責任承擔協(xié)議
- 知識產(chǎn)權(quán)代管與新能源技術(shù)合作合同
- 微信視頻號美食烘焙教程制作與推廣服務(wù)協(xié)議
- 智能家居股權(quán)變更登記及智能家居生態(tài)合作協(xié)議
- 建筑空調(diào)系統(tǒng)安裝與節(jié)能改造及運維服務(wù)協(xié)議
- 固廢處理與資源化利用項目投資協(xié)議
- 商業(yè)銀行柜員崗位全職聘用與業(yè)務(wù)流程優(yōu)化合同
- 智能教育平臺課程內(nèi)容版權(quán)授權(quán)與品牌合作合同
- 數(shù)據(jù)中心備用電源租賃及智能運維服務(wù)合同
- 抖音平臺火花話題挑戰(zhàn)賽合作伙伴市場推廣與品牌宣傳協(xié)議
- 蜜雪冰城合作加盟合同
- 急性心衰的急救護理與流程
- 新聞記者職業(yè)資格《新聞基礎(chǔ)知識》考試題庫(含答案)
- 國開2024年秋《心理健康教育》形考任務(wù)1-9答案
- 妊娠紋的治療
- 電力運維管理平臺方案設(shè)計
- 安全培訓管理體系
- 古詩教案模板范文
- 屠宰場安全培訓
- 光伏電站運維課件
- 廠區(qū)綠化環(huán)境提升方案
評論
0/150
提交評論