OSPF Virtual Link Configuration on Juniper

In this lesson, I’ll explain the concept of Virtual Link in OSPF, the scenarios in which it is required, and how to configure it on Juniper routers. A virtual link is a logical connection created to ensure connectivity between a remote area and Area 0 (the backbone area) when there is no direct physical connection. This is achieved by designating an intermediary area (transit area) to act as a bridge. This is required because, as I said earlier in the previous lessons, all areas on OSPF should connect to area 0 which is the backbone area.

It happens sometimes that there is no physical connection between a remote area and area 0 and there is an area between them. Then we will use this intermediate area to be a transit area using virtual link allowing the remote area to reach to area 0.

Let me show you this in a LAB directly.

 

As you can see, area 2 is not connected to area 0 and there is a transit area (area 1) between them. I will use area 1 to form a virtual link allowing area 2 to reach area 0. Let’s do this work in a LAB.

Step 1: Verify Existing OSPF Configuration

Ensure OSPF and IP addresses are configured on all routers.

R1# show ospf neighbor

Neighbor ID Pri State Dead Time Address Interface

10.10.10.2 1 Full/DR 00:00:34 10.10.10.2 ge-0/0/1.0

R2# show ospf neighbor

Neighbor ID Pri State Dead Time Address Interface

10.10.10.1 1 Full/BDR 00:00:33 10.10.10.1 fe-0/0/1.0

3.3.3.3 1 Full/DR 00:00:34 192.168.23.3 fe-0/0/2.0

R3# show ospf neighbor

Neighbor ID Pri State Dead Time Address Interface

192.168.34.4 1 Full/DR 00:00:35 192.168.34.4 ge-0/0/3.0

 

Step 2: Check Router 1’s Routing Table

Verify that R1 does not see networks from Area 2.

R1# show route

inet.0: 11 destinations, 12 routes (11 active, 0 holddown, 0 hidden) + = Active Route, – = Last Active, * = Both

10.10.10.0/24 *[OSPF/10] 00:05:26, metric 10

to 10.10.10.2 via ge-0/0/1.0

192.168.23.0/24 *[OSPF/10] 00:05:26, metric 20

to 10.10.10.2 via ge-0/0/1.0

Area 2 routes (e.g., 4.4.4.4/32) are not visible.

Step 3: Note the Router IDs of R2 and R3

Find the Router IDs of R2 and R3 for the virtual link configuration.

R2# show ospf overview

Instance: master

Router ID: 10.10.10.2

SPF Calculation Count: 5

R3# show ospf overview

Instance: master

Router ID: 3.3.3.3

SPF Calculation Count: 5

Apologies, the Full Lesson Access is Only for Members....

\

Get Access to all Lessons from different Vendors

\

Affordable Price to Enhance your IT Skills!

\

Always Accessing all Lessons including the New Added Ones

100% Satisfaction Guaranteed!

You can cancel your membership at anytime.
No Questions Asked Whatsover!

0 Comments

Submit a Comment

About