Placed

Free Cisco Lab GNS3 Scenario OSPF Virtual Link

Posted by: admin  :  Category: CCNP, OSPF

[adsense_id=”2″]

Configuring Virtual Links In Multiple OSPF Areas

OSPF has certain limitations when configuring multiple areas. One area must be defined as the backbone area known as Area 0. It is referred to as the backbone area because all communication must pass through it. All other area should physically connect to Area 0, and all routing information disseminated to other areas will pass thorough this area.

There are some situations were a new area is added after the OSPF network design is completed, and it may not be possible to have it connect to the backbone area 0. In these instances a virtual link can be configured to provide connectivity to the backbone area 0. The virtual link provides the new disconnected area a logical path to the backbone area 0. The follow are the requirements for a virtual link:

  • It must be established between two ABRs that share a common area.
  • One of the two ABRs must connect to the backbone area 0.

When virtual links are implemented, special processing is required during the SPF calculations. The next-hop router must be determined to provide the true cost to a destination across the backbone.

In addition to connecting areas that do not physically connect to the backbone area, a virtual link can also be used to patch disconnected backbone areas. Discontinuity of the backbone area 0 can occur for instance when a two companies running OSPF merge and need to connect their two separate networks  into one single network.

Alternatively virtual links can be used to provide redundancy where a failure of a router may cause the backbone area to be split into two separate network causing discontinuities in network connectivity.

For the purpose of adjacency, OSPF treats two routers connected by a virtual link as an unnumbered point-to-point backbone network; due to the fact that they do not share a physical connection and the IP address of the connected interfaces do not share the same IP subnet.

[adsense_id=”4″]

Lab Preparation:

  1. Configure the hostname of all routers to indicate the Routers ID R1 – R7.
  2. Configure the enable secret password as cisco on all routers.
  3. Configure all other passwords as sanfran on all routers.
  4. Configure the Ethernet interface IP addresses of all routers as shown in the network diagram.
  5. Configure the Serial interface IP addresses of all routers as shown in the network drawing.
  6. Configure the serial interface between R2, and R4 to be in the first OSPF Area 0 as shown in the network drawing.
  7. Configure the serial interface between R2, and R5 to be in the first OSPF Area 0 as shown in the network drawing.
  8. Configure the Ethernet interface between R4, and R5 to be in the first OSPF Area 0 as shown in the network drawing
  9. Configure the Ethernet interface of R4 to be in OSPF area 20.
  10. Configure the Ethernet interface of R5 to be in OSPF area 30.
  11. Configure the serial interface between R3, and R6 to be in the second OSPF Area 0 as shown in the network drawing.
  12. Configure the serial interface between R3, and 7 to be in the second OSPF Area 0 as shown in the network drawing.
  13. Configure the Ethernet interface between R6, and R7 to be in the second OSPF Area 0 as shown in the network drawing
  14. Configure the Ethernet interface of R6 to be in OSPF area 40.
  15. Configure the Ethernet interface of R7 to be in OSPF area 50.

 [adsense_id=”3″]

Configuring Virtual Links:

  1. Configure the serial interface between R1 and R2 to be in OSPF Area 2 as shown in the network drawing.
  2. Configure the Ethernet interface of R1 to be in OSPF Area 10 as shown in the network drawing.
  3. Configure R1 and R2 to use OSPF Area 2 as a virtual link to OSPF Area 10.

Verifying OSPF:

  1. Use the show ip ospf border-routers command to display the internal OSPF routing table entries to the ABRs and ASBRs.
  2. Use the show ip ospf virtual-links command to display parameters about the current state of OSPF virtual links.
  3. Use the show ip ospf process-id command to display information about each area to which the router is connected indicating whether a router is an either ABR, ASBR or both.
  4. Using keyword passed to the show ip ospf process-id database command displays the following:
  • Network = network link-state information.
  • Summary = summary information.
  • Asbr-summary = information about ASBR link state.
  • External = information about autonomous systems external like state.
  • Database-summary = database summary information as well as totals.

Discontiguous Backbone Transit Area:

  1. Configure the serial interface between R1 and R3 to be in the OSPF Area 2.
  2. Configure R1, R2, and R3 to use OSPF Area 2 as virtual link to connect the two discontinuous backbone areas.
  3. Verify that all ip routes are displayed in the routing table.
  4. Verify full connectivity to all interfaces.
  5. Are there any issues and if so how can they be resolved?

Download this GNS3 lab scenario: {filelink=19}

One Response to “Free Cisco Lab GNS3 Scenario OSPF Virtual Link”

Leave a Reply

What is 9 + 13 ?
Please leave these two fields as-is:
IMPORTANT! To be able to proceed, you need to solve the following simple math (so we know that you are a human) :-)

*

http://s51.sitemeter.com/meter.asp?site=s51ciscolab Site Meter