码迷,mamicode.com
首页 > 其他好文 > 详细

52-高级路由:重分发特性:RIP、OSPF

时间:2018-07-07 17:35:30      阅读:159      评论:0      收藏:0      [点我收藏+]

标签:img   3.0   0.0.0.0   ast   ted   image   4.0   3.3   red   

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

三、命令部署:
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-高级路由:重分发特性:RIP、OSPF

标签:img   3.0   0.0.0.0   ast   ted   image   4.0   3.3   red   

原文地址:http://blog.51cto.com/13856092/2138343

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!