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
network > > area 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/24 OSPF Area 0 — 10.0.0.0/8 192.168.2.0/24 PC-A 192.168.1.10 PC-B 192.168.2.10 R1 192.168.1.1/24 OSPF RID: 1.1.1.1 SW1 (L2) Catalyst 2960 — No OSPF R2 192.168.2.1/24 OSPF RID: 2.2.2.2 Gi0/0 ←→ Fa0/1 Fa0/2 ←→ Gi0/0 OSPF Adjacency FULL R1 (1.1.1.1) ↔ R2 (2.2.2.2) Area 0 OSPF Routes Learned ⇄
R1
R2
Router>
Router>