一、实验拓扑:
21-高级路由:OSPF -特殊区域 Virtual-Link_第1张图片
二、命令部署:
R1(config)#router ospf 110
R1(config-router)#area 1 virtual-link 3.3.3.3

R3(config)#router ospf 110
R3(config-router)#area 1 virtual-link 1.1.1.1

三、验证:
R2#show ip route ospf
35.0.0.0/24 is subnetted, 1 subnets
O IA 35.1.1.0 [110/3] via 12.1.1.1, 00:00:32, FastEthernet0/0
5.0.0.0/32 is subnetted, 1 subnets
O IA 5.5.5.5 [110/4] via 12.1.1.1, 00:00:32, FastEthernet0/0

R5#show ip route OSPF
1.0.0.0/32 is subnetted, 1 subnets
O IA 1.1.1.1 [110/3] via 35.1.1.3, 00:00:15, FastEthernet0/0
2.0.0.0/32 is subnetted, 1 subnets
O IA 2.2.2.2 [110/4] via 35.1.1.3, 00:00:15, FastEthernet0/0
3.0.0.0/32 is subnetted, 1 subnets
O IA 3.3.3.3 [110/2] via 35.1.1.3, 00:04:25, FastEthernet0/0
4.0.0.0/32 is subnetted, 1 subnets
O IA 4.4.4.4 [110/5] via 35.1.1.3, 00:00:15, FastEthernet0/0
24.0.0.0/24 is subnetted, 1 subnets
O IA 24.1.1.0 [110/4] via 35.1.1.3, 00:00:15, FastEthernet0/0
12.0.0.0/24 is subnetted, 1 subnets
O IA 12.1.1.0 [110/3] via 35.1.1.3, 00:00:15, FastEthernet0/0
13.0.0.0/24 is subnetted, 1 subnets
O IA 13.1.1.0 [110/2] via 35.1.1.3, 00:04:25, FastEthernet0/0
21-高级路由:OSPF -特殊区域 Virtual-Link_第2张图片