博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
52-高级路由:重分发特性:RIP、OSPF
阅读量:6691 次
发布时间:2019-06-25

本文共 3768 字,大约阅读时间需要 12 分钟。

一、实验拓扑:

52-高级路由:重分发特性:RIP、OSPF
二、实验要求:

三、命令部署:

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

转载于:https://blog.51cto.com/13856092/2138343

你可能感兴趣的文章
JAVA面向对象编程深入理解图
查看>>
jsp与jsp之间传参数如何获取
查看>>
如何做好一名售前工程师 [理论]
查看>>
什么是语法糖?
查看>>
rabbitMQ的安装和创建用户
查看>>
Struts2笔记——第一个实例HelloWorld
查看>>
Maven安装
查看>>
2.1列表相关知识点
查看>>
OpenStack images
查看>>
xsigo systems
查看>>
ofbiz ins
查看>>
iOS动画实现改变frme和contenOffset
查看>>
DroidPilot使用第一步 - 安装
查看>>
vue-cli —— 项目打包及一些注意事项
查看>>
1.1 变量
查看>>
mfc 链接时错误 文件函数重复定义
查看>>
php
查看>>
Django 是如何实现用户登录和登出机制的(默认版本-数据库版本)
查看>>
【转】 wpf系列-入门
查看>>
exp6
查看>>