路由策略實(shí)驗(yàn)報(bào)告_第1頁(yè)
路由策略實(shí)驗(yàn)報(bào)告_第2頁(yè)
路由策略實(shí)驗(yàn)報(bào)告_第3頁(yè)
路由策略實(shí)驗(yàn)報(bào)告_第4頁(yè)
路由策略實(shí)驗(yàn)報(bào)告_第5頁(yè)
已閱讀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)介

002002路由策略實(shí)驗(yàn)?zāi)康模和ㄟ^(guò)路由策略達(dá)到以下目的:使R1上的192.168.1.0的流量從192.168.4.0走,進(jìn)入ISPA,到達(dá)200.200.200.200讓R1上的192.168.2.0的流量從192.168.5.0走,進(jìn)入ISPB,到達(dá)200.200.200.200實(shí)驗(yàn)拓?fù)鋱D:注意路由器上的路由協(xié)議自由選擇本實(shí)驗(yàn)評(píng)分標(biāo)準(zhǔn):路由器按要求配置相應(yīng)地址10分在R1上以192.168.1.1為源,能PING通200.200.200.200,路由協(xié)議自定20分在R1上以192.168.2.1為源,能PING通200.200.200.200,路由協(xié)議自定20分在R2上實(shí)施策略路由,讓R1上以192.168.1.0為源過(guò)來(lái)的數(shù)據(jù)通過(guò)R2走R3到達(dá)200.200.200.200。25分在R2上實(shí)施策略路由,讓R1上以192.168.2.0為源過(guò)來(lái)的數(shù)據(jù)通過(guò)R2走R4到達(dá)200.200.200.200。25分實(shí)驗(yàn)環(huán)境整個(gè)實(shí)驗(yàn)可用四臺(tái)路由器或者dynamips模擬器完成。在路由器上配置相應(yīng)的地址!基本配置接口配置r1(config)Sinterlolrl(config-if)#ipadd192.168.1.1255.255.255.0r1(config-if)#interlo2rl(config-if)#ipadd192.168.2.1255.255.255.0rl(config-if)Sintere0/0rl(config-if)#ipadd192.168.3.1255.255.255.0r1(config-if)#noshr1(config-if)#esitrl(config)#r2(config)Sintere0/0r2(config-if)#ipadd192.168.3.2255.255.255.0r2(config-if)#noshr2(config-if)SintereO/1r2(config-if)#ipadd192.168.4.1255.255.255.0r2(config-if)#noshr2(config-if)SintereO/2r2(config-if)#ipadd192.168.5.1255.255.255.0r2(config-if)#noshr2(config-if)#esitr2(config)#!r3(config)#intere0/0r3(config-if)#ipadd192.168.4.2255.255.255.0r3(config-if)#noshr3(config-if)#interlolr3(config-if)#ipadd200.200.200.200255.255.255.0r3(config-if)#eKitr3(config)#]r4(config)Sintere0/0r4(config-if)#ipadd192.168.5.2255.255.255.0r4(config-if)#noshr4(config-if)Sinterlolr4(config-if)#ipadd200.200.200.200255.255.255.0r4(config-if)#esitr4(config)#]查看接口

