侧边栏壁纸
博主头像
落叶人生博主等级

走进秋风,寻找秋天的落叶

  • 累计撰写 130562 篇文章
  • 累计创建 28 个标签
  • 累计收到 9 条评论
标签搜索

目 录CONTENT

文章目录

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

2023-02-02 星期四 / 0 评论 / 0 点赞 / 51 阅读 / 4500 字

一、实验拓扑:二、实验要求:三、命令部署:1、R1(config)#ip route 4.4.4.0 255.255.255.0 s2/0R1(config)#ip route 0.0.0.0 0.0

.

一、实验拓扑:

二、实验要求:

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

.

广告 广告

评论区