




版權(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. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 古詩詞誦讀《游園·皂羅袍》教學設計 2023-2024學年統(tǒng)編版高中語文必修下冊
- 記錄我的一天(教學設計)-2024-2025學年一年級上冊數(shù)學北師大版
- 武術(shù)防身術(shù) 教學設計-2023-2024學年高一上學期體育與健康人教版必修第一冊
- Unit 6 Reading教學設計2024-2025學年滬教牛津版英語八年級上冊
- 下壓式交接棒 教學設計-2023-2024學年高一上學期體育與健康人教版必修第一冊
- 2025年中國旋光儀行業(yè)發(fā)展監(jiān)測及投資戰(zhàn)略研究報告
- 2025年提供住宿社會救助服務項目合作計劃書
- 第11課 古代日本(教學設計)-2024-2025學年九年級歷史上冊素養(yǎng)提升教學設計(統(tǒng)編版)
- 浙教版2023年 八年級下冊 第9課人工智能中的機器學習 教學設計
- 2025人教版一年級下冊數(shù)學教學進度表
- 渝水區(qū)良山分散式風電項目環(huán)評報告
- 2023夏季廣東廣州期貨交易所招聘歷年高頻難易度、易錯點模擬試題(共500題)附帶答案詳解
- 《人事管理》課件
- 【非正式組織對企業(yè)人力資源管理的影響8700字(論文)】
- 鉛銻合金生產(chǎn)工藝技術(shù)規(guī)范
- 2024拳擊比賽計劃書
- PPAP-測量系統(tǒng)分析研究模板
- 管道直飲水系統(tǒng)技術(shù)和方案
- 培養(yǎng)幼兒的時間觀念
- 肉山羊規(guī)模飼養(yǎng)生產(chǎn)技術(shù)規(guī)程
- 婦產(chǎn)科國家臨床重點??乞炇諈R報
評論
0/150
提交評論