设为首页收藏本站language 语言切换
查看: 2883|回复: 2
收起左侧

[已解决] 请问下这个拓扑下做双点双向重分发为什么还会有R的路由?

[复制链接]
发表于 2013-12-15 16:49:45 | 显示全部楼层 |阅读模式
本帖最后由 Mr.黄瓜 于 2013-12-15 19:12 编辑


我在R2,R3上做rip和ospf的双向重分发,但是为什么R3上看到去往4.4.4.4的却是rip学到的呢?不是应该ospf的优先于rip的吗??

还个问题就是如何实验双点双向重分发引起的环路问题?

R2#show ip route
Codes: C - connected, S - static, 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
       i - IS-IS, su - IS-IS summary, 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 route

Gateway of last resort is not set

     1.0.0.0/32 is subnetted, 1 subnets
O       1.1.1.1 [110/11] via 192.168.1.1, 00:02:20, FastEthernet0/1
     4.0.0.0/24 is subnetted, 1 subnets
O E2    4.4.4.0 [110/20] via 192.168.1.1, 00:00:44, FastEthernet0/1
O E2 192.168.4.0/24 [110/20] via 192.168.1.1, 00:01:57, FastEthernet0/1
C    192.168.1.0/24 is directly connected, FastEthernet0/1
O    192.168.2.0/24 [110/20] via 192.168.1.1, 00:02:20, FastEthernet0/1
C    192.168.3.0/24 is directly connected, FastEthernet0/0
R2#






R3#show ip route
Codes: C - connected, S - static, 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
       i - IS-IS, su - IS-IS summary, 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 route

Gateway of last resort is not set

     1.0.0.0/32 is subnetted, 1 subnets
O       1.1.1.1 [110/11] via 192.168.2.1, 00:02:25, FastEthernet0/1
     4.0.0.0/24 is subnetted, 1 subnets
R       4.4.4.0 [120/1] via 192.168.4.1, 00:00:16, FastEthernet0/0
C    192.168.4.0/24 is directly connected, FastEthernet0/0
O    192.168.1.0/24 [110/20] via 192.168.2.1, 00:02:25, FastEthernet0/1
C    192.168.2.0/24 is directly connected, FastEthernet0/1
O E2 192.168.3.0/24 [110/20] via 192.168.2.1, 00:01:40, FastEthernet0/1
R3#

R1#show ip route
Codes: C - connected, S - static, 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
       i - IS-IS, su - IS-IS summary, 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 route

Gateway of last resort is not set

     1.0.0.0/24 is subnetted, 1 subnets
C       1.1.1.0 is directly connected, Loopback0
     4.0.0.0/24 is subnetted, 1 subnets
O E2    4.4.4.0 [110/20] via 192.168.1.2, 00:00:30, FastEthernet0/1
O E2 192.168.4.0/24 [110/20] via 192.168.2.2, 00:00:20, FastEthernet0/0
C    192.168.1.0/24 is directly connected, FastEthernet0/1
C    192.168.2.0/24 is directly connected, FastEthernet0/0
O E2 192.168.3.0/24 [110/20] via 192.168.1.2, 00:00:30, FastEthernet0/1
R1#




本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?论坛注册

x
发表于 2013-12-15 19:28:05 | 显示全部楼层
游客,如果您要查看本帖隐藏内容请登录
回复 支持 反对

使用道具 举报

 楼主| 发表于 2013-12-15 20:08:33 | 显示全部楼层
游客,如果您要查看本帖隐藏内容请登录
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 论坛注册

本版积分规则

QQ|Archiver|手机版|小黑屋|sitemap|鸿鹄论坛 ( 京ICP备14027439号 )  

GMT+8, 2026-6-26 03:32 , Processed in 0.064846 second(s), 12 queries , Redis On.  

  Powered by Discuz!

  © 2001-2025 HH010.COM

快速回复 返回顶部 返回列表