(实验)-多点双向重分布

  • 格式:doc
  • 大小:87.00 KB
  • 文档页数:7

下载文档原格式

  / 7
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

实验配置:

实验拓扑如上图, 两个路由选择域, 在R2, R3上做路由的双向重分布, 使每个区域的路由器都可以达到共识.

实验目的:

解决在多点重分布时出现路径的不优问题.

R2配置:

!

router ospf 1

router-id 2.2.2.2

log-adjacency-changes

redistribute rip metric 10000 metric-type 1 subnets

network 192.1.12.0 0.0.0.255 area 0

!

router rip

version 2

redistribute ospf 1 metric 5

network 2.0.0.0

network 192.2.24.0

no auto-summary

!

ip classless

no ip http server

!

!

R3配置:

!

router ospf 1

router-id 3.3.3.3

log-adjacency-changes

redistribute rip metric 10000 metric-type 1 subnets

network 192.1.13.0 0.0.0.255 area 0

!

router rip

version 2

redistribute ospf 1 metric 5

network 3.0.0.0

network 192.2.35.0

no auto-summary

!

ip classless

no ip http server

!

!

R2 先双向重分布, 然后R3再双向重分布.

R3路由表:

O 192.1.12.0/24 [110/128] via 192.1.13.1, 00:03:19, Serial1

1.0.0.0/24 is subnetted, 1 subnets

O 1.1.1.0 [110/65] via 192.1.13.1, 00:03:19, Serial1

C 192.1.13.0/24 is directly connected, Serial1

2.0.0.0/24 is subnetted, 1 subnets

O E1 2.2.2.0 [110/10128] via 192.1.13.1, 00:03:19, Serial1

3.0.0.0/24 is subnetted, 1 subnets

C 3.3.3.0 is directly connected, Loopback0

O E1 192.2.45.0/24 [110/10128] via 192.1.13.1, 00:03:19, Serial1

4.0.0.0/24 is subnetted, 1 subnets

O E1 4.4.4.0 [110/10128] via 192.1.13.1, 00:03:20, Serial1

5.0.0.0/24 is subnetted, 1 subnets

O E1 5.5.5.0 [110/10128] via 192.1.13.1, 00:03:20, Serial1

O E1 192.2.24.0/24 [110/10128] via 192.1.13.1, 00:03:22, Serial1

C 192.2.35.0/24 is directly connected, Serial0

*红色路由不优, 红色条目为以下RIPv2的路由, 直接通过RIP就可以到达, 现在反而通过OSPF学到从RIP重分布进来的这些条目.

R2路由表:

C 192.1.12.0/24 is directly connected, Serial0

1.0.0.0/24 is subnetted, 1 subnets

O 1.1.1.0 [110/65] via 192.1.12.1, 00:00:04, Serial0

O 192.1.13.0/24 [110/128] via 192.1.12.1, 00:00:04, Serial0

2.0.0.0/24 is subnetted, 1 subnets

C 2.2.2.0 is directly connected, Loopback0

3.0.0.0/24 is subnetted, 1 subnets

O E1 3.3.3.0 [110/10128] via 192.1.12.1, 00:00:04, Serial0

R 192.2.45.0/24 [120/1] via 192.2.24.4, 00:00:04, Serial1

4.0.0.0/24 is subnetted, 1 subnets

R 4.4.4.0 [120/1] via 192.2.24.4, 00:00:05, Serial1

5.0.0.0/24 is subnetted, 1 subnets

R 5.5.5.0 [120/2] via 192.2.24.4, 00:00:05, Serial1

C 192.2.24.0/24 is directly connected, Serial1

O E1 192.2.35.0/24 [110/10128] via 192.1.12.1, 00:00:06, Serial0

*不优条目

R1路由表:

C 192.1.12.0/24 is directly connected, Serial0

1.0.0.0/24 is subnetted, 1 subnets

C 1.1.1.0 is directly connected, Loopback0

C 192.1.13.0/24 is directly connected, Serial1

2.0.0.0/24 is subnetted, 1 subnets

O E1 2.2.2.0 [110/10064] via 192.1.12.2, 00:00:03, Serial0

3.0.0.0/24 is subnetted, 1 subnets

O E1 3.3.3.0 [110/10064] via 192.1.13.3, 00:00:03, Serial1

O E1 192.2.45.0/24 [110/10064] via 192.1.12.2, 00:00:03, Serial0

4.0.0.0/24 is subnetted, 1 subnets