




已閱讀5頁(yè),還剩3頁(yè)未讀, 繼續(xù)免費(fèi)閱讀
版權(quán)說(shuō)明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
實(shí)驗(yàn):自動(dòng)匯總和手動(dòng)匯總環(huán)境如圖:實(shí)驗(yàn)?zāi)康模? 看自動(dòng)匯總的效果。2 做手動(dòng)匯總。注解:由于動(dòng)態(tài)路由有一個(gè)生存周期,因此修改完成后,結(jié)果不會(huì)馬上生效,一般都要幾分鐘后才能正常生效。基本配置:R1RouterenRouter#configure terminal Router(config)#hostname r1r1(config)#line console 0r1(config-line)#logging synchronous r1(config-line)#exec-timeout 0r1(config-line)#exitr1(config)#interface serial 1/2r1(config-if)#ip address 12.12.12.1 255.255.255.0r1(config-if)#no shutdown r1(config-if)#exitr1(config)#interface loopback 0r1(config-if)#ip address 1.1.1.1 255.255.255.0r1(config-if)#no shutdown r1(config-if)#exitr1(config)#interface loopback 1r1(config-if)#ip address 1.1.2.1 255.255.255.0r1(config-if)#no shutdown r1(config-if)#exitr1(config)#exitr1#wrR2Routerenable Router#configure terminal Router(config)#hostname r2r2(config)#line console 0r2(config-line)#logging synchronous r2(config-line)#exec-timeout 0r2(config-line)#exitr2(config)#interface serial 1/3r2(config-if)#ip address 12.12.12.2 255.255.255.0r2(config-if)#no shutdown r2(config-if)#exitr2(config)#interface loopback 0r2(config-if)#ip address 2.2.2.2 255.255.255.0r2(config-if)#no shutdown r2(config-if)#exitr2(config)#interface loopback 1 r2(config-if)#ip address 2.2.1.2 255.255.255.0 r2(config-if)#no shutdown r2(config-if)#exitr2(config)#exitr2#wr配置Rip v2 動(dòng)態(tài)路由協(xié)議R1r1#configure terminal r1(config)#router rip r1(config-router)#version 2r1(config-router)#network 12.12.12.1 r1(config-router)#network 1.1.1.1r1(config-router)#network 1.1.2.1 r1(config-router)#no auto-summary r1(config-router)#exitr1(config)#exitR2r2#configure terminal r2(config)#router ripr2(config-router)#version 2r2(config-router)#network 12.12.12.2r2(config-router)#network 2.2.2.2r2(config-router)#network 2.2.1.2r2(config-router)#no auto-summaryr2(config-router)#exitr2(config)#exit顯示路由表R1r1#show ip route Codes: 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, su - IS-IS summary, 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 not set 1.0.0.0/24 is subnetted, 2 subnetsC 1.1.1.0 is directly connected, Loopback0C 1.1.2.0 is directly connected, Loopback1 2.0.0.0/8 is variably subnetted, 3 subnets, 2 masksR 2.2.1.0/24 120/1 via 12.12.12.2, 00:00:22, Serial1/2R 2.2.2.0/24 120/1 via 12.12.12.2, 00:00:22, Serial1/2 12.0.0.0/24 is subnetted, 1 subnetsC 12.12.12.0 is directly connected, Serial1/2R2r2#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, su - IS-IS summary, 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 not set 1.0.0.0/24 is subnetted, 2 subnetsR 1.1.1.0 120/1 via 12.12.12.1, 00:00:10, Serial1/3R 1.1.2.0 120/1 via 12.12.12.1, 00:00:10, Serial1/3 2.0.0.0/24 is subnetted, 2 subnetsC 2.2.1.0 is directly connected, Loopback1C 2.2.2.0 is directly connected, Loopback0 12.0.0.0/24 is subnetted, 1 subnetsC 12.12.12.0 is directly connected, Serial1/3Ping測(cè)試R1r1#ping 2.2.2.2測(cè)試通過(guò)Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 2.2.2.2, timeout is 2 seconds:!Success rate is 100 percent (5/5), round-trip min/avg/max = 32/158/276 msr1#ping 2.2.2.2 source 1.1.1.1測(cè)試通過(guò)Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 2.2.2.2, timeout is 2 seconds:Packet sent with a source address of 1.1.1.1 !Success rate is 100 percent (5/5), round-trip min/avg/max = 28/108/220 msr1#ping 2.2.2.2 source 1.1.2.1測(cè)試通過(guò)Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 2.2.2.2, timeout is 2 seconds:Packet sent with a source address of 1.1.2.1 !Success rate is 100 percent (5/5), round-trip min/avg/max = 48/121/200 msR2r2#ping 1.1.1.1測(cè)試通過(guò)Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 1.1.1.1, timeout is 2 seconds:!Success rate is 100 percent (5/5), round-trip min/avg/max = 20/134/204 msr2#ping 1.1.1.1 source 2.2.1.2測(cè)試通過(guò)Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 1.1.1.1, timeout is 2 seconds:Packet sent with a source address of 2.2.1.2 !Success rate is 100 percent (5/5), round-trip min/avg/max = 12/98/268 msr2#ping 1.1.1.1 source 2.2.2.2測(cè)試通過(guò)Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 1.1.1.1, timeout is 2 seconds:Packet sent with a source address of 2.2.2.2 !Success rate is 100 percent (5/5), round-trip min/avg/max = 4/133/196 ms通過(guò)以上測(cè)試說(shuō)明目前我們的Rip v2運(yùn)行很正常。網(wǎng)絡(luò)連通性很好。自動(dòng)匯總R1自動(dòng)匯總r1#configure terminal r1(config)#router ripr1(config-router)#auto-summary r1(config-router)#exitr1(config)#exit現(xiàn)在R2的路由表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, su - IS-IS summary, 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 not setR 1.0.0.0/8 120/1 via 12.12.12.1, 00:00:02, Serial1/3 2.0.0.0/24 is subnetted, 2 subnetsC 2.2.1.0 is directly connected, Loopback1C 2.2.2.0 is directly connected, Loopback0 12.0.0.0/24 is subnetted, 1 subnetsC 12.12.12.0 is directly connected, Serial1/3路由條目:R 1.0.0.0/8 120/1 via 12.12.12.1, 00:00:02, Serial1/3替代了原來(lái)的路由條目: 1.0.0.0/24 is subnetted, 2 subnetsR 1.1.1.0 120/1 via 12.12.12.1, 00:00:10, Serial1/3R 1.1.2.0 120/1 via 12.12.12.1, 00:00:10, Serial1/3將2條匯總成了1條。由于是自動(dòng)匯總的,因此他們是被匯總成為了一條主類路由自動(dòng)匯總是在R1上做的,然后將匯總完成后的路由條目發(fā)送到R2上,因此是在R2的路由表里面體現(xiàn)出來(lái)匯總后的結(jié)果。取消自動(dòng)匯總r1#configure terminal r1(config)#router ripr1(config-router)#no auto-summary r1(config-router)#exitr1(config)#exit手動(dòng)匯總R1手動(dòng)匯總命令r1#configure terminal r1(config)#interface serial 1/2r1(config-if)#ip summary-address rip 1.1.1.1 255.255.252.0r1(config-if)#exit r1(config)#exitR2上查看結(jié)果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, su - IS-IS summary, 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 not set 1.0.0.0/2
溫馨提示
- 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫(kù)網(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ì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 銅冶煉過(guò)程中的環(huán)保設(shè)備研發(fā)進(jìn)展預(yù)測(cè)分析研究考核試卷
- 金屬加工中的金屬加工設(shè)備維護(hù)管理信息系統(tǒng)考核試卷
- 礦石催化反應(yīng)與催化機(jī)理考核試卷
- 銀冶煉中的冶煉廠智能化改造與生產(chǎn)調(diào)度考核試卷
- 針織品生產(chǎn)計(jì)劃與優(yōu)化考核試卷
- 外科縫合穿針教學(xué)
- 口腔護(hù)士職業(yè)實(shí)踐心得
- 麻醉科每月醫(yī)療質(zhì)量控制
- 冷菜制作的衛(wèi)生與安全
- 妊娠高血壓疾病查房要點(diǎn)
- 大學(xué)語(yǔ)文試題及答案安徽
- 近七年寧夏中考化學(xué)真題及答案2024
- 2025至2030中國(guó)芳綸纖維行業(yè)需求預(yù)測(cè)及發(fā)展前景趨勢(shì)研究報(bào)告
- 十一學(xué)校小升初入學(xué)測(cè)試數(shù)學(xué)真題及詳細(xì)解答
- Braden 壓力性損傷評(píng)分表詳解
- 婚內(nèi)賭博欠債協(xié)議書(shū)范本
- 造價(jià)咨詢項(xiàng)目管理制度
- 徐圩港區(qū)疏港航道整治工程報(bào)告書(shū)
- XX公司事故隱患內(nèi)部報(bào)告獎(jiǎng)勵(lì)制度1
- 兒童重癥肺炎護(hù)理常規(guī)
- 裝飾裝修施工方案
評(píng)論
0/150
提交評(píng)論