CiscoPacketTracer實驗7RIP路由協(xié)議的配置_第1頁
CiscoPacketTracer實驗7RIP路由協(xié)議的配置_第2頁
CiscoPacketTracer實驗7RIP路由協(xié)議的配置_第3頁
CiscoPacketTracer實驗7RIP路由協(xié)議的配置_第4頁
CiscoPacketTracer實驗7RIP路由協(xié)議的配置_第5頁
已閱讀5頁,還剩3頁未讀, 繼續(xù)免費閱讀

下載本文檔

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

文檔簡介

1、 實驗7:RIP 路由協(xié)議的配置一、實驗目的1、練習RIP 動態(tài)路由協(xié)議的基本配置;2、掌握了解RIP 路由協(xié)議原理二、實驗環(huán)境:Packet tracer 5.0三、關(guān)于RIP 的基礎(chǔ)知識RIP(Routing Information Protocol)是最常使用的內(nèi)部網(wǎng)關(guān)協(xié)議(InteriorGateway Protocol)之一,是一種典型的基于D-V 算法的動態(tài)路由協(xié)議。通過UDP(User Datagram Protocol)報文交換路由信息,使用跳數(shù)(HopCount)來衡量到達目的地的距離(被稱為路由權(quán)Routing cost)。由于在RIP 中大于或等于16 的跳數(shù)被定義為無窮

2、大(即目的網(wǎng)絡或主機不可達),所以RIP 一般用于采用同類技術(shù)的中等規(guī)模的網(wǎng)絡,如校園網(wǎng)及一個地區(qū)范圍內(nèi)的網(wǎng)絡,RIP 并非為復雜、大型的網(wǎng)絡而設計。啟動RIP,進入RIP 視圖: router Rip關(guān)閉RIP: no rip在指定的網(wǎng)絡上使能RIP network network-number| all 在指定的網(wǎng)絡上禁用RIP no network network-number| all四:實驗步驟:拓撲圖如下所示:配置過程:Router1:Routerenable /進入特權(quán)模式Router#conf ter /進入全局配置模式Enter configuration commands,

3、 one per line. End with CNTL/Z.Router(config)#int f0/0 /配置Fa0/0 接口Router(config-if)#ip add 1.1.1.2 255.255.255.0Router(config-if)#no shutdown %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to upRouter(config-if)#%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed stat

4、e to upRouter(config-if)#exitRouter(config)#int s0/0/0 /配置串口Router(config-if)#ip add 1.1.6.1 255.255.255.0Router(config-if)#clock rate 64000Router(config-if)#no shutdown %LINK-5-CHANGED: Interface Serial0/0/0, changed state to downRouter(config-if)#exitRouter(config)#int s0/0/1 /配置串口Router(config-if

5、)#ip add 1.1.2.1 255.255.255.0Router(config-if)#clock rate 64000Router(config-if)#no shutdown %LINK-5-CHANGED: Interface Serial0/0/1, changed state to downRouter(config-if)#exitRouter(config)#router rip /進入RIP 視圖Router(config-router)#network 1.0.0.0 /發(fā)布直連網(wǎng)絡Router(config-router)#exitRouter(config)#ex

6、itRouter#%SYS-5-CONFIG_I: Configured from console by consoleRouter#show ip route /查看路由表Codes: C - connected, S - static, I - IGRP, 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 exte

7、rnal type 1, E2 - OSPF external type 2, E - EGP 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 not set 1.0.0.0/24 is subnetted, 1 subnetsC 1.1.1.0 is dire

8、ctly connected, FastEthernet0/0Router#Router2:Routerenable Router#conf terEnter configuration commands, one per line. End with CNTL/Z.Router(config)#int f0/0Router(config-if)#ip add 1.1.5.2 255.255.255.0Router(config-if)#no shutdown %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up%LIN

9、EPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to upRouter(config-if)#exitRouter(config)#int s0/0/1Router(config-if)#ip add 1.1.2.2 255.255.255.0Router(config-if)#clock rate 64000Router(config-if)#no shutdown %LINK-5-CHANGED: Interface Serial0/0/1, changed state to upRout

10、er(config-if)#exitRouter(config)#int s0/0/0Router(config-if)#ip add 1.1.3.1 255.255.255.0Router(config-if)#clo rate 64000Router(config-if)#no shutdown %LINK-5-CHANGED: Interface Serial0/0/0, changed state to downRouter(config-if)#exitRouter(config)#router ripRouter(config-router)#network 1.0.0.0Rout

11、er(config-router)#exitRouter(config)#exitRouter#%SYS-5-CONFIG_I: Configured from console by consoleRouter#Router#show ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 -

12、OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP 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 not set 1.0.0.0/24

13、is subnetted, 3 subnetsR 1.1.1.0 120/1 via 1.1.2.1, 00:00:11, Serial0/0/1C 1.1.2.0 is directly connected, Serial0/0/1C 1.1.5.0 is directly connected, FastEthernet0/0Router#Router3:RouterenRouter#conf terEnter configuration commands, one per line. End with CNTL/Z.Router(config)#int f0/0Router(config-

14、if)#ip add 1.1.4.2 255.255.255.0Router(config-if)#no shutdown %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to upRouter(config-if)#exitRouter(config)#int s0/0/0Router(config-if)#ip add 1.1.6.2 255.255.255

15、.0Router(config-if)#clo rate 64000Router(config-if)#no shutdown Router(config-if)#%LINK-5-CHANGED: Interface Serial0/0/0, changed state to upRouter(config-if)#exitRouter(config)#int s0/0/1Router(config-if)#ip add 1.1.3.2 255.255.255.0Router(config-if)#clock rate 64000Router(config-if)#no shutdown %L

16、INK-5-CHANGED: Interface Serial0/0/1, changed state to upRouter(config-if)#exitRouter(config)#router rip Router(config-router)#%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/1, changed state to upRouter(config-router)#network 1.0.0.0Router(config-router)#exitRouter(config)#exitRouter#%SYS

17、-5-CONFIG_I: Configured from console by consoleRouter#show ip rouRouter#show ip route Codes: C - connected, S - static, I - IGRP, 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 exter

18、nal type 1, E2 - OSPF external type 2, E - EGP 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 not set 1.0.0.0/24 is subnetted, 6 subnetsR 1.1.1.0 120/1 via 1.1.6.1, 00:00:02, Serial0/0/0R 1.1.2.0 120/1 via 1.1.6.1, 00:00:02, Serial0/0

溫馨提示

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

最新文檔

評論

0/150

提交評論