OPNsense Forum

English Forums => High availability => Topic started by: mcsego on March 30, 2023, 01:46:41 am

Title: HA carp failover switch need 5 min to connect internet Hetzner vswitch
Post by: mcsego on March 30, 2023, 01:46:41 am
I have 2 servers from Hetzner and I'm using Proxmox on both of them. Each server has 2 instances of OPNsense as virtual machines. I have assigned a public IP subnet /29 in vSwitch for both servers.

Here is my setup:

For each OPNsense instance, I have assigned an IP address from the vSwitch subnet as the WAN interface, which I can directly access from the IP (I think this works fine).

I have tested 2 different setups with the same result:

1. I have created a second WAN interface with the IP address that will be used for failover and the LAN CARP address (for both OPNsense instances).
2. I have entered the LAN and WAN CARP addresses.

The problem is that when I test by shutting down the master OPNsense and the failover to backup works, it takes 4-7 minutes for the internet connection to suddenly come up and be pinged. What could be causing this delay? Or is this normal? The same delay occurs when I turn on the master again, taking 4-7 minutes to switch back.

I would be grateful for any help.