实验15 配置RIP 与OSPF 路由重发布 【实验名称】 配置RIP 与OSPF 路由重发布
【实验目的】 通过路由重发实验,实现在不同路由协议之间发布路由的要点
【背景描述】 某IT 企业拥有4 台路由器,企业网内部采用了两个路由协议:OSPF 和RIP,在网络中有去往200
0/24 网段的静态路由、去住 ISP 的默认路由
【需求分析】 使用路由重发布,使内部网络的每台设备都通信
【实验拓扑】 实验的拓扑图,如图 15-1 所示
图 15-1 【实验设备】 路由器 4 台 【预备知识】 路由器基本配置知识、IP 路由知识、RIP 路由协议、OSPF 路由协议
【实验原理】 使用重分发命令来配置路由器,使其每台设备都通信
【实验步骤】 步骤1 在路由器上配置IP 路由选择和IP 地址
RA#config t RA(config)# interface FastEthernet 0/0 RA(config-if)#ip address 172
252 RA(config)# interface Loopback 0 RA(config-if)#ip address 192
252 RA(config)#interface Loopback 1 RA(config-if)#ip address 192
0 RB(config)#interface FastEthernet 0/0 RB(config-if)#ip address 172
252 RB(config)#interface FastEthernet 0/1 RB(config-if)#ip address 172