實驗;OSPF多區(qū)域基本配置_第1頁
實驗;OSPF多區(qū)域基本配置_第2頁
實驗;OSPF多區(qū)域基本配置_第3頁
實驗;OSPF多區(qū)域基本配置_第4頁
全文預(yù)覽已結(jié)束

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認領(lǐng)

文檔簡介

OSPF多區(qū)域基本配置【實驗名稱】配置OSPF多區(qū)域?!緦嶒?zāi)康摹颗渲肙SPF多區(qū)域,理解OSPF層次型網(wǎng)絡(luò)的特點?!颈尘懊枋觥勘緦嶒炌負鋱D中有3臺路由器,路由器在區(qū)域0和區(qū)域1中,路由器B在區(qū)域0和區(qū)域30,路由器C在區(qū)域30?!拘枨蠓治觥啃枰诒就負鋱D實現(xiàn)OSPF多區(qū)域的配置,并理解OSPF實現(xiàn)層次型網(wǎng)絡(luò)的優(yōu)點。【實驗拓撲】圖7-2實驗拓撲圖【實驗設(shè)備】路由器3臺【預(yù)備知識】路由器基本配置知識、OSPF?!緦嶒炘怼颗渲肙SPF路由協(xié)議,實現(xiàn)多區(qū)域路由。【實驗步驟】步驟1在路由器上配置IP地址。RA#configtRA(config)#interfaceFastEthernet0/0RA(config-if)#ipaddress192.168.1.2255.255.255.0RA(config)#interfaceLoopback0RA(config-if)#ipaddress172.16.0.1255.255.255.0RA(config)#interfaceLoopback1RA(config-if)#ipaddress172.16.1.1255.255.255.0RA(config)#interfaceLoopback2RA(config-if)#ipaddress172.16.2.1255.255.255.0RA(config)#interfaceLoopback3RA(config-if)#ipaddress172.16.3.1255.255.255.0RA(config)#interfaceLoopback4RA(config-if)#ipaddress172.16.4.1255.255.255.0RB#configtRB(config)#interfaceFastEthernet0/0RB(config-if)#ipaddress192.168.1.1255.255.255.0RB(config)#interfaceFastEthernet0/1RB(config-if)#ipaddress192.168.2.1255.255.255.0RB(config)#interfaceLoopback0RB(config-if)#ipaddress172.24.1.1255.255.255.0RB(config)#interfaceLoopback1RB(config-if)#paddress192.168.3.1255.255.255.0RC#configtRC(config)#interfaceFastEthernet0/0RC(config-if)#ipaddress192.168.2.2255.255.255.0RC(config)#interfaceLoopback0RC(config-if)#ipaddress172.24.2.1255.255.255.0RC(config)#interfaceLoopback1RC(config-if)#ipaddress199.0.0.10255.255.255.240步驟2配置OSPF。RA(config)#routerospf10RA(config-router)#network172.16.0.00.0.0.255area1RA(config-router)#network172.16.1.00.0.0.255area1RA(config-router)#network172.16.2.00.0.0.255area1RA(config-router)#network172.16.3.00.0.0.255area1RA(config-router)#network172.16.4.00.0.0.255area1RA(config-router)#network192.168.1.00.0.0.255area0RB(config)#routerospf10RB(config-router)#network172.24.1.00.0.0.255area0RB(config-router)#network192.168.1.00.0.0.255area0RB(config-router)#network192.168.2.00.0.0.255area30RB(config-router)#network192.168.3.00.0.0.255area0RC(config)#routerospf10RC(config-router)#network172.24.2.00.0.0.255area30RC(config-router)#network192.168.2.00.0.0.255area30步驟3驗證測試。

用命令showiproute和shipospfneighbor來驗證配置。RA#showiprouteCodes:C-connected,S-static,R-RIPB-BGPO-OSPF,IA-OSPFinterareaN1-OSPFNSSAexternaltype1,N2-OSPFNSSAexternaltype2E1-OSPFexternaltype1,E2-OSPFexternaltypeia-IS-ISinterareai-IS-IS,L1-IS-ISlevel-1,ia-IS-ISinterarea*-candidatedefaultGatewayoflastresortisnoset172.16.0.0/24isdirectlyconnected,Loopback0172.16.0.1/32islocalhost.172.16.1.0/24isdirectlyconnected,Loopback1172.16.1.1/32islocalhost.172.16.2.0/24isdirectlyconnected,Loopback2172.16.2.1/32islocalhost.172.16.3.0/24isdirectlyGatewayoflastresortisnoset172.16.0.0/24isdirectlyconnected,Loopback0172.16.0.1/32islocalhost.172.16.1.0/24isdirectlyconnected,Loopback1172.16.1.1/32islocalhost.172.16.2.0/24isdirectlyconnected,Loopback2172.16.2.1/32islocalhost.172.16.3.0/24isdirectlyconnected,Loopback3172.16.3.1/32islocalhost.172.16.4.0/24isdirectlyconnected,Loopback4172.16.4.1/32islocalhost.172.24.1.1/32[110/1]via192.168.1.1,00:03:13,FastEthernet0/0IA172.24.2.1/32[110/2]via192.168.1.1,00:00:35,FastEthernet0/0192.168.1.0/24isdirectlyconnected,FastEthernet0/0192.168.1.2/32islocalhost.IA192.168.2.0/24[110/2]via192.168.1.1,00:03:13,FastEthernet0/0192.168.3.1/32[110/1]via192.168.1.1,00:03:13,FastEthernet0/0RC#showiprouteCodes:C-connected,S-static,R-RIPB-BGPO-OSPF,IA-OSPFinterareaN1-OSPFNSSAexternaltype1,N2-OSPFNSSAexternaltype2E1-OSPFexternaltype1,E2-OSPFexternaltype2i-IS-IS,L1-IS-ISlevel-1,L2-IS-ISlevel-2,ia-IS-ISinterarea*-candidatedefaultGatewayoflastresortis0.0.0.0tonetwork0.0.0.0S*0.0.0.0/0isdirectlyconnected,Loopback10/0OIA172.16.0.0/24[110/2]via192.168.2.1,00:02:49,FastEthernetIA172.16.1.0/24[110/2]via192.168.2.1,00:02:49,FastEthernet0/0IA172.16.2.0/24[110/2]via192.168.2.1,00:02:49,FastEthernet0/0IA172.16.3.0/24[110/2]via192.168.2.1,00:02:49,FastEthernet0/0IA172.16.4.0/24[110/2]via192.168.2.1,00:02:49,FastEthernet0/00/0IA172.16.3.0/24[110/2]via192.168.2.1,00:02:49,FastEthernet0/0IA172.16.4.0/24[110/2]via192.168.2.1,00:02:49,FastEthernet0/0IA172.24.1.0/24[110/1]via192.168.2.1,00:02:49,FastEthernet0/0172.24.2.0/24isdirectlyconnected,Loopback0172.24.2.1/32islocalhost.IA192.168.1.0/24[110/2]via192.168.2.1,00:02:49,FastEthernet0/0C192.168.2.0/24isdirectlyconnected,FastEthernet0/0C192.168.2.2/32islocalhost.OIA192.168.3.0/24[110/1]via192.168.2.1,00:02:49,FastEthernet0/0C199.0.0.0/28isdirectlyco

溫馨提示

  • 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)容負責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論