Hello!
There is a bug when using the podman bridge interface in a policy.
Example:
set container name busybox image 'busybox' set container name busybox network NET01 set container network NET01 prefix '10.0.0.0/24' set policy route testing interface pod-NET01 set policy route testing rule 1 source address 10.0.0.2 set policy route testing rule 1 set table 100
This work fine after commit, but it fails to apply on reboot, probably because the policy is being applied before the podman network/interface pod-NET01 exists.
After reboot:
$ configure WARNING: There was a config error on boot: saving the configuration now could overwrite data. You may want to check and reload the boot config [edit] # load Loading configuration from 'config.boot' Load complete. Use 'commit' to make changes effective. [edit] # compare [policy route] + testing { + interface "pod-NET01" + rule 1 { + set { + table "100" + } + source { + address "10.0.0.2" + } + } + } [edit]
Running load/commit makes everything work again.