欢迎来到天天文库
浏览记录
ID:33159325
大小:81.50 KB
页数:5页
时间:2019-02-21
《static and dynamic routing静态和动态路由》由会员上传分享,免费在线阅读,更多相关内容在应用文档-天天文库。
1、NetworkingBasicsB.KonkothLesson13–NetworkLayerStaticandDynamicRoutingWhenitcomestorouting,thereisahugedifferencebetweenthetwotypesofrouting:staticanddynamic.Earlyroutershadtobeprogrammedwithexactlywhichnetworkstheycouldroutebetweenwhichinterfaces,especiallyiftherewe
2、remanynetworkinterfaces.Thisiscalledstaticrouting,whichconsistsofadding,maintaining,anddeletingroutesofthenetworkroutingdevicesbythenetworkadministrator.Inasmallcompanythismaynotbemuchofachore,butformediumtolargenetworks,thiscanbenearlyimpossible.Theselargernetworks
3、almostalwaysemploymanylogicalsubnets,whichrequiresyoutoupdatetheroutetablesoneachroutingdevice.Iftheseremotesubnetsareconnectedbyrouterswithstaticroutetables,youhavetoaddtheexactstaticrouteinordertocommunicatebetweenthetwosubnets.Tablebelowgivesyouanexampleofwhatisc
4、ontainedintheroutingtable.Destination AdjacentRouterHopsNetwork1RouterA1Network1RouterB2Network2RouterB2Network2RouterC3Network3RouterD3AnExampleofaRoutingTableInthistableyoucanseehowyouonlyspecifytheroutertobeusedtoreachyourdestination,nottheactualdestinationitself
5、.AlsonoticethecolumnforHops.Thisiswhatdetermineswhichrouteisthemostefficient,similarto“NameThatTune.”Ifarouteclaimsitcanreachthedestinationinonefewerhopthanthenextrouter,thenlethimproveit.Iftherearetwoidenticalroutestothesamedestination,theroutewiththefewesthopswill
6、beused. Onechangetoanetworkaddressmeansvisitingeveryroutingdevicethatemploysstaticroutingandupdatingtheentry.Whatdowedoifournetworkisfairlylargeandcomplex?Wemustthenuseroutingdevicescapableofdynamicallyupdatingtheroutetables.Dynamicroutingdoesnotrequirethenetworkadm
7、inistratortoeditcomplexroutingtablesinordertocommunicatewithothernetworksorsegments.TheserouterscommunicatewitheachotherusingapowerfulroutingprotocolsuchasRoutingInformationProtocol(RIP)orOpenShortestPathFirst(OSPF).Theycanalsoqueryotherroutersforupdatedrouteinforma
8、tion,whichcancreatemoreefficientpathsforsendingpacketsorlocateanalternativerouteiftheoriginalroutefails.Therouterscanbroadcasttheroutesthe
此文档下载收益归作者所有