實(shí)驗(yàn)1RIP,EIGRP和OSPF重分布_第1頁
免費(fèi)預(yù)覽已結(jié)束,剩余1頁可下載查看

下載本文檔

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

文檔簡介

1、.20.2 實(shí)驗(yàn) 1:RIP,EIGRP 和 OSPF 重分布1.實(shí)驗(yàn)?zāi)康耐ㄟ^本實(shí)驗(yàn)可以掌握:種子度量值的配置;路由重分布參數(shù)的配置;靜態(tài)路由重分布;RIP和OSPF的重分布;EIGRP和OSPF的重分布;重分布路由的查看和調(diào)試。2.拓?fù)浣Y(jié)構(gòu)實(shí)驗(yàn)拓?fù)鋱D如圖20-1所示。圖20-1 RIP,EIGRP和OSPF重分布3.實(shí)驗(yàn)步驟(1)步驟1:配置路由器R1R1(config)*router ripR1(config-router)*version 2R1(config-router)*no auto-summaryR1(config-router)*network 192.168.12.0R1(

2、config-router)*redistribute static metric 3 /重分布靜態(tài)路由R1(config)*ip router 0.0.0.0 0.0.0.0 Serial0/0/1【注意】在向RIP區(qū)域重分布路由的時(shí)候,必須指定度量值,或者通過”default-metric”命令設(shè)置默認(rèn)種子度量值,因?yàn)镽IP默認(rèn)種子度量值為無限大,只有重分布靜態(tài)特殊,可以不指定種子度量值。(2)步驟2:配置路由器R2R2(config)*router eigrp 1R2(config-router)*no auto-summaryR2(config-router)*network 192.

3、168.23.0R2(config-router)*redistribute rip metric 1000 100 255 1 1500 /將RIP重分布到EIGRP中【提示】因?yàn)镋IGRP的度量相對(duì)復(fù)雜,所以,在重分布時(shí),需要分別指定帶寬、延遲、可靠性、負(fù)載以及MTU參數(shù)的值。R2(config)*router ripR2(config-router)*version 2R2(config-router)*no auto-summaryR2(config-router)*network 192.168.12.0R2(config-router)*redistribute eigrp 1 /

4、將EIGRP 重分布到RIP中R2(config-router)*default-metric 4 /配置默認(rèn)種子度量值【注意】在”redistribute”命令中用參數(shù)”metric”指定的種子度量值優(yōu)先于在路由模式下使用”defarult-metric”命令設(shè)定的默認(rèn)的種子度量值。(3)步驟3:配置路由器R3R3(config)*router eigrp 1R3(config-rotuer)*no auto-summaryR3(config-router)*network 3.3.3.0 0.0.0.255R3(config-router)*network 192.168.23.0R3(c

5、onfig-router)*redistribute ospf 1 metric 1000 100 255 1 1500 / 將 OSPF 重分布到 EIGRP 中R3(config-router)*distance eigrp 90 150 /配置EIGRP默認(rèn)管理距離R3(config)*router ispf1R3(config-router)*router-id 3.3.3.3R3(config-router)*network 192.168.34.0 0.0.0.255 area 0R3(config-router)*redistribute eigrp 1 metric 30 me

6、tric-type 1 subnets /將 EIGRP重分到 OSPF 中R3(config-router)*defaunlt-information originate always(4)步驟4:配置路由器R4R4(config)*router ospf 1R4(config-router)*router-id 4.4.4.4R4(config-router)*network 4.4.4.0 0.0.0.255 area 0R4(config-router)*network 192.168.34.0 0.0.0.255 area 04.實(shí)驗(yàn)調(diào)試(1)在R1上查看路由表R1*show ip

7、routeCodes;C-connected,S-static,R-RIP,M-mobile,B-BGP D-EIGRP,EX-EIGRP external,O-OSPF,IA-OSPF inter area N1-OSPF NSSA external type 1,N2-OSPF NSSA external type 2 E1-OSPF external type 1,E2-OSPF external type 2 i-IS-IS,L1-IS-IS level-1,L2-IS-IS level-2,ia -IS-IS inter area *-candidate default,U-per-

8、user static route,o-ODR P-periodic downloaded static routeGateway of last resort is 192.168.34.3 to network 0.0.0.0C 192.168.12.0/24 is directly connected,Seria0/0/0 3.0.0.0/24 is subnetted,1 subnetsR 3.3.3.0120/4via 192.168.12.2,00;00;08,Serial0/0/0 4.0.0.0/32 is subnetted,1 subnetsR 4.4.4.4120/4vi

9、a 192.168.12.2,00;00;08,Serial0/0/0C 202.96.134.0/24 is directly connected,Serial0/0/1R 192.168.23.0/24120/4via 192.168.12.2,00;00;08,Serial0/0/0R 192.168.34.0/24120/4via 192.168.12.2,00;00;08,Serial0/0/0S* 0.0.0.0/0 is directly connected,Serial0/0/1以上輸出表明路由器R1通過RIPv2學(xué)到從路由器R2重分布進(jìn)RIP的路由。(2)在 R2上查看路由表

10、R2*show ip routeCodes;C-connected,S-static,R-RIP,M-mobile,B-BGP D-EIGRP,EX-EIGRP external,O-OSPF,IA-OSPF inter area N1-OSPF NSSA external type 1,N2-OSPF NSSA external type 2 E1-OSPF external type 1,E2-OSPF external type 2 i-IS-IS,L1-IS-IS level-1,L2-IS-IS level-2,ia -IS-IS inter area *-candidate def

