一、实验拓扑:
52-高级路由:重分发特性:RIP、OSPF_第1张图片
二、实验要求:

三、命令部署:
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