文档详情

实验二十二RIP动态路由重分布静态路由配置(学生用).doc

发布:2023-10-13约1.76千字共5页下载文档
文本预览下载声明
实验二十二? RIP动态路由重分布静态路由配置 【实验目的】 1、 学习RIP路由协议在交换机与路由器设备上的基本配置。 2、 学习在RIP路由中重分布静态路由。 【实验过程】 1.1 实验设备 1、cisco 2621XM路由器 5台 2、cisco 3950交换机 1台。 1.2 组网图 1.3 实验设备IP地址及要求 在实验二十一的基础上,增加RT5与PC5两个设备。 IP地址如图所标注,SW1上VLAN及端口划分如表所示 SW1的VALN表: 设备名 Vlan 编号 所含端口编号 SW1 Vlan1 F0/3-24 ? Vlan 10 F0/1 ? Vlan 20 F0/2 ? ? ? 根据所给IP地址表,完成各个设备接口的IP设置,通过使用动态RIP路由的方式,使测试PC与任意PC之间能PING通。 1.4配置过程 直接在实验二十一上进行添加。 第一步:配置路由器RT5的接口地址 第二步:在RT5上配置默认路由 第三步:在RT2上配置到达C学校的静态路由 第四步:用测试PC机PING新添加的PC5,可以看到如下显示 PCping 202.202.202.2 Pinging 202.202.202.2 with 32 bytes of data: Request timed out. Request timed out. Request timed out. Request timed out. 第五步:查看RT4上的路由表 Router#sh ip ro Gateway of last resort is not set 172.16.0.0/24 is subnetted, 2 subnets R? ? ? 172.16.1.0 [120/2] via 200.200.200.1, 00:00:01, FastEthernet0/0 R? ? ? 172.16.2.0 [120/2] via 200.200.200.1, 00:00:01, FastEthernet0/0 R? ? 192.168.1.0/24 [120/1] via 200.200.200.1, 00:00:01, FastEthernet0/0 R? ? 192.168.2.0/24 [120/1] via 200.200.200.1, 00:00:01, FastEthernet0/0 C? ? 200.200.200.0/24 is directly connected, FastEthernet0/0 C? ? 202.202.202.0/24 is directly connected, FastEthernet0/1 没有一条到达C学校的路由信息。由于静态路由和RIP动态路由是两种不同的路由协议,采用的算法不相同,不能直接识别,必须在运行两种不同路由协议的设备上的动态路由中引入静态路由(也叫路由重分布) 第六步:在运行两种不同路由协议的RT2的RIP路由进程中重分布静态路由 命令:redistribute static 使用模式:RIP路由进程中输入 第七步:再次查看RT4上路由信息表,可以看到正确地路由信息 Router#sh ip ro Gateway of last resort is not set 172.16.0.0/24 is subnetted, 2 subnets R? ? ? 172.16.1.0 [120/2] via 200.200.200.1, 00:00:01, FastEthernet0/0 R? ? ? 172.16.2.0 [120/2] via 200.200.200.1, 00:00:01, FastEthernet0/0 R? ? 192.168.1.0/24 [120/1] via 200.200.200.1, 00:00:01, FastEthernet0/0 R? ? 192.168.2.0/24 [120/1] via 200.200.200.1, 00:00:01, FastEthernet0/0 C? ? 200.200.200.0/24 is directly connected, FastEthernet0/0 C? ? 202.202.202.0/24 is directly connected, FastEthernet0/1 R? ? 204.204.204.0/24 [120/1] via 200.200.200.1, 00:00:01, FastEthernet0/0 1.5 实验验证与结论 1、路由器RT1的路由信息表截图保存在PKT文件中。 2、路由器RT2的路由信息表截图保存在PKT文件中。 3、交换机SW1的路由信息表截图保存在PKT文件中。 4、路由器RT
显示全部
相似文档