Skip to content

OSPF Multi-Router Office Network lab using Cisco Packet Tracer. Demonstrates VLAN configuration, serial WAN links, OSPF dynamic routing, and end-to-end connectivity verification for CCNA practice.

License

asmymhm/ospf-multi-router-office-network-lab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

12 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🏒 OSPF Multi-Router Office Network


Table of Contents

  1. πŸ“˜ Project Overview
  2. 🎯 Project Objective
  3. 🌐 Network Topology
  4. πŸ—‚οΈ Device Interface Table
  5. πŸ“ IP Addressing Table
  6. πŸ”§ Lab Steps
  7. πŸ’» Device Configuration
  8. βœ… Verification Commands
  9. ⚑ How to Run Lab
  10. πŸ“‚ Folder Structure
  11. πŸŽ“ Learning Outcomes
  12. ℹ️ Repository Info

πŸ“˜ Project overview

Implement OSPF across multiple routers to demonstrate dynamic routing in an enterprise environment. The lab uses Packet Tracer.


🎯 Project Objective

  • Configure OSPF area 0 across 3 routers.
  • Configure serial WAN links (/30) between routers.
  • Configure LANs for 3 sites with PCs and a server.
  • Verify OSPF adjacency, routing, and end-to-end connectivity.

🌐 Network Topology

  • 3 Routers (R1, R2, R3)
  • 3 Switches (SW1, SW2, SW3)
  • 6 PCs (PC1..PC6) β€” 2 per LAN
  • 1 Server (Server1) in LAN1 (on SW1)

TOPOLOGY OVERVIEW

Subnets

  • LAN1: 192.168.10.0/24 (R1)
  • LAN2: 192.168.20.0/24 (R2)
  • LAN3: 192.168.30.0/24 (R3)
  • WAN1 (R1-R2): 10.0.12.0/30
  • WAN2 (R2-R3): 10.0.23.0/30

πŸ“ Device Interface Table

Connections:

R1 G0/0 <-> SW1 Fa0/1 R2 G0/0 <-> SW2 Fa0/1 R3 G0/0 <-> SW3 Fa0/1

R1 S0/3/0 <-> R2 S0/3/1 (Serial DCE <-> DTE) network 10.0.12.0/30 R2 S0/3/0 <-> R3 S0/3/0 (Serial DCE <-> DTE) network 10.0.23.0/30

PC1 Fa0/2 <-> SW1 Fa0/2 PC2 Fa0/3 <-> SW1 Fa0/3 Server1 Fa0/4 <-> SW1 Fa0/4

PC3 Fa0/2 <-> SW2 Fa0/2 PC4 Fa0/3 <-> SW2 Fa0/3

PC5 Fa0/2 <-> SW3 Fa0/2 PC6 Fa0/3 <-> SW3 Fa0/3


πŸ“ IP addressing Table

Device Interface / Notes IP Address / Mask Gateway
PC1 LAN1 192.168.10.11/24 192.168.10.1
PC2 LAN1 192.168.10.12/24 192.168.10.1
PC3 LAN2 192.168.20.21/24 192.168.20.1
PC4 LAN2 192.168.20.22/24 192.168.20.1
PC5 LAN3 192.168.30.31/24 192.168.30.1
PC6 LAN3 192.168.30.32/24 192.168.30.1
Server1 LAN1 192.168.10.100/24 192.168.10.1

Router addresses:

Device Interface IP/Mask
R1 G0/0 192.168.10.1/24
R1 S0/3/0 10.0.12.1/30 (DCE)
R2 G0/0 192.168.20.1/24
R2 S0/3/1 10.0.12.2/30 (DCE)
R2 S0/3/0 10.0.23.1/30 (DTE)
R3 G0/0 192.168.30.1/24
R3 S0/3/0 10.0.23.2/30 (DTE)

πŸ”§ Lab Steps

  1. Build topology in Packet Tracer (place devices & connect cables).
  2. Configure PCs and Server (static IPs).
  3. Configure switches .
  4. Configure routers interfaces and set clock rate on DCE serials.
  5. Configure OSPF (area 0) on all routers.
  6. Verify OSPF neighbors and learned routes.
  7. Test end-to-end pings (PC to PC, PC to Server).
  8. Capture screenshots.

πŸ’» Device Configuration

