试验四RIPv2的配置和路由汇总.doc

上传人:scccc 文档编号:12576521 上传时间:2021-12-04 格式:DOC 页数:7 大小:49.50KB
返回 下载 相关 举报
试验四RIPv2的配置和路由汇总.doc_第1页
第1页 / 共7页
试验四RIPv2的配置和路由汇总.doc_第2页
第2页 / 共7页
试验四RIPv2的配置和路由汇总.doc_第3页
第3页 / 共7页
试验四RIPv2的配置和路由汇总.doc_第4页
第4页 / 共7页
试验四RIPv2的配置和路由汇总.doc_第5页
第5页 / 共7页
点击查看更多>>
资源描述

《试验四RIPv2的配置和路由汇总.doc》由会员分享,可在线阅读,更多相关《试验四RIPv2的配置和路由汇总.doc(7页珍藏版)》请在三一文库上搜索。

1、软件 082 田勇 200800834228中原工学院 计算机学院第3页共5页192.1S8.1.1/24 F1/0Roster-PTouterl172. 16.1.2/24 F0/0172 16S 2.0/24172. 16.1.1/24 F1/0Router-PT RouterO配置RIFvZ坯由协叔的拓扑图172.16B 2.2/24 F0/0Router-PT Routers实验四:RIPv2的配置和路由汇总实验目的1、在路由器上启动RIPv2路由进程2、启动参与路由协议的接口,并通告网络3、auto summary 的开启和关闭4、使用ip default-network命令向网络中

2、注入一条默认路由5、查看和调试RIPv2路由协议相关信息实验要求本实验要达到如下要求:1、给出具体的实现步骤2、给出当RIPv2失效的情况下,浮动路由的配置情况3、在路由器D通过ip default-network命令,向网络中注入一条默认路由4、给出某个路由器上路由表的内容实验拓扑RauteVpTRouted172 163 £ 1/24 Fl/0IT2. 16. 1.0/24实验设备(环境、软件)1、 路由器4台2、交叉线4条实验设计到的基本概念和理论RIPv2的特性、管理距离、浮动静态路由实验过程和主要步骤步骤一:配置各路由器接口的IP配置路由器A的F1/0接口的IP:Route

3、r#c onfig tEn ter con figurati on comma nds, one per line. End with CNTL/Z.Router(co nfig)#i nt f1/0Router(co nfig-if)#ip address 172.16.1.1 255.255.255.0Router(config-if)#no shut配置路由器B的F0/0、F1/0接口的IP:Router#c onfig tEn ter con figurati on comma nds, one per line. End with CNTL/Z.Router(co nfig)#i n

4、t f0/0Router(co nfig-if)#ip address 172.16.1.2 255.255.255.0Router(config-if)#no shut%LINK-5-CHANGED: In terface FastEthernet0/0, cha nged state to upRouter(co nfig-if)# int f1/0Router(co nfig-if)#ip address 192.168.1.1 255.255.255.0Router(config-if)#no shut配置路由器C的F0/0、F1/0接口的IP:Router#c onfig tEn t

5、er con figurati on comma nds, one per line. End with CNTL/Z.Router(co nfig)#i nt f0/0Router(config-if)#ip address 192.168.1.2 255.255.255.0Router(config-if)#no shut%LINK-5-CHANGED: In terface FastEthernet0/0, cha nged state to upRouter(co nfig-if)# int f1/0Router(config-if)#ip address 172.168.2.1 25

6、5.255.255.0软件 082 田勇 200800834228Router(config-if)#no shut配置路由器D的F0/0接口的IP:Router#c onfig tEn ter con figurati on comma nds, one per line. End with CNTL/Z.Router(co nfig)#i nt f0/0Router(config-if)#ip address 172.16822 255.255.255.0Router(config-if)#no shut步骤二:配置RIPv2协议:给路由器A配置RIPv2协议路由:Router(co nf

7、ig)#route ripRouter(co nfig-router)#versio n 2Router(co nfig-router)# network 172.16.0.0给路由器B配置RIPv2协议路由:Router(co nfig)#route ripRouter(co nfig-router)#versio n 2Router(co nfig-router)# network 172.16.0.0Router(co nfig-router)# network 192.168.1.0给路由器C配置RIPv2协议路由:Router(co nfig)#route ripRouter(co

8、nfig-router)#versio n 2Router(co nfig-router)# network 192.168.1.0Router(co nfig-router)# network 172.168.0.0给路由器D配置RIPv2协议路由:Router(co nfig)#route ripRouter(co nfig-router)#versio n 2Router(co nfig-router)# network 172.168.0.0步骤三:给路由器D配置默认路由:Router#c onfig tEn ter con figurati on comma nds, one per

9、 line. End with CNTL/Z.Router(co nfig)#ip route 0.0.0.0 0.0.0.0 f0/0中原工学院 计算机学院第3页 共5页 步骤四:关闭自动路由汇总:Router(co nfig-router)# no auto-summaryRouter#show ip protocolsRout ing Protocol is "rip"Sending updates every 30 sec on ds, n ext due in 16 sec onds In valid after 180 sec on ds, hold dow n

10、 180, flushed after 240 Outgo ing update filter list for all in terfaces is not set Incoming update filter list for all in terfaces is not set Redistributi ng: ripDefault versi on con trol: send versi on 2, receive 2In terfaceSe ndRecv Triggered RIPKey-cha inFastEthernet0/022FastEthernet1/022Automat

11、ic n etwork summarizatio n is not in effectMaximum path: 4Rout ing for Networks:172.168.0.0192.168.1.0Passive In terface(s):Routi ng In formatio n Sources:GatewayDista neeLast Update192.168.1.112000:00:23Dista nee: (default is 120)步骤五:路由器C的路由表:Router#show ip routeCodes: C - conn ected, S - static, I

12、 - 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 external type 2 E1 - 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 in ter area中原工

13、学院 计算机学院第4页 共5页* - can didate default, U - per-user static route, o - ODR P - periodic dow nl oaded static routeGateway of last resort is not setR 172.16.0.0/16 120/1 via 192.168.1.1,00:00:01, FastEthernet0/0 172.168.0.0/24 is sub netted, 1 sub netsC172.168.2.0 is directly conn ected, FastEthernet1/

14、0C192.168.1.0/24 is directly conn ected, FastEthernet0/0步骤六:测试路由是否连通:Router#pi ng 172.168.2.2Type escape seque nee to abort.Se nding 5, 100-byte ICMP Echos to 172.168.2.2, timeout is 2 seco nds:!Success rate is 100 perce nt (5/5), ro un d-trip min/avg/max = 79/90/94 ms心得体会本节实验关键在于对RIPv2动态路由协议的理解,按照实验要求一步步来进行。通过 本次的实验,我对RIPv2协议中自动汇总以及手动汇总有了更深的认识, 对RIPv1和RIPv2 的区别也有了更进一步的了解。总的来说,本节实验相对较简单,我觉得难点在于对RIPv2原理的理解,熟悉关闭和打开路由自动汇总的命令,知道自动和手动路由汇总的区别。整个实验很顺利的做完了,我感到很愉快!中原工学院 计算机学院

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 社会民生


经营许可证编号:宁ICP备18001539号-1