交換路由CCIE之路――路由策略_第1頁
交換路由CCIE之路――路由策略_第2頁
交換路由CCIE之路――路由策略_第3頁
交換路由CCIE之路――路由策略_第4頁
交換路由CCIE之路――路由策略_第5頁
已閱讀5頁,還剩8頁未讀, 繼續(xù)免費(fèi)閱讀

下載本文檔

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

文檔簡介

1、 實(shí)驗(yàn) 路由策略一實(shí)驗(yàn)拓?fù)鋱D1 實(shí)驗(yàn)一 實(shí)驗(yàn)要求:原本網(wǎng)絡(luò)使用EIGRP現(xiàn)在要求用OSPF來發(fā)現(xiàn)網(wǎng)絡(luò)拓?fù)?。?shí)驗(yàn)分析:要是網(wǎng)絡(luò)平滑過渡可先將OSPF配置好,然后理由改變EIGRP的管理距離使OSPF替換EIGRP進(jìn)路由表,等到全網(wǎng)為OSPF后,去掉EIGRP.實(shí)驗(yàn)操作及結(jié)果:首先全網(wǎng)為EIGRP如下r1#show ip route 192.168.12.0/30 is subnetted, 1 subnetsC 192.168.12.0 is directly connected, Serial0/0 192.168.23.0/30 is subnetted, 1 subnetsD 192.16

2、8.23.0 90/ via 192.168.12.2, 00:01:48, Serial0/0C 192.168.1.0/24 is directly connected, Ethernet3/0D 192.168.3.0/24 90/ via 192.168.12.2, 00:00:13, Serial0/0r2#show ip route 192.168.12.0/30 is subnetted, 1 subnetsC 192.168.12.0 is directly connected, Serial0/0 192.168.23.0/30 is subnetted, 1 subnets

3、C 192.168.23.0 is directly connected, Serial0/2D 192.168.1.0/24 90/ via 192.168.12.1, 00:02:56, Serial0/0D 192.168.3.0/24 90/ via 192.168.23.2, 00:01:16, Serial0/2r3#show ip route 192.168.12.0/30 is subnetted, 1 subnetsD 192.168.12.0 90/ via 192.168.23.1, 00:01:21, Serial0/0 192.168.23.0/30 is subne

4、tted, 1 subnetsC 192.168.23.0 is directly connected, Serial0/0D 192.168.1.0/24 90/ via 192.168.23.1, 00:01:21, Serial0/0C 192.168.3.0/24 is directly connected, Ethernet3/0現(xiàn)在在每個(gè)路由器都配置OSPF能發(fā)現(xiàn)都建立鄰居,但沒進(jìn)路由表r1#show ip ospf neighbor Neighbor ID Pri State Dead Time Address Interface192.168.23.1 0 FULL/ - 00

5、:00:32 192.168.12.2 Serial0/0r2#show ip ospf neighbor Neighbor ID Pri State Dead Time Address Interface192.168.23.2 0 FULL/ - 00:00:35 192.168.23.2 Serial0/2192.168.12.1 0 FULL/ - 00:00:31 192.168.12.1 Serial0/0r3#show ip ospf neighbor Neighbor ID Pri State Dead Time Address Interface192.168.23.1 0

6、FULL/ - 00:00:32 192.168.23.1 Serial0/0r1#show ip route 192.168.12.0/30 is subnetted, 1 subnetsC 192.168.12.0 is directly connected, Serial0/0 192.168.23.0/30 is subnetted, 1 subnetsD 192.168.23.0 90/ via 192.168.12.2, 00:01:48, Serial0/0C 192.168.1.0/24 is directly connected, Ethernet3/0D 192.168.3

7、.0/24 90/ via 192.168.12.2, 00:00:13, Serial0/0r2#show ip route 192.168.12.0/30 is subnetted, 1 subnetsC 192.168.12.0 is directly connected, Serial0/0 192.168.23.0/30 is subnetted, 1 subnetsC 192.168.23.0 is directly connected, Serial0/2D 192.168.1.0/24 90/ via 192.168.12.1, 00:02:56, Serial0/0D 192

