24、OSPF配置实验之不规则区域多进程双向重分布
1、实验拓扑
成都创新互联专注于企业成都营销网站建设、网站重做改版、铜官网站定制设计、自适应品牌网站建设、H5开发、商城建设、集团公司官网建设、外贸营销网站建设、高端网站制作、响应式网页设计等建站业务,价格优惠性价比高,为铜官等各大城市提供网站开发制作服务。
按拓扑所示配置好OSPF后,此时由于area2与area0之间隔着area1,此时area2中的R5并没有路由可达area3、area0、area1。为此我们在R4上启两个OSPF路由进程,分别将area1和area2宣告进去,并在OSPF进程中分别将对方重分布进来即可。
2、实验配置
R1配置
interface Loopback0
ip address 1.1.1.1 255.255.255.0
interface Serial0/0
ip address 12.1.1.1 255.255.255.0
router ospf 110
router-id 1.1.1.1
network 1.1.1.0 0.0.0.255 area 3
network 12.1.1.0 0.0.0.255 area 3
R2配置
interface Loopback0
ip address 2.2.2.2 255.255.255.0
interface Serial0/0
ip address 12.1.1.2 255.255.255.0
interface Serial0/1
ip address 23.1.1.2 255.255.255.0
router ospf 110
router-id 2.2.2.2
network 2.2.2.0 0.0.0.255 area 0
network 12.1.1.0 0.0.0.255 area 3
network 23.1.1.0 0.0.0.255 area 0
R3配置
interface Loopback0
ip address 3.3.3.3 255.255.255.0
interface Serial0/0
ip address 34.1.1.3 255.255.255.0
interface Serial0/1
ip address 23.1.1.3 255.255.255.0
router ospf 110
router-id 3.3.3.3
network 3.3.3.0 0.0.0.255 area 0
network 23.1.1.0 0.0.0.255 area 0
network 34.1.1.0 0.0.0.255 area 1
R4配置
interface Loopback0
ip address 4.4.4.4 255.255.255.0
interface Serial0/0
ip address 34.1.1.4 255.255.255.0
interface Serial0/1
ip address 45.1.1.4 255.255.255.0
router ospf 110
router-id 4.4.4.4
log-adjacency-changes
network 4.4.4.0 0.0.0.255 area 1
network 34.1.1.0 0.0.0.255 area 1
network 45.1.1.0 0.0.0.255 area 2
R5配置
interface Loopback0
ip address 5.5.5.5 255.255.255.0
interface Serial0/1
ip address 45.1.1.5 255.255.255.0
router ospf 110
router-id 5.5.5.5
log-adjacency-changes
network 5.5.5.0 0.0.0.255 area 2
network 45.1.1.0 0.0.0.255 area 2
3、配置OSPF多进程重分布
此时R1和R5都没有彼此的路由。我们将R4上OSPF的配置修改如下
router ospf 110
router-id 4.4.4.4
log-adjacency-changes
redistribute ospf 100 subnets
network 4.4.4.0 0.0.0.255 area 1
network 34.1.1.0 0.0.0.255 area 1
router ospf 100
router-id 4.4.4.40
log-adjacency-changes
redistribute ospf 110 subnets
network 45.1.1.0 0.0.0.255 area 2
本文名称:24、OSPF配置实验之不规则区域多进程双向重分布
当前地址:http://cdiso.cn/article/ijjsje.html