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
[PC1]---[SW1]---[Router1]---[Router2]---[Router3]---[SW3]---[PC3] | DHCP Server
ospf-dhcp-project/ βββ OSPF-DHCP.pkt β Packet Tracer project file βββ README.md β This file βββ configs/ βββ Router1.txt βββ Router2.txt βββ Router3.txt
- Cisco Packet Tracer 8.x
- OSPF (single area - area 0)
- DHCP configuration on Router2
- Loopback interfaces as Router ID
- Passive Interface for LAN ports
- Open
OSPF-DHCP.pkt
in Packet Tracer. - Open any PC and verify:
- IP is assigned via DHCP
- You can
ping
PCs across networks
- On routers, verify:
show ip ospf neighbor
show ip route ospf
show ip dhcp binding
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