8、.168.3.0/24 90/ via 192.168.23.2, 00:01:16, Serial0/2r3#show ip route 192.168.12.0/30 is subnetted, 1 subnetsD 192.168.12.0 90/ via 192.168.23.1, 00:01:21, Serial0/0 192.168.23.0/30 is subnetted, 1 subnetsC 192.168.23.0 is directly connected, Serial0/0D 192.168.1.0/24 90/ via 192.168.23.1, 00:01:21,

9、 Serial0/0C 192.168.3.0/24 is directly connected, Ethernet3/0主要原因是OSPF管理距離比EIGRP大,所以沒有進(jìn)入路由表,這時(shí)候?qū)IGRP的管理距離加大到120,這時(shí)候路由表就發(fā)生改變了,但EIGRP鄰居依然存在r1(config)#router eigrp 10r1(config-router)#distance eigrp 120 170 /將eigrp內(nèi)部管理距離改為120110r1(config-router)#exitr2(config)#router eigrp 10r2(config-router)#distance

10、 eigrp 120 170r3(config)#router eigrp 10r3(config-router)#distance eigrp 120 170r3(config-router)#exit重新查看路由表,發(fā)現(xiàn)OSPF進(jìn)了路由表r1#show ip route 192.168.12.0/30 is subnetted, 1 subnetsC 192.168.12.0 is directly connected, Serial0/0 192.168.23.0/30 is subnetted, 1 subnetsO 192.168.23.0 110/128 via 192.168.1

11、2.2, 00:03:18, Serial0/0C 192.168.1.0/24 is directly connected, Ethernet3/0O 192.168.3.0/24 110/138 via 192.168.12.2, 00:03:18, Serial0/0r2#show ip route 192.168.12.0/30 is subnetted, 1 subnetsC 192.168.12.0 is directly connected, Serial0/0 192.168.23.0/30 is subnetted, 1 subnetsC 192.168.23.0 is di

12、rectly connected, Serial0/2O 192.168.1.0/24 110/74 via 192.168.12.1, 00:02:00, Serial0/0O 192.168.3.0/24 110/74 via 192.168.23.2, 00:02:00, Serial0/2r3#show ip route 192.168.12.0/30 is subnetted, 1 subnetsO 192.168.12.0 110/128 via 192.168.23.1, 00:01:48, Serial0/0 192.168.23.0/30 is subnetted, 1 su

13、bnetsC 192.168.23.0 is directly connected, Serial0/0O 192.168.1.0/24 110/138 via 192.168.23.1, 00:02:05, Serial0/0C 192.168.3.0/24 is directly connected, Ethernet3/0EIGRP鄰居依然存在,說明該進(jìn)程依舊在運(yùn)行r1#show ip eigrp neighbors IP-EIGRP neighbors for process 10H Address Interface Hold Uptime SRTT RTO Q Seq (sec)

14、(ms) Cnt Num0 192.168.12.2 Se0/0 12 00:01:16 114 684 0 17 r2#show ip eigrp neighbors IP-EIGRP neighbors for process 10H Address Interface Hold Uptime SRTT RTO Q Seq (sec) (ms) Cnt Num0 192.168.23.2 Se0/2 10 00:00:59 1553 5000 0 101 192.168.12.1 Se0/0 12 00:01:12 144 864 0 8r3#show ip eigrp neighbors

15、 IP-EIGRP neighbors for process 10H Address Interface Hold Uptime SRTT RTO Q Seq (sec) (ms) Cnt Num0 192.168.23.1 Se0/0 12 00:00:48 120 720 0 19這時(shí)候?qū)崿F(xiàn)了路由的平滑過渡,可以刪掉EIGRP了。實(shí)驗(yàn)二實(shí)驗(yàn)要求:將172.16.0.0/16所有網(wǎng)段宣告進(jìn)OSPF 但希望R3學(xué)不到172.16.4.0/24這條路由實(shí)驗(yàn)分析: 可利用ACL直接將該路由在R3上拒絕,因?yàn)槭擎溌窢顟B(tài)協(xié)議故只能在本路由器IN方向拒絕,它拒絕的是路由而不是LSA,因此必須這樣做。實(shí)

