Cisco OSPF configuration lab

Unauthorized Access
This interactive lab is exclusively licensed to PacketTracerLab.com and cannot be used on any other domain or offline environment.
Visit PacketTracerLab.com
⚠ Unauthorized use or redistribution is prohibited.
Lab 23
OSPF — Single Area Configuration
Configure OSPF on R1 and R2, then verify neighbor adjacency
R1 Tasks
Gi0/0 → 192.168.1.1/24 no shutdown
router ospf 1
network 192.168.1.0 0.0.0.255 area 0
network 10.0.0.0 0.0.0.255 area 0
show ip ospf neighbor
show ip ospf
show ip route ospf
R2 Tasks
Gi0/0 → 192.168.2.1/24 no shutdown
router ospf 1
network 192.168.2.0 0.0.0.255 area 0
network 10.0.0.0 0.0.0.255 area 0
show ip ospf neighbor
show ip ospf
show ip route ospf
Quick Reference
router ospf 1
networkarea 0
show ip ospf neighbor
show ip ospf
show ip route ospf
show ip ospf interface
Wildcard: /24 → 0.0.0.255
192.168.1.0/24OSPF Area 0 — 10.0.0.0/8192.168.2.0/24PC-A192.168.1.10PC-B192.168.2.10R1192.168.1.1/24OSPF RID: 1.1.1.1SW1 (L2)Catalyst 2960 — No OSPFR2192.168.2.1/24OSPF RID: 2.2.2.2Gi0/0 ←→ Fa0/1Fa0/2 ←→ Gi0/0OSPF Adjacency FULLR1 (1.1.1.1) ↔ R2 (2.2.2.2) Area 0OSPF Routes Learned ⇄
R1
R2
Router>
Router>