52-高级路由:重分发特性:RIP、OSPF(路由重分发配置)

网友投稿 239 2022-09-27


52-高级路由:重分发特性:RIP、OSPF(路由重分发配置)

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

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

R1(config)#router ripR1(config-router)#redistribute staticR1(config-router)#redistribute connectedR1(config-router)#default-metric 11

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

四、验证:1、R2#show ip route 2.0.0.0/24 is subnetted, 1 subnetsC 2.2.2.0 is directly connected, Loopback012.0.0.0/24 is subnetted, 1 subnetsC 12.1.1.0 is directly connected, FastEthernet0/0

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

R2#show ip route2.0.0.0/24 is subnetted, 1 subnetsC 2.2.2.0 is directly connected, Loopback0R 3.0.0.0/8 [120/10] via 12.1.1.1, 00:00:23, FastEthernet0/0R 4.0.0.0/8 [120/1] via 12.1.1.1, 00:00:19, FastEthernet0/012.0.0.0/24 is subnetted, 1 subnetsC 12.1.1.0 is directly connected, FastEthernet0/0R 13.0.0.0/8 [120/10] via 12.1.1.1, 00:00:23, FastEthernet0/0R* 0.0.0.0/0 [120/1] via 12.1.1.1, 00:00:20, FastEthernet0/0

R2#show ip route2.0.0.0/24 is subnetted, 1 subnetsC 2.2.2.0 is directly connected, Loopback0R 3.0.0.0/8 [120/10] via 12.1.1.1, 00:00:08, FastEthernet0/0R 4.0.0.0/8 [120/1] via 12.1.1.1, 00:00:08, FastEthernet0/0R 200.1.1.0/24 [120/1] via 12.1.1.1, 00:00:08, FastEthernet0/012.0.0.0/24 is subnetted, 1 subnetsC 12.1.1.0 is directly connected, FastEthernet0/0R 13.0.0.0/8 [120/1] via 12.1.1.1, 00:00:08, FastEthernet0/0R 14.0.0.0/8 [120/1] via 12.1.1.1, 00:00:10, FastEthernet0/0R* 0.0.0.0/0 [120/1] via 12.1.1.1, 00:00:10, FastEthernet0/0

R2#show ip route2.0.0.0/24 is subnetted, 1 subnetsC 2.2.2.0 is directly connected, Loopback0R 3.0.0.0/8 [120/10] via 12.1.1.1, 00:00:16, FastEthernet0/0R 4.0.0.0/8 [120/11] via 12.1.1.1, 00:00:16, FastEthernet0/0R 200.1.1.0/24 [120/1] via 12.1.1.1, 00:00:16, FastEthernet0/012.0.0.0/24 is subnetted, 1 subnetsC 12.1.1.0 is directly connected, FastEthernet0/0R 13.0.0.0/8 [120/1] via 12.1.1.1, 00:00:16, FastEthernet0/0R 14.0.0.0/8 [120/1] via 12.1.1.1, 00:00:18, FastEthernet0/0R* 0.0.0.0/0 [120/11] via 12.1.1.1, 00:00:18, FastEthernet0/02、R3#show ip routeO E2 2.0.0.0/8 [110/20] via 13.1.1.1, 00:00:59, FastEthernet0/03.0.0.0/24 is subnetted, 1 subnetsC 3.3.3.0 is directly connected, Loopback012.0.0.0/24 is subnetted, 1 subnetsO E2 12.1.1.0 [110/20] via 13.1.1.1, 00:00:35, FastEthernet0/013.0.0.0/24 is subnetted, 1 subnetsC 13.1.1.0 is directly connected, FastEthernet0/0

R3#show ip routeO E2 2.0.0.0/8 [110/20] via 13.1.1.1, 00:02:23, FastEthernet0/03.0.0.0/24 is subnetted, 1 subnetsC 3.3.3.0 is directly connected, Loopback04.0.0.0/24 is subnetted, 1 subnetsO E2 4.4.4.0 [110/20] via 13.1.1.1, 00:00:08, FastEthernet0/012.0.0.0/24 is subnetted, 1 subnetsO E2 12.1.1.0 [110/20] via 13.1.1.1, 00:01:59, FastEthernet0/013.0.0.0/24 is subnetted, 1 subnetsC 13.1.1.0 is directly connected, FastEthernet0/0

R3#show ip routeO E2 2.0.0.0/8 [110/21] via 13.1.1.1, 00:00:16, FastEthernet0/03.0.0.0/24 is subnetted, 1 subnetsC 3.3.3.0 is directly connected, Loopback04.0.0.0/24 is subnetted, 1 subnetsO E2 4.4.4.0 [110/21] via 13.1.1.1, 00:00:16, FastEthernet0/012.0.0.0/24 is subnetted, 1 subnetsO E2 12.1.1.0 [110/21] via 13.1.1.1, 00:00:16, FastEthernet0/013.0.0.0/24 is subnetted, 1 subnetsC 13.1.1.0 is directly connected, FastEthernet0/0


版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:Java中的ArrayList容量及扩容方式
下一篇:OSPF的各类LSA和特殊区域(ospf定义了哪几种特殊区域)
相关文章

 发表评论

暂时没有评论,来抢沙发吧~