OPNsense Forum

English Forums => High availability => Topic started by: c-mu on January 12, 2022, 09:52:37 am

Title: HA Setup with different Networkcard vendors
Post by: c-mu on January 12, 2022, 09:52:37 am
Hi all,
I am planning a new HA setup for a branch. Is it possible to implement the whole thing with different hardware, specifically I imagine that server 1 gets a Mellanox card and server 2 an Intel. As far as I can remember, only the order and description of the interfaces must remain the same, or am I wrong?

The goal is that I want to spread the "risk" as far as possible, if there is a firmware bug or something similar, not both systems are affected.

Thank you!
Title: Re: HA Setup with different Networkcard vendors
Post by: bimbar on January 12, 2022, 12:12:32 pm
The interfaces must have the same name on both machines. Name means "optXX", not the name or description you choose in the frontend.
Title: Re: HA Setup with different Networkcard vendors
Post by: c-mu on January 12, 2022, 12:24:04 pm
Thanks, I think the opt names are assigned by OPNSense in ascending order, so there should be no problem with different networkcards, i just need to make sure the order is the same on both sides. so the theory.
Title: Re: HA Setup with different Networkcard vendors
Post by: mimugmail on January 12, 2022, 12:29:44 pm
No, also the driver names need to be unique or everything will fail:
https://docs.opnsense.org/manual/how-tos/carp.html
First warning box
Title: Re: HA Setup with different Networkcard vendors
Post by: bimbar on January 12, 2022, 05:01:38 pm
No, also the driver names need to be unique or everything will fail:
https://docs.opnsense.org/manual/how-tos/carp.html
First warning box

I see.
I have a cluster running with one physical and the backup virtualized, yet it does seem to work for me.
How can I find out if pfsync actually works? In Virtual IPs -> Status I can see the same pfsync nodes for both machines.
Title: Re: HA Setup with different Networkcard vendors
Post by: mimugmail on January 12, 2022, 07:46:12 pm
If you use Plugins which generates configs with interface names it will also not work