




版權(quán)說(shuō)明:本文檔由用戶(hù)提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
1、XX實(shí)驗(yàn)報(bào)告學(xué)號(hào): 日期: 年 月 日系別專(zhuān)業(yè)班級(jí)姓名 課程名稱(chēng)課程類(lèi)型學(xué)時(shí)數(shù)實(shí)驗(yàn)名稱(chēng)動(dòng)態(tài)路由配置 實(shí)驗(yàn)?zāi)康暮鸵螅豪斫鈩?dòng)態(tài)路由的工作原理,掌握如何配置動(dòng)態(tài)路由。 實(shí)驗(yàn)內(nèi)容:(一) 實(shí)驗(yàn)拓?fù)洌ǘ?shí)驗(yàn)設(shè)備路由器 2臺(tái) (三)實(shí)驗(yàn)步驟第一步:配置兩臺(tái)路由器的主機(jī)名、接口IP地址RSR20#configure terminalEnter configuration commands, one per line. End with CNTL/Z.RSR20(config)#hostname RouterARouterA(config)#RouterA(config)#interface fastEt
2、hernet 0/0RouterA(config-if)#ip address 192.168.1.1 255.255.255.0RouterA(config-if)#no shutdownRouterA(config-if)#exitRouterA(config)#RouterA(config)#interface loopback 0RouterA(config-if)#Aug 15 23:46:32 RouterA %7:%LINE PROTOCOL CHANGE: Interface Loopback 0, changed state to UPRouterA(config-if)#i
3、p address 172.16.1.1 255.255.255.0RouterA(config-if)#exitRouterA(config)#RouterA(config)#interface loopback 1RouterA(config-if)#Aug 15 23:47:00 RouterA %7:%LINE PROTOCOL CHANGE: Interface Loopback 1, changed state to UPRouterA(config-if)#ip address 172.16.2.1 255.255.255.0RouterA(config-if)#exitRSR2
4、0#configure terminalEnter configuration commands, one per line. End with CNTL/Z.RSR20(config)#hostname RouterBRouterB(config)#RouterB(config)#interface fastEthernet 0/0RouterB(config-if)#ip address 192.168.1.2 255.255.255.0RouterB(config-if)#no shutdownRouterB(config-if)#exitRouterB(config)#RouterB(
5、config)#interface loopback 0RouterB(config-if)#Aug 8 21:00:00 RouterB %7:%LINE PROTOCOL CHANGE: Interface Loopback 0, changed state to UPRouterB(config-if)#ip address 10.1.1.1 255.255.255.0RouterB(config-if)#exitRouterB(config)#RouterB(config)#interface loopback 1RouterB(config-if)#Aug 8 21:00:28 Ro
6、uterB %7:%LINE PROTOCOL CHANGE: Interface Loopback 1, changed state to UPRouterB(config-if)#ip address 10.2.2.1 255.255.255.0RouterB(config-if)#exit第二步:在兩臺(tái)路由器上配置RIP路由協(xié)議RouterA(config)#router ripRouterA(config-router)#network 192.168.1.0RouterA(config-router)#network 172.16.1.0RouterA(config-router)#
7、exitRouterB(config)#router ripRouterB(config-router)#network 192.168.1.0RouterB(config-router)#network 10.0.0.0RouterB(config-router)#exit第三步:查看RIP配置信息,路由表RouterA#show ip routeCodes: C - connected, S - static, R - RIP B - BGPO - OSPF, IA - OSPF inter areaN1 - OSPF NSSA external type 1, N2 - OSPF NSS
8、A external type 2E1 - OSPF external type 1, E2 - OSPF external type 2i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area* - candidate defaultGateway of last resort is no setR 10.0.0.0/8 120/1 via 192.168.1.2, 00:00:17, FastEthernet 0/0C 172.16.1.0/24 is directly connected, Loopb
9、ack 0C 172.16.1.1/32 is local host.C 172.16.2.0/24 is directly connected, Loopback 1C 172.16.2.1/32 is local host.C 192.168.1.0/24 is directly connected, FastEthernet 0/0C 192.168.1.1/32 is local host.RouterA#Routing Protocol is "rip"Sending updates every 30 seconds, next due in 21 seconds
10、Invalid after 180 seconds, flushed after 120 secondsOutgoing update filter list for all interface is: not setIncoming update filter list for all interface is: not setDefault redistribution metric is 1Redistributing:Default version control: send version 1, receive any versionInterface Send Recv Key-c
11、hainFastEthernet 0/0 1 1 2Loopback 0 1 1 2Loopback 1 1 1 2Routing for Networks:172.16.0.0192.168.1.0Distance: (default is 120)RouterA#RouterB#show ip routeCodes: C - connected, S - static, R - RIP B - BGPO - OSPF, IA - OSPF inter areaN1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2E1 -
12、 OSPF external type 1, E2 - OSPF external type 2i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area* - candidate defaultGateway of last resort is no setC 10.1.1.0/24 is directly connected, Loopback 0C 10.1.1.1/32 is local host.C 10.2.2.0/24 is directly connected, Loopback 1C 10.
13、2.2.1/32 is local host.R 172.16.0.0/16 120/1 via 192.168.1.1, 00:00:12, FastEthernet 0/0C 192.168.1.0/24 is directly connected, FastEthernet 0/0C 192.168.1.2/32 is local host.RouterA#show ip rip database10.0.0.0/8 auto-summary10.0.0.0/81 via 192.168.1.2 FastEthernet 0/0 00:09172.16.0.0/16 auto-summa
14、ry172.16.1.0/241 directly connected, Loopback 0172.16.2.0/241 directly connected, Loopback 1192.168.1.0/24 auto-summary192.168.1.0/241 directly connected, FastEthernet 0/0RouterA#show ip rip interfaceFastEthernet 0/0 is up, line protocol is upRouting Protocol: RIPReceive RIPv1 and RIPv2 packetsSend
15、RIPv1 packets onlyPassive interface: DisabledSplit horizon: EnabledV2 Broadcast: DisabledMulticast registe: RegistedInterface Summary Rip:Not ConfiguredIP interface address:192.168.1.1/24FastEthernet 0/1 is down, line protocol is downRIP is not enabled on this interfaceNull 0 is up, line protocol is
16、 upRIP is not enabled on this interfaceLoopback 0 is up, line protocol is upRouting Protocol: RIPReceive RIPv1 and RIPv2 packetsSend RIPv1 packets onlyPassive interface: DisabledSplit horizon: EnabledV2 Broadcast: DisabledMulticast registe: RegistedInterface Summary Rip:Not ConfiguredIP interface ad
17、dress:172.16.1.1/24Loopback 1 is up, line protocol is upRouting Protocol: RIPReceive RIPv1 and RIPv2 packetsSend RIPv1 packets onlyPassive interface: DisabledSplit horizon: EnabledV2 Broadcast: DisabledMulticast registe: RegistedInterface Summary Rip:Not ConfiguredIP interface address:172.16.2.1/24R
18、outerB#show ip ripRouting Protocol is "rip"Sending updates every 30 seconds, next due in 21 secondsInvalid after 180 seconds, flushed after 120 secondsOutgoing update filter list for all interface is: not setIncoming update filter list for all interface is: not setDefault redistribution me
19、tric is 1Redistributing:Default version control: send version 1, receive any versionInterface Send Recv Key-chainFastEthernet 0/0 1 1 2Loopback 0 1 1 2Loopback 1 1 1 2Routing for Networks:10.0.0.0192.168.1.0Distance: (default is 120)RouterB#show ip rip database10.0.0.0/8 auto-summary10.1.1.0/241 dir
20、ectly connected, Loopback 010.2.2.0/241 directly connected, Loopback 1172.16.0.0/16 auto-summary172.16.0.0/161 via 192.168.1.1 FastEthernet 0/0 00:08192.168.1.0/24 auto-summary192.168.1.0/241 directly connected, FastEthernet 0/0RouterB#show ip rip interfaceFastEthernet 0/0 is up, line protocol is up
21、Routing Protocol: RIPReceive RIPv1 and RIPv2 packetsSend RIPv1 packets onlyPassive interface: DisabledSplit horizon: EnabledV2 Broadcast: DisabledMulticast registe: RegistedInterface Summary Rip:Not ConfiguredIP interface address:192.168.1.2/24FastEthernet 0/1 is down, line protocol is downRIP is no
22、t enabled on this interfaceNull 0 is up, line protocol is upRIP is not enabled on this interfaceLoopback 0 is up, line protocol is upRouting Protocol: RIPReceive RIPv1 and RIPv2 packetsSend RIPv1 packets onlyPassive interface: DisabledSplit horizon: EnabledV2 Broadcast: DisabledMulticast registe: Re
23、gistedInterface Summary Rip:Not ConfiguredIP interface address:10.1.1.1/24Loopback 1 is up, line protocol is upRouting Protocol: RIPReceive RIPv1 and RIPv2 packetsSend RIPv1 packets onlyPassive interface: DisabledSplit horizon: EnabledV2 Broadcast: DisabledMulticast registe: RegistedInterface Summar
24、y Rip:Not ConfiguredIP interface address:10.2.2.1/24第四步:測(cè)試網(wǎng)絡(luò)連通性RouterA#ping 10.1.1.1Sending 5, 100-byte ICMP Echoes to 10.1.1.1, timeout is 2 seconds:< press Ctrl+C to break >!Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 msRouterA#ping 10.2.2.1Sending 5, 100-byte ICMP Echo
25、es to 10.2.2.1, timeout is 2 seconds:< press Ctrl+C to break >!Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/10 msRouterB#ping 172.16.1.1Sending 5, 100-byte ICMP Echoes to 172.16.1.1, timeout is 2 seconds:< press Ctrl+C to break >!Success rate is 100 percent (5/5), roun
26、d-trip min/avg/max = 1/1/1 msRouterB#ping 172.16.2.1Sending 5, 100-byte ICMP Echoes to 172.16.2.1, timeout is 2 seconds:< press Ctrl+C to break >!Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms第五步:用debug命令觀察路由器接收和發(fā)生路由更新的情況下面是一個(gè)完整的RIP路由器接收更新和發(fā)送更新的過(guò)程,從中可以看到RouterB接收到了RouterA
27、發(fā)送的更新,其中包含一條路由信息172.16.0.0(可以看到水平分割原則的作用),然后刷新了路由表。RouterB本身發(fā)送的更新報(bào)文則在Fa0/0、Lo0和Lo1三個(gè)端口發(fā)出,采用廣播的方式,廣播地址分別為192.168.1.255,10.1.1.255,10.2.2.255,使用UDP 的520端口。在水平分割的原則下,每個(gè)端口發(fā)送的路由信息均不相同。RouterB#debug ip ripAug 8 21:06:08 RouterB %7: RIP RIP recveived packet, sock=2125 src=192.168.1.1 len=24Aug 8 21:06:08 R
28、outerB %7: RIP Cancel peer remove timerAug 8 21:06:08 RouterB %7:RIP Peer remove timer shedule.Aug 8 21:06:08 RouterB %7: route-entry: family 2 ip 172.16.0.0 metric 1Aug 8 21:06:08 RouterB %7: RIP Received version 1 response packetAug 8 21:06:08 RouterB %7: RIP Translate mask to 16Aug 8 21:06:08 Rou
29、terB %7: RIP Old path is: nhop=192.168.1.1 routesrc=192.168.1.1 intf=1Aug 8 21:06:08 RouterB %7: RIP New path is: nhop=192.168.1.1 routesrc=192.168.1.1Aug 8 21:06:08 RouterB %7: RIP 172.16.0.0/16 RIP route refresh!Aug 8 21:06:08 RouterB %7: RIP 172.16.0.0/16 RIP distance apply from 192.168.1.1!Aug 8
30、 21:06:08 RouterB %7: RIP 172.16.0.0/16 ready to refresh kernel.Aug 8 21:06:08 RouterB %7: RIP NSM refresh: IPv4 RIP Route 172.16.0.0/16 distance=120 metric=1 nexthop_num=1 distance=120 nexhop=192.168.1.1 ifindex=1Aug 8 21:06:08 RouterB %7: RIP 172.16.0.0/16 cancel route timerAug 8 21:06:08 RouterB
31、%7: RIP 172.16.0.0/16 route timer schedule.Aug 8 21:06:23 RouterB %7: RIP Output timer expired to send reponseAug 8 21:06:23 RouterB %7: RIP Prepare to send BROADCAST response.Aug 8 21:06:23 RouterB %7: RIP Building update entries on FastEthernet 0/0Aug 8 21:06:23 RouterB %7: network 10.0.0.0 metric
32、 1Aug 8 21:06:23 RouterB %7: RIP Send packet to 192.168.1.255 Port 520 on FastEthernet 0/0Aug 8 21:06:23 RouterB %7: RIP Prepare to send BROADCAST response.Aug 8 21:06:23 RouterB %7: RIP Building update entries on Loopback 0Aug 8 21:06:23 RouterB %7: network 10.2.2.0 metric 1Aug 8 21:06:23 RouterB %
33、7: network 172.16.0.0 metric 2Aug 8 21:06:23 RouterB %7: network 192.168.1.0 metric 1Aug 8 21:06:23 RouterB %7: RIP Send packet to 10.1.1.255 Port 520 on Loopback 0Aug 8 21:06:23 RouterB %7: RIP Prepare to send BROADCAST response.Aug 8 21:06:23 RouterB %7: RIP Building update entries on Loopback 1Au
34、g 8 21:06:23 RouterB %7: network 10.1.1.0 metric 1Aug 8 21:06:23 RouterB %7: network 172.16.0.0 metric 2Aug 8 21:06:23 RouterB %7: network 192.168.1.0 metric 1Aug 8 21:06:23 RouterB %7: RIP Send packet to 10.2.2.255 Port 520 on Loopback 1Aug 8 21:06:23 RouterB %7: RIP Schedule response send timer【注意事項(xiàng)】1、配置RIP的Network命令時(shí)只支持A、
溫馨提示
- 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶(hù)所有。
- 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ì)用戶(hù)上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶(hù)上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶(hù)因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 2025年落葉大班標(biāo)準(zhǔn)教案及反思
- 保潔外包合同范例
- 住宅使用權(quán)變更合同范例
- 水資源合理利用與開(kāi)發(fā)策略計(jì)劃
- 海關(guān)業(yè)務(wù)知識(shí)培訓(xùn)課件
- 如何應(yīng)對(duì)工作中的壓力與挑戰(zhàn)計(jì)劃
- 第3課:《日食》(教學(xué)設(shè)計(jì))-2023-2024學(xué)年六年級(jí)下冊(cè)科學(xué) 教科版
- 2025年羽毛球課程標(biāo)準(zhǔn)教案全
- 學(xué)習(xí)之道與方法指導(dǎo)計(jì)劃
- 第五單元《習(xí)作:圍繞中心意思寫(xiě)》教學(xué)設(shè)計(jì)-2024-2025學(xué)年六年級(jí)上冊(cè)語(yǔ)文統(tǒng)編版
- 中建CFG樁施工方案
- 氫氟酸安全技術(shù)說(shuō)明書(shū)MSDS
- 中學(xué)國(guó)防教育配教案
- 人民調(diào)解實(shí)務(wù) 課件 第6-10章 人民調(diào)解程序-人民調(diào)解文書(shū)
- 6AM2U7 Rules around us Rules and signs ppt英語(yǔ)教學(xué)課件
- 管道安全檢查表
- 中國(guó)政府開(kāi)放數(shù)據(jù)利用研究報(bào)告
- 拍攝短視頻的腳本范文(可用8篇)
- 復(fù)方雷尼替丁
- 2023年青島港灣職業(yè)技術(shù)學(xué)院?jiǎn)握芯C合素質(zhì)模擬試題及答案解析
- 25噸汽車(chē)吊吊裝施工方案
評(píng)論
0/150
提交評(píng)論