I have a HA pair with two business edition nodes. WAN address is acquired by DHCP but as it is really a fixed one (datacenter I'm using just makes it easy to start with DHCP), I would like to put fixed IP configuration to nodes. The problem is that default gateway of master and backup units is different (a fact dictated by datacenter's infra). I can configure things working just fine, but when configuration is synced from master to backup node also the gateway settings are overwritten. This results in backup node losing connectivity.
I tried to configure both upstream gateway settings to master (with master's upstream gateway using higher priority) as OPNsense seems to understand that a gateway which is outside from node's WAN network range is not valid. It even displays it in backup node's UI as such. But it still attempts to use master's gateway setting in backup, resulting in a configuration without default gateway in backup node.
I wonder if OPNsense could use next upstream gateway (the one with lower priority) when it finds out that highest priorty gateway ip is outside WAN's ip range ?
For the time being, I can keep nodes with DHCP enabled on WAN. But there have been a couple of incidents with DHCP's reliability (not in OPNsense, but in datacenter's infra) so eventually a fixed IP would be preferred.