rl#showipinterbInterfaceIP-AddressOK?MethodStatusProt□colEthernet0/0192.168.3.1YESmanualupupSeriall/0unassignedYESunsetadministrativelydowndownSeriall/1unassignedYESunsetadministrativelydowndownSeriall/2unassignedYESunsetadministrativelydowndownSeriall/3unassignedYESunsetadministrativelydowndownLoopbackO192.168.1.1YESmanualupupLoopback1192.168.2.1YESmanualupupr2#showipinterbInterfaceIP-AddressOK?MethodStatusProtocolEthernet0/0192.168.3.2YESmanualupUPEthernet0/1192.168.4.1YESmanualupupEthernet0/2192.168.5.1YESmanualUPupEthernet0/3unassignedYESunsetadministrativelydowndownSeriall/0unassignedYESunsetadministrativelydowndownSeriall/1unassignedYESunsetadministrativelydowndownSeriall/2unassignedYESunsetadministrativelydowndownSeriall/3unassignedYESunsetadministrativelydowndownr3#showipinterbInterfaceIP-AddressOK?MethodStatusProtocolEthernet0/0192.168.4.2YESmanualUPupSeriall/0unassignedYESunsetadministrativelydowndownSeriall/1unassignedYESunsetadministrativelydowndownSeriall/2unassignedYESunsetadministrativelydowndownSeriall/3unassignedYESunsetadministrativelydowndownLoopbackO200.200.200.200YESmanualUPupr4#showipinterbInterfaceIP-AddressOK?MethodStatusProt□colEthernet0/0192.168.5.2YESmanualUPupSeriall/0unassignedYESunsetadministrativelydowndownSeriall/1unassignedYESunsetadministrativelydowndownSeriall/2unassignedYESunsetadministrativelydowndownSeriall/3unassignedYESunsetadministrativelydowndownLoopbackO200.200.200.200YESmanualupup5.直連PING測(cè)試r2#ping192.168.3.1Typeescapesequencetoabort.Sending5,100-byteICMPEchosto192.168.3.1,timeoutis2seconds:Successrateis100percent(5/5)round-tripmin/avg/mas=144/224/288msr2#ping192.168.4.2Typeescapesequencet□abort.SendingS,100-byteICMPEchosto192.168.4.2,timeoutis2seconds:.IIIISuccessrateis80percent(4/5),round-tripmin/avg/max=228/345/432msr2#ping192.168.5.2 'Typeescapesequencetoabort.Sending5,100-byteICMPEchosto192.168.5.2,timeoutis2seconds:6.運(yùn)RIPV2,使它們之間可以通信rl(config)#routerriprl(config-router)#ver2rl(config-router)#noaurl(config-router)#net192.168.1.0rl(config-router)#net192.168.2.0rl(config-router)#net192.168.3.0r1(config-router)#endr2(config)#routerripr2(config-router)#ver2r2(config-router)#noaur2(config-router)#net192.168.3.0r2(config-router)#net192.168.4.0r2(config-router)#net192.168.5.0r2(config-router)#endr3(config)#routerripr3(config-router)#ver2r3(config-router)#noaur3(config-router)#net192.168.4.0r3(config-router)#net200.200.200.0r3(config-router)#end

r4(config)#routerripr4(config-router)#ver2r4(config-router)#noaur4(config-router)#net192.168.5.0r4(config-router)#net200.200.200.0r4(config-router)Send7.查看各個(gè)路由器的路由表!rl#showiproCodes:C-connectedjS-statiCjR-El已M-mobilejB-BGPD-EIGRPEK-EIGRPesternal^0-OSPFjIA-OSPFinterareaN1-OSPFNSSAexternaltype1,N2-OSPFNSSAesternaltype2El-OSPFesternaltype1,E2-OSPFexternaltype2i-IS-ISjsu-IS-ISsummaryjLI-IS-ISlevel-ljL2-IS-ISlevel-2ia-IS-ISinterarea^*-candidatedefaultjU-per-userstaticrouteo-ODRjP-periodicdownloadedstaticrouteGatewayoflastresortisnotsetRRRCCC200.200.200.0/24[120/2]via192.168.4.0/24RRRCCC200.200.200.0/24[120/2]via192.168.4.0/24192.168.5.0/24192.168.1.0/24192.168.2.0/24192.168.3.0/24[120/1]via

[120/1]via

isdirectly

isdirectly

