52-高级路由:重分发特性:RIPOSPF

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了52-高级路由:重分发特性:RIPOSPF相关的知识,希望对你有一定的参考价值。

一、实验拓扑:
技术分享图片
二、实验要求:

三、命令部署:
1、
R1(config)#ip route 4.4.4.0 255.255.255.0 s2/0
R1(config)#ip route 0.0.0.0 0.0.0.0 s2/0

R1(config)#router rip
R1(config-router)#redistribute ospf 110 metric 10

R1(config)#router rip
R1(config-router)#redistribute static
R1(config-router)#redistribute connected
R1(config-router)#default-metric 11

2、
R1(config)#router ospf 110
R1(config-router)#redistribute rip subnets
R1(config-router)#redistribute static subnets
R1(config-router)#default-metric 21

四、验证:
1、
R2#show ip route
2.0.0.0/24 is subnetted, 1 subnets
C 2.2.2.0 is directly connected, Loopback0
12.0.0.0/24 is subnetted, 1 subnets
C 12.1.1.0 is directly connected, FastEthernet0/0

R2#show ip route
2.0.0.0/24 is subnetted, 1 subnets
C 2.2.2.0 is directly connected, Loopback0
R 3.0.0.0/8 [120/10] via 12.1.1.1, 00:00:28, FastEthernet0/0
12.0.0.0/24 is subnetted, 1 subnets
C 12.1.1.0 is directly connected, FastEthernet0/0
R 13.0.0.0/8 [120/10] via 12.1.1.1, 00:00:28, FastEthernet0/0

R2#show ip route
2.0.0.0/24 is subnetted, 1 subnets
C 2.2.2.0 is directly connected, Loopback0
R 3.0.0.0/8 [120/10] via 12.1.1.1, 00:00:23, FastEthernet0/0
R 4.0.0.0/8 [120/1] via 12.1.1.1, 00:00:19, FastEthernet0/0
12.0.0.0/24 is subnetted, 1 subnets
C 12.1.1.0 is directly connected, FastEthernet0/0
R 13.0.0.0/8 [120/10] via 12.1.1.1, 00:00:23, FastEthernet0/0
R* 0.0.0.0/0 [120/1] via 12.1.1.1, 00:00:20, FastEthernet0/0

R2#show ip route
2.0.0.0/24 is subnetted, 1 subnets
C 2.2.2.0 is directly connected, Loopback0
R 3.0.0.0/8 [120/10] via 12.1.1.1, 00:00:08, FastEthernet0/0
R 4.0.0.0/8 [120/1] via 12.1.1.1, 00:00:08, FastEthernet0/0
R 200.1.1.0/24 [120/1] via 12.1.1.1, 00:00:08, FastEthernet0/0
12.0.0.0/24 is subnetted, 1 subnets
C 12.1.1.0 is directly connected, FastEthernet0/0
R 13.0.0.0/8 [120/1] via 12.1.1.1, 00:00:08, FastEthernet0/0
R 14.0.0.0/8 [120/1] via 12.1.1.1, 00:00:10, FastEthernet0/0
R* 0.0.0.0/0 [120/1] via 12.1.1.1, 00:00:10, FastEthernet0/0

R2#show ip route
2.0.0.0/24 is subnetted, 1 subnets
C 2.2.2.0 is directly connected, Loopback0
R 3.0.0.0/8 [120/10] via 12.1.1.1, 00:00:16, FastEthernet0/0
R 4.0.0.0/8 [120/11] via 12.1.1.1, 00:00:16, FastEthernet0/0
R 200.1.1.0/24 [120/1] via 12.1.1.1, 00:00:16, FastEthernet0/0
12.0.0.0/24 is subnetted, 1 subnets
C 12.1.1.0 is directly connected, FastEthernet0/0
R 13.0.0.0/8 [120/1] via 12.1.1.1, 00:00:16, FastEthernet0/0
R 14.0.0.0/8 [120/1] via 12.1.1.1, 00:00:18, FastEthernet0/0
R* 0.0.0.0/0 [120/11] via 12.1.1.1, 00:00:18, FastEthernet0/0
2、
R3#show ip route
O E2 2.0.0.0/8 [110/20] via 13.1.1.1, 00:00:59, FastEthernet0/0
3.0.0.0/24 is subnetted, 1 subnets
C 3.3.3.0 is directly connected, Loopback0
12.0.0.0/24 is subnetted, 1 subnets
O E2 12.1.1.0 [110/20] via 13.1.1.1, 00:00:35, FastEthernet0/0
13.0.0.0/24 is subnetted, 1 subnets
C 13.1.1.0 is directly connected, FastEthernet0/0

R3#show ip route
O E2 2.0.0.0/8 [110/20] via 13.1.1.1, 00:02:23, FastEthernet0/0
3.0.0.0/24 is subnetted, 1 subnets
C 3.3.3.0 is directly connected, Loopback0
4.0.0.0/24 is subnetted, 1 subnets
O E2 4.4.4.0 [110/20] via 13.1.1.1, 00:00:08, FastEthernet0/0
12.0.0.0/24 is subnetted, 1 subnets
O E2 12.1.1.0 [110/20] via 13.1.1.1, 00:01:59, FastEthernet0/0
13.0.0.0/24 is subnetted, 1 subnets
C 13.1.1.0 is directly connected, FastEthernet0/0

R3#show ip route
O E2 2.0.0.0/8 [110/21] via 13.1.1.1, 00:00:16, FastEthernet0/0
3.0.0.0/24 is subnetted, 1 subnets
C 3.3.3.0 is directly connected, Loopback0
4.0.0.0/24 is subnetted, 1 subnets
O E2 4.4.4.0 [110/21] via 13.1.1.1, 00:00:16, FastEthernet0/0
12.0.0.0/24 is subnetted, 1 subnets
O E2 12.1.1.0 [110/21] via 13.1.1.1, 00:00:16, FastEthernet0/0
13.0.0.0/24 is subnetted, 1 subnets
C 13.1.1.0 is directly connected, FastEthernet0/0

技术分享图片

以上是关于52-高级路由:重分发特性:RIPOSPF的主要内容,如果未能解决你的问题,请参考以下文章

54-高级路由:重分发特性:单点重分发路由反馈

53-高级路由:重分发特性:EIGRPOSPF

大型公司网络之——OSPF高级配置(实验)

OSPF高级配置实操——大型公司环境部署

58-高级路由:双点双向重分发

动态路由协议OSPF高级配置