16、驗(yàn)操作及結(jié)果:在沒有采取任何措施時(shí),將所有網(wǎng)段全部發(fā)布進(jìn)OSPF R3路由表如下r3#show ip route 192.168.12.0/30 is subnetted, 1 subnetsO 192.168.12.0 110/128 via 192.168.23.1, 00:00:06, Serial0/0 172.16.0.0/32 is subnetted, 5 subnetsO 172.16.4.0 110/129 via 192.168.23.1, 00:00:06, Serial0/0O 172.16.5.0 110/129 via 192.168.23.1, 00:00:06,

17、 Serial0/0O 172.16.1.0 110/129 via 192.168.23.1, 00:00:06, Serial0/0O 172.16.2.0 110/129 via 192.168.23.1, 00:00:06, Serial0/0O 172.16.3.0 110/129 via 192.168.23.1, 00:00:06, Serial0/0 192.168.23.0/30 is subnetted, 1 subnetsC 192.168.23.0 is directly connected, Serial0/0O 192.168.1.0/24 110/138 via

18、192.168.23.1, 00:00:06, Serial0/0C 192.168.3.0/24 is directly connected, Ethernet3/0這時(shí)候在R3上拒絕4.0網(wǎng)段進(jìn)路由表,只能在R3進(jìn)接口上拒絕它,因?yàn)樗芫芙^的是路由,LSA還是能過來的,R3通過LSA能產(chǎn)生4.0的路由,但因?yàn)榻涌诓捎昧朔职l(fā)列表控制了這條路由的進(jìn)入,因此它進(jìn)不了路由表。結(jié)果如下r3(config)#access-list 10 deny host 172.16.1.0 r3(config)#access-list 10 permit any r3(config)#router ospf 1r

19、3(config-router)#distribute-list 10 in s0/0 /拒絕了的所有的172.16.1.0這時(shí)候查路由表不會(huì)有1.0網(wǎng)段了r3#show ip route 192.168.12.0/30 is subnetted, 1 subnetsO 192.168.12.0 110/128 via 192.168.23.1, 00:00:04, Serial0/0 172.16.0.0/32 is subnetted, 4 subnetsO 172.16.4.0 110/129 via 192.168.23.1, 00:00:04, Serial0/0O 172.16.5

20、.0 110/129 via 192.168.23.1, 00:00:04, Serial0/0O 172.16.2.0 110/129 via 192.168.23.1, 00:00:04, Serial0/0O 172.16.3.0 110/129 via 192.168.23.1, 00:00:04, Serial0/0 192.168.23.0/30 is subnetted, 1 subnetsC 192.168.23.0 is directly connected, Serial0/0O 192.168.1.0/24 110/138 via 192.168.23.1, 00:00:

21、04, Serial0/0C 192.168.3.0/24 is directly connected, Ethernet3/0實(shí)驗(yàn)三實(shí)驗(yàn)要求:將172.16.0.0/16所有網(wǎng)段宣告為RIP并重發(fā)布進(jìn)來,但172.16.4.0/24不能宣告進(jìn)OSPF實(shí)驗(yàn)分析:一可以直接在邊界拒絕掉該網(wǎng)段進(jìn)入,二可以采用route-map進(jìn)行匹配從而拒絕。由于重發(fā)布匯總會(huì)產(chǎn)生一條反饋路由,這時(shí)也要拒絕掉。實(shí)驗(yàn)操作及結(jié)果:在ASBR重發(fā)布RIP進(jìn)OSPF時(shí)將4.0網(wǎng)段直接拒絕發(fā)布, 如下r1(config)#access-list 10 deny 172.16.4.0 r1(config)#access-lis

22、t 10 permit anyr1(config)#router ospf 1r1(config-router)#distribute-list 10 out rip /拒絕4.0從RIP出來r1(config-router)#redistribute rip subnetsr2#show ip route 192.168.12.0/30 is subnetted, 1 subnetsC 192.168.12.0 is directly connected, Serial0/0 172.16.0.0/32 is subnetted, 4 subnetsO E2 172.16.5.0 110/2

