Getting OpenBSD image#
Managing OpenBSD nodes#
Containers with OpenBSD inside will take ~1-2 min to fully boot.
You can monitor the progress with
docker logs -f <container-name>.
OpenBSD node launched with containerlab can be managed via the following interfaces:
Default user credentials:
eth0- management interface (vio0) connected to the containerlab management network
eth1+- second and subsequent data interfaces (vio1, vio2, etc.)
When containerlab launches OpenBSD node, it will assign IPv4/6 address to the
eth0 interface. These addresses are used to reach the management plane of the router.
eth1+ need to be configured with IP addressing manually using CLI.
Features and options#
OpenBSD nodes come up with a basic configuration where only the management interface and a default user are provisioned.
save command will perform a configuration backup for
OpenBSD nodes via SCP. The entire
/etc directory of each node will be archived and saved under
backup.tar.gz file and can be found at the node's directory inside the lab parent directory:
If the backup file is present upon the node's boot, it will be transferred to the node and extracted.The node will then reboot to apply the restored configuration.
The following simple lab consists of two Linux hosts connected via one OpenBSD host: