Is there a way to connect routers via virtual-link between two different OSPF area?


  • What are you looking to do? What equipment are you using? What is your current setup?
    – HAL
    May 29, 2014 at 16:29
  • I just want to link area 0 and area 6 via virtual link on ospf
    – JFetz2191
    May 29, 2014 at 16:30
  • What area or area's do you transit to get from 0 to 6?
    – HAL
    May 29, 2014 at 16:46
  • @HAL: do you see the picture?
    – Kveri
    Jun 1, 2014 at 19:59
  • @Kveri no, sorry. I think there may be something wrong with my corporate browser settings :(
    – HAL
    Jun 3, 2014 at 13:32

1 Answer 1


You need to configure virtual link on both end point routers of the virtual link. Command in router ospf configuration is: area <AREA_ID> virtual-link <ROUTER_ID> where <AREA_ID> is transit OSPF area and <ROUTER_ID> is IP address (Loopback) of the other interconnecting router. Virtual links are considered to be an indicator of bad network design, so if you really need to use them maybe you should consider revising your network structure.

  • 3
    Virtual links can be part of a bad design; however use of the feature itself is neither good nor bad. There are several valid use cases for virtual links. Jun 2, 2014 at 8:34
  • In case of merging or aquisition, to avoid redoing the entire network and associated downtime, virtual-links could be a solution.
    – AJN
    Aug 20, 2018 at 11:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.