23、0 via 192.168.12.1, 00:00:03, Serial0/0O E2 172.16.1.0 110/20 via 192.168.12.1, 00:00:03, Serial0/0O E2 172.16.2.0 110/20 via 192.168.12.1, 00:00:03, Serial0/0O E2 172.16.3.0 110/20 via 192.168.12.1, 00:00:03, Serial0/0 192.168.23.0/30 is subnetted, 1 subnetsC 192.168.23.0 is directly connected, Ser

24、ial0/2O 192.168.1.0/24 110/74 via 192.168.12.1, 00:00:03, Serial0/0O 192.168.3.0/24 110/74 via 192.168.23.2, 00:00:03, Serial0/2第二種方法在重發(fā)布中用route-map進(jìn)行匹配發(fā)布 也能得到想要的結(jié)果r1(config)#access-list 10 deny 172.16.4.0 /此處deny為不匹配 r1(config)#access-list 10 permit anyr1(config)#route-map fuckjiuge permit 10 r1(co

25、nfig-route-map)#match ip ad 10 r1(config-route-map)#exitr1(config)#router ospf 1r1(config-router)#redistribute rip subnets route-map fuckjiuge /匹配相應(yīng)的route-map信息r2#show ip route 192.168.12.0/30 is subnetted, 1 subnetsC 192.168.12.0 is directly connected, Serial0/0 172.16.0.0/32 is subnetted, 4 subnet

26、sO E2 172.16.5.0 110/20 via 192.168.12.1, 00:06:35, Serial0/0O E2 172.16.1.0 110/20 via 192.168.12.1, 00:06:35, Serial0/0O E2 172.16.2.0 110/20 via 192.168.12.1, 00:06:35, Serial0/0O E2 172.16.3.0 110/20 via 192.168.12.1, 00:06:35, Serial0/0 192.168.23.0/30 is subnetted, 1 subnetsC 192.168.23.0 is d

27、irectly connected, Serial0/2O 192.168.1.0/24 110/74 via 192.168.12.1, 00:06:35, Serial0/0O 192.168.3.0/24 110/74 via 192.168.23.2, 00:06:35, Serial0/2關(guān)于反饋路由問題r2(config)#router ospf 1r2(config-router)#summary-address 172.16.0.0 255.255.0.0 /在邊界將網(wǎng)段進(jìn)行匯總這時(shí)候ASBR會(huì)產(chǎn)生一條匯總信息r2#show ip route 192.168.12.0/30 i

28、s subnetted, 1 subnetsC 192.168.12.0 is directly connected, Serial0/0 172.16.0.0/16 is variably subnetted, 3 subnets, 2 masksO 172.16.0.0/16 is a summary, 00:00:14, Null0R 172.16.1.0/24 120/1 via 192.168.12.1, 00:00:17, Serial0/0R 172.16.2.0/24 120/1 via 192.168.12.1, 00:00:17, Serial0/0 192.168.23.

29、0/30 is subnetted, 1 subnetsC 192.168.23.0 is directly connected, Serial0/2在將OSPF重發(fā)布進(jìn)RIP時(shí),匯總信息會(huì)重發(fā)布進(jìn)來,從而形成了反饋路由r1#show ip route 192.168.12.0/30 is subnetted, 1 subnetsC 192.168.12.0 is directly connected, Serial0/0 172.16.0.0/16 is variably subnetted, 3 subnets, 2 masksR 172.16.0.0/16 120/5 via 192.1

30、68.12.2, 00:00:20, Serial0/0 /反饋路由C 172.16.1.0/24 is directly connected, Ethernet3/0C 172.16.2.0/24 is directly connected, Ethernet3/1 192.168.23.0/30 is subnetted, 1 subnetsR 192.168.23.0 120/5 via 192.168.12.2, 00:00:24, Serial0/0為了避免反饋路由,可以拒絕匯總的重發(fā)布出去r2(config)#access-list 10 deny host 172.16.0.0