11、ault,U-per-user static route,o-ODR P-periodic downloaded static routeGateway of last resort is 192.168.34.3 to network 0.0.0.0C 192.168.12.0/24 is directly connected,Seria0/0/1 3.0.0.0/24 is subnetted,1 subnetsD 3.3.3.0120/4via 192.168.12.2,00;00;21,Serial0/0/1 4.0.0.0/32 is subnetted,1 subnetsDEX 4

12、.4.4.4170/3097600via 192.168.23.3,00;00;21,Serial0/0/1C 192.168.23.0/24 is directly connected,Serial0/0/1DEX 192.168.34.0/24170/3097600via 192.168.23.3,00;00;21,Serial0/0/1R* 0.0.0.0/0120/3via 192.168.12.1,00;00;05,Serial0/0/0以上輸出表明從路由器R1上重分布進(jìn)RIP的默認(rèn)路由被路由器R2學(xué)習(xí)到,路由代碼為”R*”;在路由器R3上重分布進(jìn)來的OSPF路由也被路由器R2學(xué)習(xí)到

13、,路由代碼為”DEX”,這也說明EIGRP能夠識(shí)別內(nèi)部路由和外部路由,默認(rèn)的時(shí)候,內(nèi)部路由的管理距離是90,外部路由的管理距離是170。(3)在R3上查看路由表R3*show ip routeCodes;C-connected,S-static,R-RIP,M-mobile,B-BGP D-EIGRP,EX-EIGRP external,O-OSPF,IA-OSPF inter area N1-OSPF NSSA external type 1,N2-OSPF NSSA external type 2 E1-OSPF external type 1,E2-OSPF external type

14、2 i-IS-IS,L1-IS-IS level-1,L2-IS-IS level-2,ia -IS-IS inter area *-candidate default,U-per-user static route,o-ODR P-periodic downloaded static routeGateway of last resort is 192.168.34.3 to network 0.0.0.0DEX 192.168.12.0/24150/3097600via 192.168.23.2,00;13;43,Serial0/0/1 3.0.0.0/24 is subnetted,1

15、subnetsC 3.3.3.0 is directly connected,Loopback0 4.0.0.0/32 is subnetted,1 subnetsO 4.4.4.4110/65via 192.168.34.4,00;13;43,Serial0/0/0C 192.168.23.0/24 is directly connected,Serial0/0/1C 192.168.34.0/24 is directly connected,Serial0/0/0D*EX 0.0.0.0/0150/3097600via 192.168.23.2,00;06;08,Serial0/0/1以上

16、輸出表明,從路由器R2上重分布進(jìn)EIGRP的路由被路由器R3學(xué)習(xí)到,默認(rèn)路由代碼為”D*EX”,同時(shí),EIGRP外部路由的管理距離被修改成150。(4)在R4上查看路由表R4*show ip routeCodes;C-connected,S-static,R-RIP,M-mobile,B-BGP D-EIGRP,EX-EIGRP external,O-OSPF,IA-OSPF inter area N1-OSPF NSSA external type 1,N2-OSPF NSSA external type 2 E1-OSPF external type 1,E2-OSPF external

17、type 2 i-IS-IS,L1-IS-IS level-1,L2-IS-IS level-2,ia -IS-IS inter area *-candidate default,U-per-user static route,o-ODR P-periodic downloaded static routeGateway of last resort is 192.168.34.3 to network 0.0.0.0O E1 192.168.12.0/24110/94via 192.168.34.3,00;25;26,Serial0/0/0 3.0.0.0/24 is subnetted,1

18、 subnetsO E1 3.3.3.0110/94via 192.168.34.3,00;25;26,Serial0/0/0 4.0.0.0/32 is subnetted,1 subnetsC 4.4.4.0 is directly connected,Loopback0O E1 192.168.34.0/24110/94via 192.168.34.3,00;25;26,Serial0/0/0C 192.168.34.0/24 is directly connected,Serial 0/0/0O*E2 0.0.0.0/0110/1via 192.168.34.3,00;25;26,Se

19、rial0/0/0以上輸出表明,從路由器R3上重分布進(jìn)OSPF的路由被路由器R4學(xué)習(xí)到,路由代碼為”O(jiān) E1”;同時(shí)R4也學(xué)到了由R3注入的路由代碼為”O(jiān) E2”的默認(rèn)路由。(5)show ip protocolsR3*show ip protocolsRouting Protocol is “eigrpp 1”/ 運(yùn)行AS為 1 的EIGRP進(jìn)程 Outgoing update filter list for all interfaces is not set Ining update filter list for all interfaces is not set Default net

20、works flagged in outgoing updates Default networks accepted from ining updates EIGRP metric weight K1=1,K2=0,K3=1,k4=0,k5=0 EIGRP maximum hopcount 100 EIGRP maximum metric variance 1 Redistributing;eigrp 1,ospf 1 (internal,external 1 & 2,nssa-external 1 & 2) / 將OSPF進(jìn)程1重分布EIGRP中 EIGRP NSF-aware route hold timer is 240s Automatic network summarization is not in effect Maximum path;4 Routing for Netoworks; 3.3.3.0/24 192.168.23.0 Routing Informaition Sources; Gateway Distance Last Update 192.168.23.2 90 00;51;05 D

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。

評(píng)論

0/150

提交評(píng)論