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
.
现在可以通信了
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章