31、r2(config)#access-list 10 permit anyr2(config)#router ripr2(config-router)#distribute-list 10 out ospf 1r1#show ip route 192.168.12.0/30 is subnetted, 1 subnetsC 192.168.12.0 is directly connected, Serial0/0 172.16.0.0/24 is subnetted, 2 subnetsC 172.16.1.0 is directly connected, Ethernet3/0C 172.16

32、.2.0 is directly connected, Ethernet3/1 192.168.23.0/30 is subnetted, 1 subnetsR 192.168.23.0 120/5 via 192.168.12.2, 00:00:01, Serial0/0 當(dāng)然也可以通過route-map進(jìn)行匹配然后重發(fā)布出去實(shí)驗(yàn)四實(shí)驗(yàn)要求:R2 R3執(zhí)行雙向重發(fā)布,R1不希望收到R4的RIP信息,R4不希望收到R1的RIP信息實(shí)驗(yàn)分析:可以在邊界上先標(biāo)記發(fā)布進(jìn)來的路由,然后到另一邊用route-map過濾掉。由于路由條目過多所用標(biāo)記的方法能簡化配置。實(shí)驗(yàn)操作及結(jié)果:將RIP發(fā)布進(jìn)路由表時(shí)打

33、上標(biāo)識(shí)r2(config)#router ospf 1r2(config-router)#redistribute rip subnets tag 50在另一個(gè)邊界上用route-map把匹配有標(biāo)識(shí)的過濾掉就可以阻止其發(fā)布了r3(config)#route-map fuckjiuge deny 10r3(config-route-map)#match tag 50 /拒絕的動(dòng)作時(shí)標(biāo)記為50的r3(config-route-map)#exit r3(config)#route-map fuckjiuge permit 20 /由于route-map也有默認(rèn)拒絕所有,所以這一條要加上r3(conf

34、ig-route-map)#exitr3(config)#router ripr3(config-router)#redistribute ospf 1 metric 5 route-map fuckjiuger4#show ip route 172.1.0.0/32 is subnetted, 5 subnetsC 172.1.5.0 is directly connected, Loopback4C 172.1.4.0 is directly connected, Loopback3C 172.1.1.0 is directly connected, Loopback0C 172.1.3.

35、0 is directly connected, Loopback2C 172.1.2.0 is directly connected, Loopback1 192.168.23.0/30 is subnetted, 1 subnetsR 192.168.23.0 120/5 via 192.168.34.1, 00:00:03, Serial0/1 192.168.34.0/30 is subnetted, 1 subnetsC 192.168.34.0 is directly connected, Serial0/1R 192.168.3.0/24 120/5 via 192.168.34

36、.1, 00:00:03, Serial0/1這時(shí)候就不會(huì)有關(guān)于172.16.0.0的相關(guān)信息了。實(shí)驗(yàn)五實(shí)驗(yàn)拓?fù)?實(shí)驗(yàn)要求:實(shí)驗(yàn)過程中先重發(fā)布R2,在發(fā)布R3,分析R2 R3 R4關(guān)于RIP發(fā)布過來的路由,并分析次佳路由產(chǎn)生的原因,及解決方法。實(shí)驗(yàn)分析:首先分析沒進(jìn)行重發(fā)布時(shí)R2 R3 關(guān)于RIP的路由 ,這時(shí)候由于沒有外部路由影響應(yīng)該都有各自的RIP信息。當(dāng)R2進(jìn)行重發(fā)布后路由 R3會(huì)收到10.10.1.0及12.0/3013.0/30的5類OSPF信息,通過與自己的路由比較,發(fā)現(xiàn)關(guān)于RIP 的信息由于管理距離大于OSPF因此會(huì)被取代,因此這時(shí)候應(yīng)該將10.10.1.0和12.0/30的RI

