



下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、实用标准文案实验 4 : RIP 路由协议的配置一、实验目的1、练习 RIP 动态路由协议的基本配置;2、掌握了解 RIP 路由协议原理二、实验环境:模拟器三、关于 RIP 的基础知识RIP( Routing Information Protocol)是最常使用的内部网关协议(InteriorGateway Protocol)之一,是一种典型的基于D-V算法的动态路由协议。通过 UDP (User Datagram Protocol)报文交换路由信息,使用跳数(HopCount )来衡量到达目的地的距离(被称为路由权Routing cost)。由于在 RIP 中大于或等于 16 的跳数被定义为
2、无穷大(即目的网络或主机不可达),所以 RIP 一般用于采用同类技术的中等规模的网络,如校园网及一个地区范围内的网络, RIP 并非为复杂、大型的网络而设计。启动 RIP,进入 RIP 视图:router Rip关闭 RIP: no rip在指定的网络上使能RIP network network-number| all 在指定的网络上禁用RIP no network network-number| all四:实验步骤:拓扑图如下所示:精彩文档实用标准文案配置过程:Router1 :Router>enable/ 进入特权模式Router#conf ter/ 进入全局配置模式Enter co
3、nfiguration commands, 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:LineprotocolonInterfaceFastEthernet0/0
4、,changedstate to up精彩文档实用标准文案Router(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/
5、 配置串口Router(config-if)#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/ 发布直连网络Router(config-router)#
6、exitRouter(config)#exitRouter#%SYS-5-CONFIG_I: Configured from console by consoleRouter#show ip route/ 查看路由表精彩文档实用标准文案Codes: C - connected, S - static, I - IGRP, R - RIP , M - mobile, B - BGPD - EIGRP , EX - EIGRP external, O - OSPF, IA - OSPF inter areaN1 - OSPF NSSA external type 1, N2 - OSPF NSSA
7、 external type 2E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGPi - 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 set1.0.0.0/24 is subnetted,
8、 1 subnetsC 1.1.1.0 is directly connected, FastEthernet0/0Router#Router2 :Router>enableRouter#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 F
9、astEthernet0/0, changed state to up%LINEPROTO-5-UPDOWN:LineprotocolonInterfaceFastEthernet0/0,changedstate 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 Seria
10、l0/0/1, changed state to upRouter(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(conf
11、ig-router)#network 1.0.0.0Router(config-router)#exit精彩文档实用标准文案Router(config)#exitRouter#%SYS-5-CONFIG_I: Configured from console by consoleRouter#Router#show ip routeCodes: C - connected, S - static, I - IGRP, R - RIP , M - mobile, B - BGPD - EIGRP , EX - EIGRP external, O - OSPF, IA - OSPF inter ar
12、eaN1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGPi - 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 o
13、f last resort is not set1.0.0.0/24 is subnetted, 3 subnetsR1.1.1.0 120/1 via 1.1.2.1, 00:00:11, Serial0/0/1C1.1.2.0 is directly connected, Serial0/0/1C 1.1.5.0 is directly connected, FastEthernet0/0Router#Router3 :精彩文档实用标准文案Router>enRouter#conf terEnter configuration commands, one per line.End wi
14、th CNTL/Z.Router(config)#int f0/0Router(config-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:LineprotocolonInterfaceFastEthernet0/0,changedstate to upRouter(config-if)#exitRouter(config)#int s0/0/0Route
15、r(config-if)#ip add 1.1.6.2 255.255.255.0Router(config-if)#clo rate 64000Router(config-if)#no shutdownRouter(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
16、 64000精彩文档实用标准文案Router(config-if)#no shutdown%LINK-5-CHANGED: Interface Serial0/0/1, changed state to upRouter(config-if)#exitRouter(config)#router ripRouter(config-router)#%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/1, changed state toupRouter(config-router)#network 1.0.0.0Router(conf
17、ig-router)#exitRouter(config)#exitRouter#%SYS-5-CONFIG_I: Configured from console by consoleRouter#show ip rouRouter#show ip routeCodes: C - connected, S - static, I - IGRP, R - RIP , M - mobile, B - BGPD - EIGRP , EX - EIGRP external, O - OSPF, IA - OSPF inter areaN1 - OSPF NSSA external type 1, N2
18、 - OSPF NSSA external type 2E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGPi - 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 route精彩文档实用标准文案Gateway of last resort is not set1.0.0.0/24 is subnetted, 6 subnetsR1.1.1.0 120/1 via 1.1.6.1, 00:00:02, Serial0/0/0R1.1.2.0 120/1 via 1.1.6.1, 00:00:02, Serial0/0/0120/1 via 1.1.3.1, 00:
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2025-2030年中国半导体激光治疗机市场运营格局及投资前景预测研究报告
- 高性能塑料减重技术-全面剖析
- 跨语言信息检索-第3篇-全面剖析
- 高效会议音视频处理-全面剖析
- 跨文化棋类游戏心理差异-全面剖析
- 联邦学习在手写体识别中的跨域应用-全面剖析
- 2025-2030年中国信用评级行业市场前景规划及投资价值咨询报告
- 2025车辆买卖合同标准版本
- 2025二手房买卖合同(全款专用)
- 2025物流服务合同
- 【教材解读】语篇研读-Sailing the oceans
- 《药物学》课程教学大纲
- 修改版丝竹相和
- 抗肿瘤药物过敏反应和过敏性休克
- 排水管道非开挖预防性修复可行性研究报告
- 交通工程基础习习题及参考答案
- RNN+LSTM学习资料课件
- 线路送出工程质量创优项目策划书
- 100T汽车吊性能表
- SOP0420201洁净空调系统清洁消毒预防性维护保养操作规程报告
- 试样切取和加工制备作业指导书
评论
0/150
提交评论