How ashwin52/ospf-capstone works
This repository is a six-router Containerlab lab for demonstrating OSPF routing and resilience. The user deploys the topology, then observes neighbor formation, route propagation, ECMP, failure detection, reconvergence, recovery, and end-to-end connectivity. Router configuration supplies FRR/OSPF settings; the documented Bash verification script checks lab nodes, neighbors, ECMP, and connectivity. Relationships reflect the README and tree; no source excerpts were available, so implementation-level wiring beyond documented deployment and checks is not inferred.
Main entry points: r1/frr.conf OSPF protocol · verify.sh Automated checks · r2/frr.conf Equal-cost paths · ospf.clab.yml Lab topology
Components 19
Lab deployment
- Lab topology
ospf.clab.yml - Containerlab
- Docker runtime
OSPF routing
- Router R1
configs/r1/frr.conf - Router R2
configs/r2/frr.conf - Router R3
configs/r3/frr.conf - Router R4
configs/r4/frr.conf - Router R5
configs/r5/frr.conf - Router R6
configs/r6/frr.conf - OSPF protocol
configs/r1/frr.conf - Neighbor formation
configs/r1/frr.conf - Route propagation
configs/r1/frr.conf
Resilience demos
- Equal-cost paths
configs/r2/frr.conf - Link failure
configs/r2/frr.conf - Route failover
configs/r2/frr.conf - Link recovery
configs/r2/frr.conf - End-to-end reachability
configs/r1/frr.conf
Verification
- Automated checks
scripts/verify.sh
Other components
- Lab operator
Connections 27
- Lab operator → Lab topology: deploys
- Lab topology → Containerlab: defines lab
- Containerlab → Docker runtime: orchestrates
- Docker runtime → Router R1: runs
- Docker runtime → Router R2: runs
- Docker runtime → Router R3: runs
- Docker runtime → Router R4: runs
- Docker runtime → Router R5: runs
- Docker runtime → Router R6: runs
- Router R1 → OSPF protocol: configures
- Router R2 → OSPF protocol: configures
- Router R3 → OSPF protocol: configures
- Router R4 → OSPF protocol: configures
- Router R5 → OSPF protocol: configures
- Router R6 → OSPF protocol: configures
- OSPF protocol → Neighbor formation: forms adjacencies
- OSPF protocol → Route propagation: propagates routes
- OSPF protocol → Equal-cost paths: installs paths
- Link failure → Route failover: triggers
- OSPF protocol → Route failover: reconverges routes
- Link recovery → OSPF protocol: restores links
- OSPF protocol → Equal-cost paths: restores equal paths
- Router R1 → End-to-end reachability: tests reachability
- Lab operator → Automated checks: runs
- Automated checks → Neighbor formation: checks
- Automated checks → Equal-cost paths: checks
- Automated checks → End-to-end reachability: checks