37、P路由變?yōu)镺SPF E2,由于13.0/30為直連不會(huì)變當(dāng)R3也發(fā)布后路由時(shí),這個(gè)時(shí)候R3關(guān)于RIP的只有13.0/30這條直連的了所以只會(huì)發(fā)布13.0/30的5類OSPF到R2,R2收到后發(fā)現(xiàn)自己有一條13.0/30的RIP就被取代為OSPF了。 這個(gè)時(shí)候產(chǎn)生了次佳路由,R3本來時(shí)直接由R1到10.10.1.0網(wǎng)段的現(xiàn)在卻是經(jīng)過R4再到R2再到R1,之所以會(huì)產(chǎn)生次佳路由是由于路由重發(fā)布的規(guī)則,路由重發(fā)布是發(fā)布在路由表中存在的該進(jìn)程的所有路由以及該進(jìn)程的直連路由。當(dāng)R2先發(fā)布時(shí)會(huì)把外部OSPF路由發(fā)到R3,而R3本身是RIP 管理距離比OSPF 高,所以會(huì)被OSPF路由所代替,這時(shí)候在重發(fā)布的

38、話就只會(huì)發(fā)布它的一條直連,因此就會(huì)產(chǎn)生次佳路由。要解決的辦法一是改變外部進(jìn)來的OSPF的管理距離使其大于RIP二是進(jìn)行路由過濾。實(shí)驗(yàn)操作及結(jié)果:在沒有進(jìn)行重發(fā)布是R2 R3的路由表內(nèi)都應(yīng)該有各自的RIP信息如下 r2#show ip route 192.168.12.0/30 is subnetted, 1 subnetsC 192.168.12.0 is directly connected, Serial0/0 192.168.13.0/30 is subnetted, 1 subnetsR 192.168.13.0 120/1 via 192.168.12.1, 00:00:25, Se

39、rial0/0 192.168.24.0/30 is subnetted, 1 subnetsC 192.168.24.0 is directly connected, Serial0/2 10.0.0.0/24 is subnetted, 1 subnetsR 10.10.1.0 120/1 via 192.168.12.1, 00:00:25, Serial0/0 192.168.34.0/30 is subnetted, 1 subnetsO 192.168.34.0 110/128 via 192.168.24.2, 00:00:37, Serial0/2r3#show ip rout

40、e 192.168.12.0/30 is subnetted, 1 subnetsR 192.168.12.0 120/1 via 192.168.13.1, 00:00:23, Serial0/0 192.168.13.0/30 is subnetted, 1 subnetsC 192.168.13.0 is directly connected, Serial0/0 192.168.24.0/30 is subnetted, 1 subnetsO 192.168.24.0 110/128 via 192.168.34.2, 00:01:19, Serial0/1 10.0.0.0/24 i

41、s subnetted, 1 subnetsR 10.10.1.0 120/1 via 192.168.13.1, 00:00:23, Serial0/0 192.168.34.0/30 is subnetted, 1 subnetsC 192.168.34.0 is directly connected, Serial0/1當(dāng)將R2重發(fā)布進(jìn)OSPF 后r2(config)#router ospf 1r2(config-router)#redistribute rip subnets r2(config-router)#exitR2不會(huì)有變化,R3與R4變了 r3#show ip route

42、192.168.12.0/30 is subnetted, 1 subnetsO E2 192.168.12.0 110/20 via 192.168.34.2, 00:00:02, Serial0/1 192.168.13.0/30 is subnetted, 1 subnetsC 192.168.13.0 is directly connected, Serial0/0 192.168.24.0/30 is subnetted, 1 subnetsO 192.168.24.0 110/128 via 192.168.34.2, 00:00:02, Serial0/1 10.0.0.0/24

43、 is subnetted, 1 subnetsO E2 10.10.1.0 110/20 via 192.168.34.2, 00:00:02, Serial0/1 192.168.34.0/30 is subnetted, 1 subnetsC 192.168.34.0 is directly connected, Serial0/1r4#show ip route 192.168.12.0/30 is subnetted, 1 subnetsO E2 192.168.12.0 110/20 via 192.168.24.1, 00:00:27, Serial0/0 192.168.13.

