OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • High availability »
  • HA carp failover switch need 5 min to connect internet Hetzner vswitch
« previous next »
  • Print
Pages: [1]

Author Topic: HA carp failover switch need 5 min to connect internet Hetzner vswitch  (Read 852 times)

mcsego

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
HA carp failover switch need 5 min to connect internet Hetzner vswitch
« 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.
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • High availability »
  • HA carp failover switch need 5 min to connect internet Hetzner vswitch
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2