In modern enterprise environments, network scalability and redundancy are non-negotiable requirements. A single point of failure at the gateway or a monolithic routing table can cripple operations during peak traffic or hardware maintenance. This project guides you through building a robust topology in Cisco Packet Tracer that combines multi-area OSPF routing with High Availability (HA) using Virtual Router Redundancy Protocol (VRRP). By integrating VLANs, DHCP services, and DNS resolution within this architecture, you will simulate a production-ready corporate network capable of handling growth without compromising performance or stability.
Why Multi-Area OSPF and VRRP Matter for Scalability
Before diving into the configuration, it is essential to understand the architectural benefits. In a flat OSPF design where all routers reside in Area 0 (the backbone), the routing table grows linearly with every new subnet added. This leads to increased CPU usage on routers and slower convergence times if a link fails. By segmenting the network into multiple areas—such as an Area 0 for core distribution and stub areas for access layers—you confine Link State Advertisements (LSAs) to their respective domains.
Furthermore, relying on a single Default Gateway for VLANs creates a bottleneck and a single point of failure. If that gateway router crashes, all devices in that VLAN lose connectivity to the internet or other network segments. Implementing VRRP solves this by allowing two routers to share a virtual IP address. One acts as the Master (active) while the other is the Backup. If the Master fails, the Backup takes over seamlessly, ensuring uninterrupted access for users.
Prerequisites and Topology Design
To begin this project, ensure your Cisco Packet Tracer environment includes at least two routers (e.g., 1941 or 2900 series) and a switch capable of Layer 3 features (e.g., 2960-X). You will also need a PC for terminal access and simulation tools like Wireshark for packet analysis.
The topology should be designed with the following logical structure:
* Core Layer: Two routers connected via a high-speed link, forming an OSPF Area 0.
* Access Layer: A switch with VLANs configured (e.g., VLAN 10 for HR, VLAN 20 for Engineering).
* Interfaces: The routers connect to the switch using trunk ports and assign specific subnets to each VLAN interface (SVI).
* Services: DHCP servers are configured on one of the router interfaces to dynamically assign IP addresses. DNS resolution is simulated by pointing clients to a public or internal DNS server.
Step-by-Step Configuration Guide
The following steps outline the configuration process, from basic interface setup to advanced routing protocols.
1. Configure VLANs and SVIs on the Layer 3 Switch
First, you must segment the network logically. Access the CLI of your Layer 3 switch using enable and then configure terminal. Create the necessary VLANs and assign them names for clarity:
vlan 10
name HR
vlan 20
name Engineering
exit
interface vlan 10
description HR_VLAN
ip address 192.168.10.1 255.255.255.0
no shutdown
interface vlan 20
description Engineering_VLAN
ip address 192.168.20.1 255.255.255.0
no shutdown
Next, configure the uplink port connecting the switch to the core routers as a trunk:
interface gigabitethernet 0/1
switchport mode trunk
switchport trunk allowed vlan 10,20
exit
This allows traffic from both VLANs to traverse between the access and distribution layers.
2. Set Up OSPF Multi-Area Routing
Now, move to the core routers. Configure the physical interfaces connecting the two routers with IP addresses that belong to a dedicated management subnet (e.g., 10.0.0.0/30). On both routers, enable OSPF and assign them to Area 0:
router ospf 1
network 10.0.0.0 0.0.0.3 area 0
network 192.168.10.0 0.0.0.255 area 0
network 192.168.20.0 0.0.0.255 area 0
exit
Note: In a true multi-area design, you might designate specific subnets for Area 1 or Area 2 to isolate broadcast traffic. For this scalability project, keeping all dynamic subnets in Area 0 demonstrates the foundation before introducing stub areas.
Verify connectivity by pinging from one router interface to another. Use the command show ip ospf neighbor to ensure adjacency is established in the FULL state. If neighbors are stuck in EXSTART or DOWN states, check that IP addresses and subnet masks match on the link.
3. Implement VRRP for Gateway Redundancy
To achieve inter-VLAN gateway redundancy, configure VRRP on both routers for each VLAN interface. Let Router A be the primary (Master) and Router B be the secondary (Backup). On Router A:
interface vlan 10
vrrp 10 ip 192.168.10.254
vrrp 10 priority 110
vrrp 10 preempt delay minimum 30
interface vlan 20
vrrp 20 ip 192.168.20.254
vrrp 20 priority 110
vrrp 20 preempt delay minimum 30
On Router B, configure the same interfaces but with a lower priority (default is usually 100):
interface vlan 10
vrrp 10 ip 192.168.10.254
interface vlan 20
vrrp 20 ip 192.168.20.254
The virtual IP address (e.g., 192.168.10.254) is what the end-user devices will use as their default gateway. The preempt command ensures that if Router A recovers after a failure, it will reclaim the master role once its priority is higher than the backup.
Verification and Troubleshooting with Wireshark
Configuration alone does not guarantee success; verification is critical. Use the built-in Packet Tracer simulation mode or export the topology to run Wireshark on a connected PC.
Verification Steps:
1. Routing Table Check: On both routers, type show ip route. You should see routes learned via OSPF marked with an ‘O’. The virtual gateway IP should appear as directly connected or via VRRP advertisements if supported by the specific IOS version.
2. VRRP Status: Use show vrrp interface brief to confirm which router is currently the Master for each VLAN.
3. Failover Test: In Packet Tracer, go to simulation mode and disconnect the link between Router A and the switch or shut down the VRRP interface on Router A. Observe whether the MAC address associated with the virtual IP changes and if traffic switches to Router B.
Common Errors and Fixes:
* Error: OSPF neighbors remain in DOWN state. Fix: Ensure no access lists are blocking OSPF multicast packets (224.0.0.5) and that timers match.
* Error: VRRP election fails or flaps constantly. Fix: Check that the priority values are unique or that preempt is enabled correctly. Mismatched authentication strings will also block communication.
* Error: Clients cannot reach the internet. Fix: Verify that NAT (Network Address Translation) is configured on the outside interface of the active router and that the ACL permits internal traffic.
Student Practice Task: DNS and DHCP Integration
To complete this project, integrate Dynamic Host Configuration Protocol (DHCP) and Domain Name System (DNS). Configure a DHCP pool on the primary router to assign IP addresses in the 192.168.10.x range for VLAN 10. Point the DNS server option to 8.8.8.8 or an internal DNS server IP.
Create a test scenario where you create a new PC, connect it to VLAN 10, and set its default gateway to the VRRP virtual IP (192.168.10.254). Ping the loopback address of a remote server and attempt to resolve google.com. If the ping fails but the name resolves, your routing is broken. If the ping works but the name does not, your DNS configuration needs adjustment.
Conclusion and Industry Application
This project demonstrates how to build a scalable enterprise network using Packet Tracer. By combining OSPF multi-area principles (which can be extended to stub areas for further optimization) with VRRP, you create a resilient infrastructure that survives hardware failures without disrupting user experience. For industry practitioners, this architecture translates directly to designing data centers where downtime costs are prohibitive. Always remember to verify policy terms regarding licensing when deploying these technologies in production, as some advanced features may require specific hardware or software subscriptions. Regularly review routing tables and VRRP states using automated monitoring tools to ensure continuous availability.
Educational-use notice: This tutorial is for learning and controlled lab use only. Test carefully, use backups, and obtain authorization before making changes. Do not run unfamiliar commands on production systems. We accept no responsibility for misuse, damage, data loss, or production issues.