44、0/30 is subnetted, 1 subnetsO E2 192.168.13.0 110/20 via 192.168.24.1, 00:00:27, Serial0/0 192.168.24.0/30 is subnetted, 1 subnetsC 192.168.24.0 is directly connected, Serial0/0 10.0.0.0/24 is subnetted, 1 subnetsO E2 10.10.1.0 110/20 via 192.168.24.1, 00:00:27, Serial0/0 192.168.34.0/30 is subnette

45、d, 1 subnetsC 192.168.34.0 is directly connected, Serial0/1這時(shí)將R3也發(fā)布進(jìn)去,再觀察R2 R4的路由表r3(config)#router ospf 1r3(config-router)#redistribute rip subnets r2#show ip route 192.168.12.0/30 is subnetted, 1 subnetsC 192.168.12.0 is directly connected, Serial0/0 192.168.13.0/30 is subnetted, 1 subnetsO E2 192

46、.168.13.0 110/20 via 192.168.24.2, 00:00:05, Serial0/2 192.168.24.0/30 is subnetted, 1 subnetsC 192.168.24.0 is directly connected, Serial0/2 10.0.0.0/24 is subnetted, 1 subnetsR 10.10.1.0 120/1 via 192.168.12.1, 00:00:15, Serial0/0 192.168.34.0/30 is subnetted, 1 subnetsO 192.168.34.0 110/128 via 1

47、92.168.24.2, 00:00:05, Serial0/2r4#show ip route 192.168.12.0/30 is subnetted, 1 subnetsO E2 192.168.12.0 110/20 via 192.168.24.1, 00:02:54, Serial0/0 192.168.13.0/30 is subnetted, 1 subnetsO E2 192.168.13.0 110/20 via 192.168.34.1, 00:02:51, Serial0/1 /對(duì)比沒發(fā)布R3時(shí)的路由會(huì)發(fā)現(xiàn)下一跳變了,這是因?yàn)镽2在路由表中已經(jīng)沒有關(guān)于這一條的RIP路由

48、了 192.168.24.0/30 is subnetted, 1 subnetsC 192.168.24.0 is directly connected, Serial0/0 10.0.0.0/24 is subnetted, 1 subnetsO E2 10.10.1.0 110/20 via 192.168.24.1, 00:02:54, Serial0/0 192.168.34.0/30 is subnetted, 1 subnetsC 192.168.34.0 is directly connected, Serial0/1為了避免次佳路由的產(chǎn)生可以通過改變OSPF外部路由的管理距離

49、使其大于RIPr3(config)#router ospf 1r3(config-router)#distance ospf external 130 /將外部OSPF管理距離變?yōu)?30,內(nèi)部并沒有改變r(jià)2#r2(config)#router ospf 1r2(config-router)#distance ospf external 130這時(shí)候路由回復(fù)正常 r2#show ip route 192.168.12.0/30 is subnetted, 1 subnetsC 192.168.12.0 is directly connected, Serial0/0 192.168.13.0/3

50、0 is subnetted, 1 subnetsR 192.168.13.0 120/1 via 192.168.12.1, 00:00:11, Serial0/0 192.168.24.0/30 is subnetted, 1 subnetsC 192.168.24.0 is directly connected, Serial0/2 10.0.0.0/24 is subnetted, 1 subnetsR 10.10.1.0 120/1 via 192.168.12.1, 00:00:11, Serial0/0 192.168.34.0/30 is subnetted, 1 subnet

51、sO 192.168.34.0 110/128 via 192.168.24.2, 00:00:17, Serial0/2r3#show ip route 192.168.12.0/30 is subnetted, 1 subnetsR 192.168.12.0 120/1 via 192.168.13.1, 00:00:10, Serial0/0 192.168.13.0/30 is subnetted, 1 subnetsC 192.168.13.0 is directly connected, Serial0/0 192.168.24.0/30 is subnetted, 1 subnetsO 192.168.24.0 110/128 via 192.168.34.2, 00:00:38, Serial0/1 10.0.0.0/24 is subnetted, 1 subnetsR 10.10.1.0 12

溫馨提示

  • 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)論