Frr01
| Description | A 3-node ring of FRR routers with OSPF IGP |
| Components | FRR |
| Resource requirements1 | 2 2 GB |
| Topology file | frr01.clab.yml |
| Name | frr01 |
| Version information2 | containerlab:0.71.0, quay.io/frrouting/frr:containerlab-10.7.1, docker-ce:28.5.2 |
Description#
This lab example consists of three FRR routers connected in a ring topology, running OSPF between them. Each router has one PC connected to it, reachable over static routes.
Earlier versions of this lab used FRR containers with the linux kind and explicit configuration bind mounts. This version adapts that work to the native frr kind, making FRR a first-class citizen with managed configuration and daemon selection.
The routers use the frr kind. Each one gets its configuration from a startup-config file, which containerlab renders into the node's /etc/frr/frr.conf:
The lab only runs OSPF, so the routers group narrows the daemons down from the default of all of them:
Setting this on the group rather than on each node means all three routers share the list. See Daemons for the full set of names.
To start the lab:
The PCs configure their own interfaces and routes through the exec statements in the topology file, so the lab needs no further setup.
Verification#
Check that OSPF has come up on each router:
Each router should have two neighbours in the Full state. The PCs can then reach each other's networks:
The lab configuration is documented in detail at: https://www.brianlinkletter.com/2021/05/use-containerlab-to-emulate-open-source-routers/