实验四:RIPv2的配置和路由汇总.doc_第1页
实验四:RIPv2的配置和路由汇总.doc_第2页
实验四:RIPv2的配置和路由汇总.doc_第3页
实验四:RIPv2的配置和路由汇总.doc_第4页
实验四:RIPv2的配置和路由汇总.doc_第5页
全文预览已结束

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

实验四:RIPv2的配置和路由汇总n 实验目的1、 在路由器上启动RIPv2路由进程2、 启动参与路由协议的接口,并通告网络3、 autosummary的开启和关闭4、 使用ip default-network命令 向网络中注入一条默认路由5、 查看和调试RIPv2路由协议相关信息n 实验要求本实验要达到如下要求:1、 给出具体的实现步骤2、 给出当RIPv2失效的情况下,浮动路由的配置情况3、 在路由器D通过ip default-network命令,向网络中注入一条默认路由4、 给出某个路由器上路由表的内容n 实验拓扑n 实验设备(环境、软件)1、 路由器4台2、 交叉线4条n 实验设计到的基本概念和理论RIPv2的特性、管理距离、浮动静态路由n 实验过程和主要步骤步骤一:配置各路由器接口的IP配置路由器A的F1/0接口的IP:Router#config tEnter configuration commands, one per line. End with CNTL/Z.Router(config)#int f1/0Router(config-if)#ip address 172.16.1.1 255.255.255.0Router(config-if)#no shut配置路由器B的F0/0、F1/0接口的IP:Router#config tEnter configuration commands, one per line. End with CNTL/Z.Router(config)#int f0/0Router(config-if)#ip address 172.16.1.2 255.255.255.0Router(config-if)#no shut%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to upRouter(config-if)#int f1/0Router(config-if)#ip address 192.168.1.1 255.255.255.0Router(config-if)#no shut配置路由器C的F0/0、F1/0接口的IP:Router#config tEnter configuration commands, one per line. End with CNTL/Z.Router(config)#int f0/0Router(config-if)#ip address 192.168.1.2 255.255.255.0Router(config-if)#no shut%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to upRouter(config-if)#int f1/0Router(config-if)#ip address 172.168.2.1 255.255.255.0Router(config-if)#no shut配置路由器D的F0/0接口的IP:Router#config tEnter configuration commands, one per line. End with CNTL/Z.Router(config)#int f0/0Router(config-if)#ip address 172.168.2.2 255.255.255.0Router(config-if)#no shut步骤二:配置RIPv2协议:给路由器A配置RIPv2协议路由:Router(config)#route ripRouter(config-router)#version 2Router(config-router)#network 172.16.0.0 给路由器B配置RIPv2协议路由:Router(config)#route ripRouter(config-router)#version 2Router(config-router)#network 172.16.0.0Router(config-router)#network 192.168.1.0给路由器C配置RIPv2协议路由:Router(config)#route ripRouter(config-router)#version 2Router(config-router)#network 192.168.1.0Router(config-router)#network 172.168.0.0给路由器D配置RIPv2协议路由:Router(config)#route ripRouter(config-router)#version 2Router(config-router)#network 172.168.0.0步骤三:给路由器D配置默认路由:Router#config tEnter configuration commands, one per line. End with CNTL/Z.Router(config)#ip route 0.0.0.0 0.0.0.0 f0/0步骤四:关闭自动路由汇总: Router(config-router)#no auto-summaryRouter#show ip protocolsRouting Protocol is ripSending updates every 30 seconds, next due in 16 secondsInvalid after 180 seconds, hold down 180, flushed after 240Outgoing update filter list for all interfaces is not setIncoming update filter list for all interfaces is not setRedistributing: ripDefault version control: send version 2, receive 2 Interface Send Recv Triggered RIP Key-chain FastEthernet0/0 2 2 FastEthernet1/0 2 2 Automatic network summarization is not in effectMaximum path: 4Routing for Networks:172.168.0.0192.168.1.0Passive Interface(s):Routing Information Sources:Gateway Distance Last Update192.168.1.1 120 00:00:23Distance: (default is 120)步骤五:路由器C的路由表: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 - 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 setR 172.16.0.0/16 120/1 via 192.168.1.1, 00:00:01, FastEthernet0/0 172.168.0.0/24 is subnetted, 1 subnetsC 172.168.2.0 is directly connected, FastEthernet1/0C 192.168.1.0/24 is directly connected, FastEthernet0/0步骤六:测试路由是否连通: Router#ping 172.168.2.2Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 172.168.2.2, timeout is 2 seconds:!Success rate is 100 percent (5/5), round-trip min/avg/max = 79/

温馨提示

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

评论

0/150

提交评论