Free CCNP GNS3 Lab OSPF in a Single Area

You are responsible for configuring the new network to connect your company’s engineering, marketing, and accounting departments, represented by the loopback interfaces on each of the three routers. The physical devices have just been installed and connected by Fast Ethernet and serial cables. Configure OSPF to allow full connectivity between all departments. 

Note: This lab was created with GNS3 using Cisco 2620 routers, but you can create the lab with other real hardware if it is available, although it may be necessary to modify the configuration to adapt to the network interfaces and the outputs may vary from what is shown in this lab. 


  • Configure single-area OSPF on a router.
  • Advertise loopback interfaces into OSPF.
  • Verify OSPF adjacencies.
  • Verify OSPF routing information exchange.
  • Modify OSPF link costs.

Change interface priorities.

Utilize debugging commands for troubleshooting OSPF

Step 1: Basic Configuration:

Configure all routers and switches with their hostname as shown in the network diagram. Configure the console password as ”sanfran” and the enable password as “cisco”. 

Step 2: Configure addressing and loopbacks:

Using the addressing scheme in the diagram, apply IP addresses to the Fast Ethernet interfaces on R1, R2, and R3. Create Loopback1 on R1, Loopback2 on R2, and Loopback3 on R3, and address them according to the diagram. 

Configure the serial interfaces on R1 and R2 with the IP addresses shown in the diagram. Add the clockrate command where needed. 

Verify that the appropriate interfaces are up and that you can ping across each link. 

Step 3: Add physical interfaces to OSPF:

Enter the OSPF configuration prompt using the router ospf process number command. The process number is a locally significant number that does not affect how OSPF works. For this lab, use process number 1 on all the routers

Add interfaces with the network address wildcard mask area command. The address is an IP address. The mask is an inverse mask, similar to the kind used in an access list. Put all interfaces in OSPF area 0, the backbone area. 

This command can be confusing at first. What it means is that any interface with an IP address that matches the address and wildcard mask combination in the network statement is added to the OSPF process in that area. The wildcard mask used in the network command has no influence on the actual IP subnet mask that is advertised with a network on an interface. The network command selects interfaces to be included into OSPF, but OSPF advertises the real subnet mask of the network attached to that interface (with the only exception being loopback interfaces). 

For example, the command network area 0 adds the interface with the IP address of and its network to the OSPF process into area 0. The wildcard mask of means that all 32 bits of the IP address have to be an exact match. A 0 bit in the wildcard mask means that portion of the interface IP must match the address. A 1 bit means that the bit in the interface IP does not have to match that portion of the IP address. 

The command network area 0 means that any interface whose IP address matches for the first 3 octets will match the command and add it to area 0. The last octet is all 1s, because in the wildcard mask it is 255. This means that an interface with an IP of,, or would match this address and wildcard combination and get added to OSPF.

Instead of using wildcard masks in the network command, it is possible to use subnet masks. The router converts the subnet masks to the wildcard format automatically. An easy way to calculate a wildcard mask from the subnet mask is to subtract the octet value for each octet from 255. For example, a subnet mask of (/30) becomes to capture all interfaces on that subnet:

To continue with this lab  Download this lab now:

  OSPF In a single area (91.6 KiB, 2,775 hits)

Bookmark and Share
You can leave a response, or trackback from your own site.

Leave a Reply

What is 9 + 6 ?
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) :-)


Powered by WordPress | Designed by: backlinks | Thanks to internet marketing, etiketten drucken and index backlink