isdirectly192.168.3.2S00:00:19,Ethernet0/0192.168.3.2,00:00:19^Ethernet0/0192.168.3.2,00:00:19^Ethernet0/0connectedjLoopbackOconnectedjLoopback1connectedjEthernet0/0r2#showiproCodes:C-connectedjS-static^R-RIPjM-mcibil如B-BGPD-EIGRPjEK-EIGRPesternalj0-OSPFjIA-OSPFinterareaN1-OSPFNSSAesternaltype13N2-OSPFNSSAexternaltype2El-OSPFesternaltypeLE2-OSPFesternaltype2i-IS-ISjsu-IS-ISsununaryjLI-IS-ISlevel-ljL2-IS-ISlevel-2ia-IS-ISinterarea,*-candidatedefaultjU-per-userstaticroute□-ODR,P-periodicdoimloadedstaticrouteGatewayoflastresortisnotset200.200.200.0/24[120/1][120/1]isdirectlyisdirectly[120/1]via[120/1]viaisdirectly192.168.4.0/24192.168.5.0/24192.168.1.0/24192.168.2.0/24200.200.200.0/24[120/1][120/1]isdirectlyisdirectly[120/1]via[120/1]viaisdirectly192.168.4.0/24192.168.5.0/24192.168.1.0/24192.168.2.0/24192.168.3.0/24via192.168.5.2,via192.168.4.幻connectedjEthernet0/1connected3Ethernet0/2192.168.3.1,00:00:24,Ethernet0/0192.168.3.1,00:00:24,Ethernet0/0connected,Ethernet0/000:00:01,00:00:07,Ethernet0/2Ethernet0/1r3#showiproCodes:C-connectedjS-static^R-RIP^M-mobilejB-BGPD-EIGEPjEK-EIGEPexternal,0-OSPF,IA-OSPFinterareaN1-OSPFNSSAesternaltype1,N2-OSPFNSSAexternaltype2El-OSPFesternaltypeLE2-OSPFeKternaltype2i-IS-ISjsu-IS-ISsununaryjLI-IS-ISlevel-L2-IS-ISlevel-2ia-IS-ISinterarea,*-candidatedefaultjU-per-userstaticrouteo-ODRjP-periodicdownloadedstaticrouteGatewayoflastresortisnotsetC200.200.200.0/24isdirectlyconnected^LoopbackO192.168.4.0/24192.168.5.0/24192.168.1.0/24192.168.2.0/24192.168.3.0/24192.168.4.0/24192.168.5.0/24192.168.1.0/24192.168.2.0/24192.168.3.0/24isdirectly[120/1]via[120/2]via[120/2]via[120/1]viaconnectedjEthernet0/0192.168.4.1,00:00:04,192.168.4.1,00:00:04,192.168.4.1,00:00:04,192.168.4.1,00:00:04,Ethernet0/0Ethernet0/0Ethernet0/0Ethernet0/0r4#showiproCodes:C-connectedjS-static^R-RIP^M-mobile,B-BGPD-EIGRP,EK-EIGRPesternal,0-OSPF,IA-OSPFinterareaN1-OSPFNSSAesternaltype1,N2-OSPFNSSAesternaltype2El-OSPFesternaltypeE2-OSPFeKternaltype2i-IS-IS,su-IS-ISsummaryjLI-IS-ISlevel-ljL2-IS-ISlevel-2ia-IS-ISinterarea^*-candidatedefsuitU-per-userstaticrouteo-ODRjP-periodicdownloadedstaticrouteGatewayoflastresortisnotsetC200.200.200.0/24isdirectlyconnectedjLoopbackO192.168.4.0/24192.168.5.0/24192.168.1.0/24192.168.2.0/24192.168.4.0/24192.168.5.0/24192.168.1.0/24192.168.2.0/24192.168.3.0/24[120/1]viaisdirectly[120/2]via[120/2]via[120/1]viaconnecte山Ethernet0/0192.168.5. 00:00:05,Ethernet0/0192.168.5. 00:00:05,Ethernet0/0192.168.5.Ij00:00:05^Ethernet0/08.在R1上以192.168.1.1為源,能PING通200.200.200.200rltfping200.200.200.200source192.168.1.1Typeescapesequencetoabort.Sending5,100-byteICMPEchosto200.200.200.200^timeoutis2seconds:Packetsentwithasourceaddressof192.168.1.1IIIIISuccessrateis100percent(5/5)round-tripmin/avg/mas=548/652/840ms9.在R1上以192.168.2.1為源,能PING通200.200.200.200

rl#ping200.200.200.200source192.168.2.1Typeescapesequencet□abort.Sending號(hào)100-byteICMPEchosto200.200.200.200^timeoutis2seconds:Packetsentwithasourceaddressof192.168.2.1Successrateis100percent(5/5),round-tripmin/avg/max=172/523/716ms10.在r2定義兩條訪問(wèn)控制列表r2(config)#access-list10permit192.168.1.00.0.0.255r2(config)#access-list20permit192.168.2.00.0.0.25511.在R2的策略上應(yīng)用訪問(wèn)控制列表r2(config)#route-maphongtuper10r2(config-route-map)#matchipadd10r2(config-route-map)#setipneKt-hop192.168.4.2r2(config-route-map)#route-maphongtuper20r2(config-route-map)#matchipadd20r2(config-route-map)#setipneKt-hop192.168.5.2r2(config-route-map)#ezitr2(config)#route-maphongtuper30r2(config-route-map)Sintere0/0r2(config-if)#ippolicyroute-maptest12.在R2上查看訪問(wèn)控制列表的信息和Route-map的信息r212.在R2上查看訪問(wèn)控制列表的信息和Route-map的信息StandardIPaccesslist1010permit192.168.1.0^wildcardbits0.0.0.255StandardIPaccesslist

溫馨提示

  • 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ù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 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ì)自己和他人造成任何形式的傷害或損失。

評(píng)論

0/150

提交評(píng)論