🚦 Router 1

interface GigabitEthernet0/0
description LAN to SW1
ip address 192.168.10.1 255.255.255.0
no shutdown

View Full Configuration File β†’


🚦 Router 2

interface GigabitEthernet0/0
description LAN to SW2
ip address 192.168.20.1 255.255.255.0
no shutdown

View Full Configuration File β†’


🚦 Router 3

interface GigabitEthernet0/0
description LAN to SW3
ip address 192.168.30.1 255.255.255.0
no shutdown

View Full Configuration File β†’


πŸ”€ Switch 1

!Create VLAN 10

vlan 10
name HR

!Router uplink

interface FastEthernet0/1
description Uplink to R1 G0/0
switchport mode access
switchport access vlan 10
no shutdown

View Full Configuration File β†’


πŸ”€ Switch 2

vlan 20
name Finance

!Router uplink

interface FastEthernet0/1
description Uplink to R2 G0/0
switchport mode access
switchport access vlan 20
no shutdown

View Full Configuration File β†’


πŸ”€ Switch 3

vlan 30
name Sales

!Router uplink

interface FastEthernet0/1
description Uplink to R3 G0/0
switchport mode access
switchport access vlan 30
no shutdown

View Full Configuration File β†’


πŸ’» PC & Server Configuration

Device Interface IP Address Subnet Mask Default Gateway VLAN Notes
PC1 NIC 192.168.10.11 255.255.255.0 192.168.10.1 10 Connected to SW1 F0/2
PC2 NIC 192.168.10.12 255.255.255.0 192.168.10.1 10 Connected to SW1 F0/3

Refer to full files: PC Configs β†’

| Server1 | NIC | 192.168.10.100 | 255.255.255.0 | 192.168.10.1 | 10 | Connected to SW1 F0/4 |

Refer to full files: SERVER Configs β†’


βœ… Verification Commands

πŸ—ΊοΈ Topology Screenshot

shows the full lab layout in Packet Tracer. TOPOLOGY OVERVIEW

πŸ” VLAN Verification

  • Verified VLANs on SW1, SW2, SW3. All access ports assigned correctly.

πŸ”€SW1

SW1 VLAN

πŸ”€SW2

SW2 VLAN

πŸ”€SW3

SW3 VLAN

πŸ–§ MAC Address Table Verification

  • Verified MAC addresses learned correctly on each switch.

πŸ”€Sw1

SW1 MAC

πŸ”€SW2

SW2 MAC

πŸ”€SW3

SW3 MAC

🚦 Router Interfaces Verification

  • All LAN and Serial interfaces are up with correct IPs.

🚦R1

R1 IP INTERFACE

🚦R2

R2 IP INTERFACE

🚦R3

R3 IP INTERFACE

🀝 OSPF Neighbor Verification

  • R1 sees R2, R2 sees R1 & R3, R3 sees R2.

🚦R1

R1 OSPF Neighbour

🚦R2

R2 OSPF Neighbour

🚦R3

R3 OSPF Neighbour

πŸ—ΊοΈ OSPF Routing Table Verification

  • All routers have OSPF learned routes to all LANs.

🚦R1

R1 OSPF Route

🚦R2

R2 OSPF Route

🚦R3

R3 OSPF Route

πŸ“Ά Ping Tests

πŸ“ΆPC1 Ping R1

PC1 Ping R1

πŸ“ΆPC1 Ping PC3

PC1 Ping PC3

πŸ“ΆPC1 Ping PC5

PC1 Ping PC5

πŸ“ΆPC1 Ping Server

PC1 Ping SERVER

πŸ“ΆPC3 Ping R2

PC3 Ping ROUTER2

πŸ“ΆPC3 Ping PC1

PC3 Ping PC1

πŸ“ΆPC3 Ping PC5

PC3 Ping PC5

πŸ“ΆPC5 ping R3

PC5 Ping R3

πŸ“ΆPC5 Ping Server

PC5 Ping SERVER

πŸ“ΆPC5 Ping PC3

PC5 Ping PC3

✨ Optional: Traceroute Verification

πŸ“ΆPC6 to Server to verify path through routers.

PC6 TRACEROUTE SERVER


