Skip to content

Cisco Packet Tracer lab: OSPF routing across 3 routers with DHCP server, loopback-based router IDs, passive interfaces, and PC connectivity.

Notifications You must be signed in to change notification settings

shahinakbari/cisco-ospf-dhcp-lab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ OSPF + DHCP Network Lab (Cisco Packet Tracer)

🧠 Overview

This lab demonstrates a multi-router OSPF routing setup with DHCP, using Cisco Packet Tracer.
The project includes:

  • πŸ” OSPF routing across 3 routers
  • πŸ†” Loopback interfaces for stable Router IDs
  • 🚫 Passive interfaces for LAN security
  • 🌐 DHCP Server enabled on Router2
  • πŸ’» PC-to-PC communication across different subnets

πŸ–₯️ Topology

[PC1]---[SW1]---[Router1]---[Router2]---[Router3]---[SW3]---[PC3] | DHCP Server


πŸ“ Project Structure

ospf-dhcp-project/ β”œβ”€β”€ OSPF-DHCP.pkt ← Packet Tracer project file β”œβ”€β”€ README.md ← This file └── configs/ β”œβ”€β”€ Router1.txt β”œβ”€β”€ Router2.txt └── Router3.txt


πŸ› οΈ Technologies Used

  • Cisco Packet Tracer 8.x
  • OSPF (single area - area 0)
  • DHCP configuration on Router2
  • Loopback interfaces as Router ID
  • Passive Interface for LAN ports

πŸ§ͺ How to Test

  1. Open OSPF-DHCP.pkt in Packet Tracer.
  2. Open any PC and verify:
    • IP is assigned via DHCP
    • You can ping PCs across networks
  3. On routers, verify:
    • show ip ospf neighbor
    • show ip route ospf
    • show ip dhcp binding

πŸ“„ Configuration Notes

Router Key Features
Router1 OSPF with router-id 1.1.1.1, DHCP relay not needed
Router2 DHCP Server, OSPF with router-id 2.2.2.2, passive LAN
Router3 OSPF with router-id 3.3.3.3, receives routes via OSPF

βœ… Project built and tested by [Shahin Akbari] using Cisco Packet Tracer

About

Cisco Packet Tracer lab: OSPF routing across 3 routers with DHCP server, loopback-based router IDs, passive interfaces, and PC connectivity.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published