Cisco – How to virtual-link between two different OSPF areas

ciscoospfrouting

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

topology

Best Answer

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.