动态路由rip配置

上传人:痛*** 文档编号:171876022 上传时间:2022-11-29 格式:DOC 页数:6 大小:133KB
收藏 版权申诉 举报 下载
动态路由rip配置_第1页
第1页 / 共6页
动态路由rip配置_第2页
第2页 / 共6页
动态路由rip配置_第3页
第3页 / 共6页
资源描述:

《动态路由rip配置》由会员分享,可在线阅读,更多相关《动态路由rip配置(6页珍藏版)》请在装配图网上搜索。

1、实验报告配置动态路由RIP目的:掌握RIP路由协议配置方法,理解动态路由原理原理:动态路由是指动态路由协议(如RIP)自动建立路由表,当你去掉一条连线时,它会自动去掉其路由。路由器的每一个接口对应不同网络,而一条连接两个路由器连线的两个端点IP应该属于同一网络。设置的IP地址时,如果路由器的其它端口已有这个网络了,则提示已有这个网络,并显示对应的端口。一、网络拓扑:二:配置实验步骤:1. 以下是pc0客户机配置如下:其他客户机配置分别为:Pc1 配置如下:192.168.3.3 255.255.255.0 192.168.3.1Pc2 配置如下:192.168.4.2 255.255.255.

2、0 192.168.4.1Pc3 配置如下:192.168.4.3 255.255.255.0 192.168.4.1Pc4 配置如下:192.168.5.2 255.255.255.0 192.168.5.1Pc5 配置如下:192.168.5.3 255.255.255.0 192.168.5.12. 配置router0如下:- System Configuration Dialog -Continue with configuration dialog? yes/no: no Press RETURN to get started!RouterenRouter#conf tEnter c

3、onfiguration commands, one per line. End with CNTL/Z.Router(config)#hostname Router0/配置路由器FastEthernet接口IP地址Router0(config)#int f0/0Router0(config-if)#ip address 192.168.3.1 255.255.255.0Router0(config-if)#no sh%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up%LINEPROTO-5-UPDOWN: Line

4、protocol on Interface FastEthernet0/0, changed state to up/配置路由器Serial口IP地址Router0(config-if)#int s0/0/0Router0(config-if)#ip address 192.168.1.1 255.255.255.0Router0(config-if)#no shutdown%LINK-5-CHANGED: Interface Serial0/0/0, changed state to down/配置路由器时钟频率Router0(config-if)#clock rate 9600Router

5、0(config-if)#no shutdownRouter0(config-if)#end %SYS-5-CONFIG_I: Configured from console by consoleRouter0#conf tEnter configuration commands, one per line. End with CNTL/Z./配置动态路由Router0(config)#route ripRouter0(config-router)#version 2Router0(config-router)#network 192.168.3.0Router0(config-router)

6、#network 192.168.1.0Router0(config-router)#end/查看路由表Router#show ip routeCodes: 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 external type 1, E2

7、 - 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 setC 192.168.1.0/24 is directly connected, Serial0/0/0R 192.168.2.0/24

8、 120/1 via 192.168.1.2, 00:00:03, Serial0/0/0C 192.168.3.0/24 is directly connected, FastEthernet0/0R 192.168.4.0/24 120/1 via 192.168.1.2, 00:00:03, Serial0/0/0R 192.168.5.0/24 120/2 via 192.168.1.2, 00:00:03, Serial0/0/03. 配置router1如下:- System Configuration Dialog -Continue with configuration dial

9、og? yes/no: noPress RETURN to get started!RouterenRouter#conf tEnter configuration commands, one per line. End with CNTL/Z.Router(config)#hostname Router1/配置路由器FastEthernet接口IP地址Router1(config)#int f0/0Router1(config-if)#ip address 192.168.4.1 255.255.255.0Router1(config-if)#no shutdown%LINK-5-CHANG

10、ED: Interface FastEthernet0/0, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up/配置路由器Serial口IP地址Router1(config-if)#int s0/0/0Router1(config-if)#ip address 192.168.1.2 255.255.255.0Router1(config-if)#no shutdown%LINK-5-CHANGED: Interface Serial0/

11、0/0, changed state to upRouter1(config-if)#int%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up % Incomplete command.Router1(config)#int s0/0/1Router1(config-if)#ip address 192.168.2.1 255.255.255.0Router1(config-if)#no shutdown%LINK-5-CHANGED: Interface Serial0/0/1, c

12、hanged state to down/配置路由器时钟频率Router1(config-if)#clock rate 9600Router1(config-if)#no shutdownRouter1(config-if)#end%SYS-5-CONFIG_I: Configured from console by consoleRouter1#conf tEnter configuration commands, one per line. End with CNTL/Z./配置动态路由Router(config)#route ripRouter(config-router)#versio

13、n 2Router(config-router)#network 192.168.1.0Router(config-router)#network 192.168.4.0Router(config-router)#network 192.168.2.0Router(config-router)#end/查看路由表Router#show ip routeCodes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSP

14、F inter area N1 - OSPF NSSA external type 1, N2 - 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

15、routeGateway of last resort is not setC 192.168.1.0/24 is directly connected, Serial0/0/0C 192.168.2.0/24 is directly connected, Serial0/0/1R 192.168.3.0/24 120/1 via 192.168.1.1, 00:00:26, Serial0/0/0C 192.168.4.0/24 is directly connected, FastEthernet0/0R 192.168.5.0/24 120/1 via 192.168.2.2, 00:0

16、0:13, Serial0/0/14. 配置router2如下:- System Configuration Dialog -Continue with configuration dialog? yes/no: noPress RETURN to get started!RouterenRouter#conf tEnter configuration commands, one per line. End with CNTL/Z.Router(config)#hostname Router2/配置路由器FastEthernet接口IP地址Router2(config)#int f0/0Rou

17、ter2(config-if)#ip address 192.168.5.1 255.255.255.0Router2(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 up/配置路由器Serial口IP地址Router2(config-if)#int s0/0/0Router2(config-if)#ip add

18、ress 192.168.2.2 255.255.255.0Router2(config-if)#no shutdown%LINK-5-CHANGED: Interface Serial0/0/0, changed state to upRouter2(config-if)#%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to upend%SYS-5-CONFIG_I: Configured from console by console/配置动态路由Router(config)#route

19、ripRouter(config-router)#version 2Router(config-router)#network 192.168.2.0Router(config-router)#network 192.168.5.0/查看路由表Router#show ip routeCodes: 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 externa

20、l type 1, N2 - 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

21、setR 192.168.1.0/24 120/1 via 192.168.2.1, 00:00:18, Serial0/0/0C 192.168.2.0/24 is directly connected, Serial0/0/0R 192.168.3.0/24 120/2 via 192.168.2.1, 00:00:18, Serial0/0/0R 192.168.4.0/24 120/1 via 192.168.2.1, 00:00:18, Serial0/0/0C 192.168.5.0/24 is directly connected, FastEthernet0/0三、测试客户机pc1测试客户机pc4如下所示:测试成功实验心得:配置动态路由RIP主要要掌握RIP路由协议配置方法,理解动态路由原理 过程有有恒心和细心 把一些细节的地方认真做好 尽量不要出错 最后要通过PING命令 检测实验是否成功!

展开阅读全文
温馨提示:
1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
2: 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
3.本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 装配图网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
关于我们 - 网站声明 - 网站地图 - 资源地图 - 友情链接 - 网站客服 - 联系我们

copyright@ 2023-2025  zhuangpeitu.com 装配图网版权所有   联系电话:18123376007

备案号:ICP2024067431-1 川公网安备51140202000466号


本站为文档C2C交易模式,即用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。装配图网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知装配图网,我们立即给予删除!