OSPF sets via set protocols ospf interface 'pod-test' area 0.0.0.0 when pod-test is a container network fails while committing.
error message:
[ protocols ospf ] Interface "pod_test" does not exist! [[protocols ospf]] failed Commit failed
Could confirm both OSPF v2 & v3 are affected
Reproduce
configure # network set container network test set container network test prefix 172.17.0.0/24 set container network test prefix fd00:172:17:0::/64 # In my case, I use a BIRD container here, # but any dummy container is enough set container name dummy image alpine:latest set container name dummy network test set container name dummy command 'tail -f /dev/null' commit # make sure pod-test is up # OSPF v2 set protocols ospf interface 'pod-test' area 0.0.0.0 commit # OSPF v3 set protocols ospfv3 interface 'pod-test' area 0.0.0.0 commit
Workaround: for OSPFv2 only, set via set protocols ospf area 0.0.0.0 network 172.17.0.0/24 works.
Workaround 2: use podman directly to setup a bridge container network and naming it without hyphen works.
podman network create \
--driver bridge \
--subnet 172.17.0.0/24 \
--subnet fd00:172:17:0::/64 \
--gateway 172.17.0.1 \
--opt com.docker.network.bridge.name=test \
testTried on vyos-2025.04.17-0018-rolling.