# First practical lab — OSPF triangle
by @unix_jim | Isolated study environment only

## Environment
Three Cisco IOL routers in CML Free, using licensed images from Cisco. This fits the five-counted-node limit. Commands below are IOS-style teaching examples: verify available commands and interface names on your image. The topology/configurations have not been run on a Cisco appliance in this release.

## Connections and addressing
Link | Endpoint A | Endpoint B
---|---|---
R1 Ethernet0/0 — R2 Ethernet0/0 | 10.0.12.1/30 | 10.0.12.2/30
R2 Ethernet0/1 — R3 Ethernet0/0 | 10.0.23.1/30 | 10.0.23.2/30
R3 Ethernet0/1 — R1 Ethernet0/1 | 10.0.31.1/30 | 10.0.31.2/30
Loopback0 | R1 192.0.2.1/32 | R2 192.0.2.2/32; R3 192.0.2.3/32

Please Use a new isolated lab; DO NOT paste these into a production router.

### R1 example
```
configure terminal
hostname R1
interface Ethernet0/0
 ip address 10.0.12.1 255.255.255.252
 no shutdown
interface Ethernet0/1
 ip address 10.0.31.2 255.255.255.252
 no shutdown
interface Loopback0
 ip address 192.0.2.1 255.255.255.255
router ospf 10
 router-id 192.0.2.1
 passive-interface default
 no passive-interface Ethernet0/0
 no passive-interface Ethernet0/1
 network 10.0.12.0 0.0.0.3 area 0
 network 10.0.31.0 0.0.0.3 area 0
 network 192.0.2.1 0.0.0.0 area 0
end
```

### R2 and R3
Repeat the structure using the endpoint addresses above and each router's /32 loopback/router ID. R2 has networks 10.0.12.0/30 and 10.0.23.0/30. R3 has networks 10.0.23.0/30 and 10.0.31.0/30. Activate OSPF on the two connected Ethernet interfaces; leave Loopback0 passive.

## Baseline
1. Capture `show ip interface brief`, `show ip ospf neighbor`, `show ip ospf interface`, `show ip route ospf`.
2. Verify each router learns the other loopbacks and probe them with a loopback source where supported.
3. Record actual observed path/cost and timing. Do not assume exact timing or output.

## Fault A — adjacency timers
Change R1 Ethernet0/0 hello/dead intervals to 5/20 while R2 remains at its default values. Use the command reference appropriate to the image (`ip ospf hello-interval`, `ip ospf dead-interval`). Observe loss of adjacency; triangle reachability may remain through R3. Explain why service reachability alone would hide this degraded state. Compare both endpoint settings and restore the agreed values; verify neighbour and service recovery.

## Fault B — failure-domain test
Shut one lab link. Observe neighbour loss, route changes and continuous probes. Re-enable it and verify the baseline is restored. Explain the limits of using a small VM lab's timings to predict production convergence.

## Submission
Topology, software version, complete sanitised configs, dated baseline/fault/recovery output, hypothesis and explanation. Do not claim the lab passed until you ran and verified it.

## Remaining practicals
Each course module contains a separate assignment. Add raw evidence, not merely a completion tick. Fabric and SD-WAN exercises in this release are architecture exercises, not runnable complete controller labs.
