OSPF Secure Routing
Group 5
Instructor: Mohamed Aweis
Project Objective
• The objective of this project is to design and
implement a communication system using the
OSPF protocol, which includes:
• - Fast connectivity between multiple routers
• - Reliable communication using the Dijkstra
algorithm
• - Area segmentation to reduce the LSDB size
• - Redundancy and failover via OSPF metrics
and cost
Network Topology
• Three routers (R1, R2, R3) are used, each
connected to different LANs.
• Each router has two interfaces with specific
IPs and areas.
Router Configuration
• Router Interface IP Address Area
• R1 G0/0 [Link]/24 0
• R1 G0/1 [Link]/30 0
• R2 G0/0 [Link]/30 0
• R2 G0/1 [Link]/24 1
• R3 G0/0 [Link]/24 1
OSPF Configuration Commands
• # R1
• router ospf 1
• network [Link] [Link] area 0
• network [Link] [Link] area 0
• # R2
• router ospf 1
• network [Link] [Link] area 0
• network [Link] [Link] area 1
Security Features
• - Authentication: Area-level authentication to
enhance security
• - Passive-interface: Disable OSPF hello
messages on unnecessary interfaces
• router ospf 1
• passive-interface default
• no passive-interface G0/0
Testing and Validation
• - show ip ospf neighbor – verify neighbor
adjacency
• - ping and traceroute – confirm connectivity
• - show ip route ospf – check learned OSPF
routes
Challenges Faced
• 1. Adjacency not forming due to IP
misconfiguration
• 2. Mismatched OSPF Process ID caused
confusion
• 3. Area mismatch between R2 and R3
• 4. Redistribution errors leading to loops
Lessons Learned
• - OSPF requires a deep understanding of
network topology
• - Always verify interface configuration before
setup
• - OSPF area structure is crucial for scalability
• - Troubleshooting commands are essential
(e.g., debug ip ospf adj)
Conclusion & Recommendations
• This project demonstrated practical
implementation of OSPF with:
• - Area design
• - Working services
• - Packet captures
• - Tools used: Packet Tracer
Network Topology Diagram
Sample Topology: R1 <-> R2 <-> R3
LANs: [Link]/24, [Link]/24, [Link]/24
Router IPs and Area Allocation
Router Interface IP Address Area
R1 G0/0 [Link]/24 0
R1 G0/1 [Link]/30 0
R2 G0/0 [Link]/30 0
R2 G0/1 [Link]/24 1
R3 G0/0 [Link]/24 1