OSPF

OSPF Virtual Links Configuration

Virtual links patch a discontiguous Area 0 by tunneling through a transit area. Configuration is simple, but treat them as a temporary fix, not a permanent design.
OSPF Virtual Links Configuration
In: OSPF

Syntax

router ospf 1
 area [transit-area] virtual-link [remote-router-id]

Configure on BOTH routers

Configuration Example

Topology

R1 (Area 0) --- R2 (Area 0 + Area 10) --- R3 (Area 0)
                     Transit: Area 10

R2 Configuration

router ospf 1
 router-id 2.2.2.2
 area 10 virtual-link 3.3.3.3

R3 Configuration

router ospf 1
 router-id 3.3.3.3
 area 10 virtual-link 2.2.2.2

Result: Virtual link through Area 10 connects R2 and R3

Verification

R2# show ip ospf virtual-links
Virtual Link OSPF_VL0 to router 3.3.3.3 is up
  Transit area 10
  Transmit Delay is 1 sec, State POINT_TO_POINT,
  Timer intervals configured, Hello 10, Dead 40

Not a permanent solution
Adds complexity
Hard to troubleshoot
Performance overhead

Use only until you can redesign the network properly

Summary

Virtual links fix discontiguous Area 0
Configure on both routers through transit area
Temporary solution only
Redesign network as soon as possible

Next: Learn about OSPF Timers (Article 16)

Internal Links:

Written by
More from Ping Labz
Great! You’ve successfully signed up.
Welcome back! You've successfully signed in.
You've successfully subscribed to Ping Labz.
Your link has expired.
Success! Check your email for magic link to sign-in.
Success! Your billing info has been updated.
Your billing was not updated.