Professional Documents
Culture Documents
As we have already discussed that In OSPF must have one area is called area 0 and all the areas
must be connected to area 0. However, it may be difficult for some reason to physically connect
an area to the backbone area (Area 0). In such a scenario we will have to use virtual links
because it is not possible for any organization to take any dedicated leased line because it will
be more costly. With using virtual links we can connect the backbone area which is not directly
connected to backbone area.
. There are two methods to provide logical connection to the backbone area.
1. Virtual link
2. GRE tunnel
But here we will discuss to virtual link in OSPF. The following things are to be remembered.
Note – Virtual –link is used for non backbone area that is not directly connected with backbone
area (Area 0).
A virtual link is not a physical link. It is a logical link using the least cost path between the ABR
of the non-backbone connected area and the backbone ABR of the transit area. A virtual
adjacency across the virtual link is formed, and routing information is exchanged.
Now I’m going to configure virtual links on R2 & R4 router as you can see in the topology R4 is not
directly connected to Backbone area (Area 0).
But before configure above command on R2 & R2 router let’s enable debug command on the router.
Database of R2 router –
R2#
Database of R4 router –
R4#
Database of R1 router –
R1#show ip os
R1#
Database of R5 Router –
R5#
Database of R3 router –
R3#
R1#ping 192.168.4.1
!!!!!
R1#
R5#ping 192.168.1.1
!!!!!
R5#traceroute 192.168.1.1
R5#
You can use below command to verify it –
➢ R2#show ip protocols
➢ R2#show ip ospf interface br
➢ R2#show ip ospf virtual-links
➢ R2#show ip ospf database
➢ R2#show ip ospf border-routers
➢ R2#show ip ospf database router 2.2.2.2
➢ R2#show ip ospf
Please note that I have designed this topology as per my understanding, request you to please like,
share comment with your connection.
Thank you
Umesh Prajapati