思科Sisco GNS3配置RIP与OSPF路由重发布
路由重分发是在大型的企业中,可能在同一网内使用到多种路由协议,为了实现多种路由协议的协同工作,路由器可以使用路由重分发(route redistribution)将其学习到的一种路由协议的路由通过另一种路由协议广播出去,这样网络的所有部分都可以连通了。 为了实现重分发,路由器必须同时运行多种路由协议,这样,每种路由协议才可以取路由表中的所有或部分其他协议的路由来进行广播。那么思科Sisco路由器如何配置RIP与OSPF路由重发布?下面是具体步骤。
配置RIP与OSPF路由重发布的步骤:
1::给R1 0/1 R2 0/1 0/0 look 0 R3 0/0 配置OSPF 放入aren1
2:给R3 0/0 look 0 R4 0/1 配置OSPF 放入aren0
3: 给R4 0/0 look 0 R5 0/0 look 0 放入 aren 2
4:给R1 0/0 look 0 R6 0/0 look 0 放入version 3
5:给R6 R1 配rip
6:给R1 R2 R3 R4 R5 配OSPF
7:实现互通
conf t
int f0/1
ip add 11.0.0.1 255.255.255.0
no sh
int f0/0
ip add 16.0.0.1 255.255.255.0
no sh
exit
int l0
ip add 1.1.1.1 255.255.255.255
no sh
exit
router ospf 1
router-id 1.1.1.1
network 11.0.0.0 0.0.0.255 area 1 放入area1network 1.1.1.0 0.0.0.0 area 1end
write
R2
conf t
int f0/1
ip add 11.0.0.2 255.255.255.0
no sh
int f0/0
ip add 12.0.0.1 255.255.255.0
no sh
exit
int l0
ip add 2.2.2.2 255.255.255.255
no sh
exit
router ospf 1
router-id 2.2.2.2
network 0.0.0.0 255.255.255.255 area 1
end
write
R3
conf t
int f0/0
ip add 12.0.0.2 255.255.255.0
no sh
int f0/1
ip add 13.0.0.1 255.255.255.0
no sh
exit
int L0
ip add 3.3.3.3 255.255.255.255
no sh
exit
router ospf 1
router-id 3.3.3.3
network 12.0.0.0 0.0.0.255 area 1
network 13.0.0.0 0.0.0.255 area 0
network 3.3.3.3 0.0.0.0 area 0
end
write
R4
conf t
int f0/1
ip add 13.0.0.2 255.255.255.0
no sh
int f0/0
ip add 14.0.0.1 255.255.255.0
no sh
exit
int l0
ip add 4.4.4.4 255.255.255.255
no sh
exit
router ospf 1
router-id 4.4.4.4
network 13.0.0.0 0.0.0.255 area 0
network 14.0.0.0 0.0.0.255 area 2
network 4.4.4.4 0.0.0.0 area 2
end
write
R5
conf t
int f0/0
ip add 14.0.0.2 255.255.255.0
no sh
exit
int l0
ip add 5.5.5.5 255.255.255.255
no sh
exit
router ospf 1
router-id 5.5.5.5
network 0.0.0.0 255.255.255.255 area 2
end
write
R1
conf t
int f0/0
ip add 16.0.0.1 255.255.255.0
no sh
exit
router rip
version 2 进V2版本
no auto-summary
network 1.1.1.0
network 16.0.0.0
end
write
R6
conf t
int f0/0
ip add 16.0.0.2 255.255.255.0
no sh
int l0
ip add 6.6.6.6 255.255.255.255
no sh
exit
router rip
version 2
no auto-summary
network 6.6.6.0
network 16.0.0.0
end
write
show ip ospf database router
R1
router ospf 1
redistribute rip subnets metric 25 metric-type 1exitrouter ripredistribute ospf 1 metric 2
做优化
R5(config)#router ospf 1
R5(config-router)#area 2 stub no-summary
把3类 4类 5类 都去了以上就是思科 GNS3 配置 rip OSPF 路由重发布,在此感谢本文的原创分享“网络技术” 博客,请务必保留此出处http://funinghua.blog.51cto.com/9125449/1548456,谢谢阅读,希望能帮到大家,请继续关注脚本之家,我们会努力分享更多优秀的文章。
相关文章

售价599元起! 华为路由器X1/Pro发布 配置与区别一览
华为路由器X1/Pro发布,有朋友留言问华为路由X1和X1 Pro怎么选择,关于这个问题,本期图文将对这二款路由器做了期参数对比,大家看看哪款才是你的理想选择2025-04-17
路由器安装以后发现不能上网,这可能是由于路由器未拨号、MAC地址绑定等原因所致,下面我们就来看看详细解决办法2025-04-09
在现代生活中,路由器已成为我们工作和生活的必需品,然而,当路由器出现问题时,我们往往束手无策,本文将为您提供一套实用的路由器故障排除指南,助您轻松应对各种常见问2025-04-09
支持触屏的软路由? GL.iNe BE3600路由器拆机评测
GL.iNet广联智通推出的Wi-Fi 7便携式无线路由器Slate 7横空出世,网速直接起飞!这速度,快到你怀疑人生!但问题来了,这玩意儿真有那么神?详细请看下文测评2025-03-31
TPLINK TL7DR7260 v2.0和v1.0有什么区别? 两款路由器拆机测评
TL-7DR7260易展版有两个版本,分别是v2.0和v1.0,这两个版本有什么区别?下面我们就来看看详细的拆机对比2025-03-31
CPU决定了不能给你10G口! TP-LINK TL-7DR7280路由器拆机测评
实力与颜值并存的TP-Link TL-7DR7280易展Turbo版以够用问准则,是目前市面上好评非常多、用户群体非常广的一款无线路由器,性能稳定,功能强悍,给你最可靠的网络2025-03-31
高性价比WiFi6路由+全屋覆盖穿墙王! 网件RAX50路由器全面测评
网件RAX50路由器表现如何?确实,它以稳定高速的传输能力,让无线连接体验变得轻松愉快,详细测评数据如下图文所述2025-03-15
WiFi6时代来临! 华三H3C NX54路由器还值得购买吗?
WiFi6时代已经来临,众多路由器厂商也纷纷推出了兼容WiFi6协议的路由器,今天我们将深入体验H3C NX54路由器,这款由知名企业H3C新华三集团推出的家用路由器2025-03-14
玩游戏最怕什么?当然是卡顿!延迟!关键时刻掉线简直心态爆炸,该怎么选电竞路由器呢?路由器这玩意儿,可不是越贵越好,适合自己的才是王道,下面我们推荐八款适合玩游戏2025-03-14
FiberHome 5G CPE移动路由器值得入手吗? 烽火5g路由器性能测评
FiberHome烽火 5G CPE移动路由器支持双模4G/5G全网通,支持WiFi 6双频,配备双千兆网口,无线速率高达1800Mbps,这款路由器性能如何?值得购买吗?详细如下2025-03-14












最新评论