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