We're Sorry, Full Content Access is for Members Only...

If you like to keep on reading, Become a Member Now! Here is Why:

  • Learn any CCNA, CCNP and CCIE R&S Topic. Explained As Simple As Possible.
  • Try for Just $1. The Best Dollar You've Ever Spent on Your Cisco Career!
  • Full Access to our 505 Lessons. More Lessons Added Every Week!
  • Personal Support by Rene Molenaar (CCIE #41726)


243 New Members signed up the last 30 days!


100% Satisfaction Guaranteed!
You may cancel your monthly membership at any time.
No Questions Asked!

Home Forums How to configure OSPF Virtual Link

This topic contains 42 replies, has 14 voices, and was last updated by   Anuradha K 3 weeks, 1 day ago.

Viewing 15 posts - 1 through 15 (of 42 total)
  • Author
  • #14325

    Vinod Agrahari

    Rene ! this is really grt !



    Hi, thank you very much for this very easy to understand explanation. Great job rene.


    Rene Molenaar

    Glad to hear you like it!


    Jurati Fundikira

    Is it possible to build a virtual link over frame-relay link ? for example in the diagram above if the router in between was a frame-relay switch


    Rene Molenaar

    Hi Jurati,

    Yes this is possible, when your OSPF neighbor adjacency is working over the frame relay link you should be able to configure a virtual link.




    Hi Rene , according to OSPF ” RID is highest IP of loopback interface or software interfaces which are active when OSPF routers start up ,in absence of software/loopback interfaces RID is the highest IP of the active interfaces when OSPF starts ”

    in this example RID for router Nancy is since it’s the loopback interface for that area

    How come RID for router Susan is , for router Susan It’s RID should be of it’s loopback interface

    here why does router selects RID as 192168.23.3 since loopback interface is also present in that area .


    Rene Molenaar

    Hi Nitin,

    What you say is correct. The thing with the OSPF router ID however is that it’s non preemptive which means that once it has selected an ID, it will not change it unless you reboot the router or reset the OSPF process. In this example, I probably configure OSPF before adding some of the loopback interfaces. Hope that helps.



    Nicholas Russo

    Another bit of information: OSPF VLs cannot be constructed if the interface from which the VL would recurse, on either end, is unnumbered. In the first example the Nancy Fa0/0 and Donna Fa0/0 would have to have real IP addresses on them. However, OSPF VLs can transit unnumbered interfaces if those links are in the middle of the area. If area 1 were much larger, and some of the intermediary links were unnumbered, that would work fine. Reason is because although OSPF VLs behave like demand circuits, initially they send unicast hellos between exit interfaces and this must have a real IP address.


    Chandan K

    Hi Rene,

    I configured Discontiguous area 0 for virtual links,by default if we enable loopback interface on the router,it takes loop back interface., i.e as the router ID and one more thing with lab,i get error message like mismatch in the area ID,before I configure a virtual link between router Nancy and Susan.

    This lab dint work the way its show in the figure.Need your help in this rene.



    Hi Rene
    Is it possible for VL’s to be used over different AS? In your example, instead of OSPF area 1, could there be a network running i.e. EIGRP (Nancy and Donna would be ASBR’s), so OSPF area 2 would be directly connected to OSPF area 0 passing through a different AS? If for any reason areas 0 and 2 should belong to the same AS (let’s say after consolidation of two companies, one running only OSPF and the other running both EIGRP and OSPF), could we use VL’s instead of redistribution?


    Rene Molenaar

    Hi Apostolis,

    The virtual link is a OSPF-only feature. Also keep in mind that it doesn’t work with AS numbers, only EIGRP (and BGP) work with AS numbers.

    You could make it work with a GRE tunnel though. If you run EIGRP on the /24 instead of OSPF then you can create a GRE tunnel between Nancy / Donna and connect the two distance OSPF areas with that.




    Is possible to use virtual links within the same area?


    Rene Molenaar

    You probably could configure a virtual link between two routers in the same area but there’s no point in doing so 🙂




    Is it possible for a virtual link to transit two areas?

    For instance, there are areas 0, 1, 2, and 3.

    How to create a virtual link that connects area 1 and area 3 together?

    Thank you for your detailed explanation!



    Rene Molenaar

    Hi Lee,

    It’s possible but you have to do it in steps.

    First create a virtual link between Area 0 and Area 1 so you can reach Area 2. Then you can configure another one from Area 2 to Area 3.


Viewing 15 posts - 1 through 15 (of 42 total)

You must be logged in to reply to this topic.