OPNsense Forum

English Forums => High availability => Topic started by: Hunduster on February 22, 2024, 01:03:09 PM

Title: HA with two public subnets
Post by: Hunduster on February 22, 2024, 01:03:09 PM
Hello everyone,

I need your help for once.

I have two OPNsense running in an HA cluster. Both nodes are connected to a fiber optic connection.

On this connection we have two public 29 subnets, each with a gateway IP in the respective subnet.

Node 1 has the first public IP from subnet 1 and is running.
Node 2 has the first public IP from subnet 2 and is not coming out.

Each node shows its gateway as online but only Node 1 has Internet access.

Node 2 can only access the Internet if I deactivate the gateway from subnet 1, even though it is offline and I have set Auto Detect to Gateway 2 on the interface.

Can anyone explain why this is the case?
Title: Re: HA with two public subnets
Post by: Hunduster on February 23, 2024, 11:00:36 AM
Anyone?

I really have a comprehension problem right now.

Just to explain that again:

We have been assigned two different /29 subnets on a fiber optic connection by our provider. Each subnet has its own gateway.

The aim is for both nodes in the cluster to receive the IP addresses via CARP during failover.

I'm really at a loss as to how to implement this, even with the two different gateways