OPSF虚链路配置

OPSF虚链路配置
虚链路是指一条通过一个非骨干区域连接到骨干区域的链路
.
R1(config)#router ospf 1
R1(config-router)#rout
R1(config-router)#router-id 1.1.1.1
R1(config-router)#net 1.1.1.1 0.0.0.0 area 0
R1(config-router)#net 12.0.0.0 0.0.0.255 area 0
R1(config-router)#net 192.168.1.0 0.0.0.255 area 0
.
R2(config)#router ospf 1
R2(config-router)#router-id 2.2.2.2
R2(config-router)#net 2.2.2.2 0.0.0.0 area 0
R2(config-router)#net 12.0.0.0 0.0.0.255 area 0
R2(config-router)#net 13.0.0.0 0.0.0.255 area 1
R2(config-router)#net 192.168.2.0 0.0.0.255 area 0
.
R3(config)#router ospf 1
R3(config-router)#router-id 3.3.3.3
R3(config-router)#net 3.3.3.3 0.0.0.0 area 1
R3(config-router)#net 13.0.0.0 0.0.0.255 area 1
R3(config-router)#net 14.0.0.0 0.0.0.255 area 2
R3(config-router)#net 192.168.3.0 0.0.0.255 area 1
.
R4(config)#router ospf 1
R4(config-router)#router-id 4.4.4.4
R4(config-router)#net 4.4.4.4 0.0.0.0 area 2
R4(config-router)#net 14.0.0.0 0.0.0.255 area 2
R4(config-router)#net 192.168.4.0 0.0.0.255 area 2
.
没配置虚链路之前area0和area2之间是无法通信得
.
配置虚链路
R2(config-router)#area 1 virtual-link 3.3.3.3
.
R3(config-router)#area 1 virtual-link 2.2.2.2
.
现在可以通信了

转载于:https://blog.51cto.com/13348945/2095365

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值