11月28日作业RIP 路由协议的配置

上传人:20****03 文档编号:172014765 上传时间:2021-03-07 格式:DOC 页数:8 大小:89KB
返回 下载 相关 举报
11月28日作业RIP 路由协议的配置_第1页
第1页 / 共8页
11月28日作业RIP 路由协议的配置_第2页
第2页 / 共8页
11月28日作业RIP 路由协议的配置_第3页
第3页 / 共8页
11月28日作业RIP 路由协议的配置_第4页
第4页 / 共8页
11月28日作业RIP 路由协议的配置_第5页
第5页 / 共8页
点击查看更多>>
资源描述

《11月28日作业RIP 路由协议的配置》由会员分享,可在线阅读,更多相关《11月28日作业RIP 路由协议的配置(8页珍藏版)》请在金锄头文库上搜索。

1、 实验1:RIP 路由协议的配置一、实验目的1、练习RIP 动态路由协议的基本配置;2、掌握了解RIP 路由协议原理二、实验环境:Packet tracer 5.0三、关于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:Routerenable /进入特权模式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 /发布直连网络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 %LINK-5-CHANGED: Interface Serial0/0/1, changed state to upRouter(con

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 办公文档 > 事务文书

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号