資源描述:
《網(wǎng)絡(luò)互聯(lián)技術(shù) 梁廣民王隆杰CHP09OSPF_9.2OSPF網(wǎng)絡(luò)類型和DR選舉.ppt》由會員上傳分享,免費(fèi)在線閱讀,更多相關(guān)內(nèi)容在教育資源-天天文庫。
1、開放鏈路最短優(yōu)先OpenShortestPathFirst深圳職業(yè)技術(shù)學(xué)院電子與通信工程學(xué)院教學(xué)目標(biāo)(Objectives)1.OSPF特征(FeatureofOSPF)2.OSPF術(shù)語(OSPFTerminology)3.OSPF數(shù)據(jù)包類型(OSPFPacketTypes)4.OSPF網(wǎng)絡(luò)類型(OSPFNetworkTypes)5.選舉DR和BDR(ElectingtheDRandBDR)6.OSPF基本配置(ConfiguringBasicOSPF)7.OSPF路由器類型(TypesofOSPFRouters)8.OSPF區(qū)域類型(TypesofAreas
2、)9.OSPF驗(yàn)證(OSPFAuthentication)10.OSPF虛鏈路(OSPFVirtualLink)第二節(jié)OSPF網(wǎng)絡(luò)類型和DR選舉OSPF網(wǎng)絡(luò)類型(OSPFNetworkTypes)NetworkTypeCharacteristicsDR/BDRElected?以太網(wǎng)(Ethernet)Yes幀中繼(FrameRelay)YesPPP,HDLCNo管理員用子接口配置(Configuredbyadministratorwithsubinterfaces)NoFrameRelayX.25廣播BroadcastMultiaccess非廣播Nonbroa
3、dcastMultiaccess點(diǎn)到點(diǎn)Point-to-Point點(diǎn)到多點(diǎn)Point-to-Multipoint點(diǎn)到點(diǎn)鏈路(Point-to-PointLinks)1.不進(jìn)行DR選舉NoDRorBDRelectionrequired2.OSPF自動檢測這種接口類型OSPFautodetectsthisinterfacetype廣播型多路訪問網(wǎng)絡(luò)(MultiaccessBroadcastNetwork)1.進(jìn)行DR選舉DRandBDRselectionrequired2.鄰居只與DR和DBR形成鄰接關(guān)系A(chǔ)llneighborroutersformfulladj
4、acencieswiththeDRandBDRonly選舉DR和BDR(ElectingtheDRandBDR)1.最高接口優(yōu)先級的路由器被選成DRTherouterwiththehighestOSPFpriorityisselectedastheDR.2.最高路由器ID的路由器被選舉成DRUsetheOSPFrouterIDasthetiebreaker.3.DR選舉不具有搶占性TheDRelectionisnonpreemptive.確定OSPF路由器ID(OSPFRouterID)1.通過router-id命令指定的最為優(yōu)先AnOSPFrouter-
5、idcommandcanoverrideOSPFrouterID.2.最高的環(huán)回接口地址次之AloopbackinterfacecanoverrideOSPFrouterID.ItisthehighestIPaddressofanyactiveloopbackinterface.3.最后是最高活動的物理接口的IP地址therouterIDisthehighestIPaddressonanactiveinterfaceatthemomentofOSPFprocessstartup.為了穩(wěn)定,命令或環(huán)回接口被推薦Theloopbackorrouter-idcomm
6、andisrecommendedforstability.環(huán)回接口(LoopbackInterfaces)interfaceloopback0ipaddress172.16.17.5255.255.255.255如果ospf路由進(jìn)程已經(jīng)啟動,必須重新清除ospf進(jìn)程,新的路由器ID才生效。IftheOSPFprocessisalreadyrunning,theOSPFprocessmustbeclearedbeforethenewrouter-idcommandwilltakeeffect.Router(config)#Router(config-if)#r
7、outer-idip-address這是路由進(jìn)程下的子命令Thiscommandissubordinatetotherouter-idospfcommand.用clearipospfprocess命令可以使得配置生效。IfthiscommandisusedonanOSPFprocessthatisalreadyactive,thenthenewrouterIDisusedatthenextreloadoratamanualOSPFprocessrestartusingtheclearipospfprocesscommand.OSPFrouter-id命令(O
8、SPFrouter-idcommand