⚑ How to Run Lab

  1. Open the lab file

    • Open Packet Tracer and load the lab file located at: lab-files/ospf-multi-router-office-network.pkt
  2. Verify device connectivity

    • Check that all PCs, switches, and routers are powered on and connected correctly.
  3. Apply configurations (if needed)

    • Router configurations: router-configs/r1.cfg, r2.cfg, r3.cfg

    • Switch configurations: switch-configs/sw1.cfg, sw2.cfg, sw3.cfg

    • PC and Server configurations: pc-configs/pc-configs.txt, server-configs.txt

  4. Follow lab steps

    • Configure OSPF area 0 across all routers

    • Verify VLAN assignments and switch connectivity

    • Test end-to-end connectivity using ping and traceroute

  5. verification screenshots

    • Save screenshots of OSPF neighbors, routing tables, VLAN tables, and ping results for documentation

πŸ“‚ Folder Structure

ospf-multi-router-office-network/ β”œβ”€β”€ drawio/ β”‚ └── topology.drawio
β”‚ β”œβ”€β”€ lab-files/ β”‚ └── ospf-multi-router-office-network.pkt
β”‚ β”œβ”€β”€ pc-configs/ β”‚ β”œβ”€β”€ pc-configs.txt β”‚ └── server-configs.txt β”‚ β”œβ”€β”€ router-configs/ β”‚ β”œβ”€β”€ r1.cfg β”‚ β”œβ”€β”€ r2.cfg β”‚ └── r3.cfg β”‚ β”œβ”€β”€ switch-configs/ β”‚ β”œβ”€β”€ sw1.cfg β”‚ β”œβ”€β”€ sw2.cfg β”‚ └── sw3.cfg β”‚ β”œβ”€β”€ screenshots/ β”‚ β”œβ”€β”€ pc1_ping_pc3.png β”‚ β”œβ”€β”€ pc1_ping_pc5.png β”‚ β”œβ”€β”€ pc1_ping_r1.png β”‚ β”œβ”€β”€ pc1_ping_server.png β”‚ β”œβ”€β”€ pc_ping_pc1.png β”‚ └── pc3_ping_pc5.png β”‚ β”œβ”€β”€ pc3_ping_r2.png β”‚ β”œβ”€β”€ pc5_ping_pc3.png β”‚ β”œβ”€β”€ pc5_ping_r3.png β”‚ β”œβ”€β”€ pc5_ping_server.png β”‚ └── pc6_traceroute_server.png β”‚ β”œβ”€β”€ r1_ip_int.png β”‚ β”œβ”€β”€ r1_ospf_neighbor.png β”‚ β”œβ”€β”€ r1_ospf_route.png β”‚ β”œβ”€β”€ r2_ip_int.png β”‚ └── r2_ospf_neighbor.png β”‚ β”œβ”€β”€ r2_ospf_route.png β”‚ β”œβ”€β”€ r3_ip_int.png β”‚ β”œβ”€β”€ r3_ospf_neighbor.png β”‚ β”œβ”€β”€ r3_ospf_route.png β”‚ └── sw1_mac.png β”‚ β”œβ”€β”€ sw1_vlan.png β”‚ β”œβ”€β”€ sw2_mac.png β”‚ β”œβ”€β”€ sw2_vlan.png β”‚ β”œβ”€β”€ sw3_mac.png β”‚ └── sw3_vlan.png β”‚ β”œβ”€β”€ topology/ β”‚ └── topology.png β”‚ β”œβ”€β”€ README.md β”œβ”€β”€ verification.md └── LICENSE


πŸŽ“ Learning Outcomes

By completing this lab, you will be able to:

  • Configure OSPF dynamic routing across multiple routers in an enterprise network

  • Assign and verify VLANs and switch port configurations

  • Configure router serial WAN links (/30) for point-to-point connectivity

  • Verify routing tables and OSPF neighbor relationships

  • Perform end-to-end connectivity tests using ping and traceroute

  • Understand device interface management and subnetting for small office networks

  • Use Cisco Packet Tracer for practical network simulation and documentation


πŸ“‚ Repository Info

This project is part of my CCNA Lab Portfolio.
Explore more labs here πŸ‘‰ @asmymhm


About

OSPF Multi-Router Office Network lab using Cisco Packet Tracer. Demonstrates VLAN configuration, serial WAN links, OSPF dynamic routing, and end-to-end connectivity verification for CCNA practice.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published