请问下这个拓扑下做双点双向重分发为什么还会有R的路由?
本帖最后由 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 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 via 192.168.1.1, 00:00:44, FastEthernet0/1
O E2 192.168.4.0/24 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 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 via 192.168.2.1, 00:02:25, FastEthernet0/1
4.0.0.0/24 is subnetted, 1 subnets
R 4.4.4.0 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 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 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 via 192.168.1.2, 00:00:30, FastEthernet0/1
O E2 192.168.4.0/24 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 via 192.168.1.2, 00:00:30, FastEthernet0/1
R1#
本帖最后由 84983251 于 2013-12-15 19:30 编辑
原因很简单··因为你在R3上面将带R的4.4.4.4重分布了 OSPF。所以R2学习到的4.4.4.4 是OE2的。虽然你在R2上面 将RIP的路由重分布了进OSPF ,但是R2上面4.4.4.4的路由是带OE2的,也就是非R得路由。所以无法执行该路由的重分布,R3也就无法通过OSPF学习到4.4.4.4的路由。所以R3的4.4.4.4的路由依旧是带R的··· 要解决这个问题只需要R2的4.4.4.4的路由的管理距离比RIP大即。同时R3的4.4.4.4的路由管理距离也要比RIP大。防止次优路径 本帖最后由 Mr.黄瓜 于 2013-12-15 20:30 编辑
84983251 发表于 2013-12-15 19:28
原因很简单··因为你在R3上面将带R的4.4.4.4重分布了 OSPF。所以R2学习到的4.4.4.4 是OE2的。虽然你在R2上 ...
{:6_267:}谢谢,我看下
页:
[1]