虚链路
1、虚链路是区域0的延伸
2、虚链路只能穿过一个区域——在一个SFP上构建
3、构建虚链路的两个路由器都是ABR
4、虚链路通信用的两个路由器在SFP中距离最近的两个接口单播通信
用途
1、链接远离骨干域的普通区域
2、缝合断裂的骨干域
实验目的:
R2与R3断开后,R1仍可与R4互通
实验配置
R1
sysname 1
interface GigabitEthernet0/0/0
ip address 192.168.1.1 255.255.255.0
ospf 1 router-id 1.1.1.1
area 0.0.0.1
network 192.168.1.0 0.0.0.255
R2
sysname 2
interface GigabitEthernet0/0/0
ip address 192.168.1.2 255.255.255.0
interface GigabitEthernet0/0/1
ip address 192.168.2.1 255.255.255.0
interface GigabitEthernet0/0/2
ip address 192.168.4.1 255.255.255.0
ospf 1 router-id 1.1.1.1
area 0.0.0.0
network 192.168.2.0 0.0.0.255
area 0.0.0.1
network 192.168.1.0 0.0.0.255
area 0.0.0.3
network 192.168.4.0 0.0.0.255
vlink-peer 3.3.3.3 虚链路
R3
sysname 3
interface GigabitEthernet0/0/0
ip address 192.168.3.1 255.255.255.0
interface GigabitEthernet0/0/1
ip address 192.168.2.2 255.255.255.0
interface GigabitEthernet0/0/2
ip address 192.168.6.1 255.255.255.0
ospf 1 router-id 3.3.3.3
area 0.0.0.0
network 192.168.2.0 0.0.0.255
area 0.0.0.2
network 192.168.3.0 0.0.0.255
area 0.0.0.3
network 192.168.6.0 0.0.0.255
vlink-peer 2.2.2.2 虚链路
R4
sysname 4
interface GigabitEthernet0/0/0
ip address 192.168.3.2 255.255.255.0
ospf 1 router-id 4.4.4.4
area 0.0.0.2
network 192.168.3.0 0.0.0.255
R5
sysname 5
interface GigabitEthernet0/0/0
ip address 192.168.5.1 255.255.255.0
interface GigabitEthernet0/0/2
ip address 192.168.4.2 255.255.255.0
ospf 1 router-id 5.5.5.5
area 0.0.0.3
network 192.168.4.0 0.0.0.255
network 192.168.5.0 0.0.0.255
R6
sysname 6
interface GigabitEthernet0/0/0
ip address 192.168.5.2 255.255.255.0
interface GigabitEthernet0/0/2
ip address 192.168.6.2 255.255.255.0
ospf 1 router-id 6.6.6.6
area 0.0.0.3
network 192.168.5.0 0.0.0.255
network 192.168.6.0 0.0.0.255
测试
R1与R2断开后