OPNsense Forum

English Forums => High availability => Topic started by: Gleeen on March 26, 2025, 05:23:26 PM

Title: [Solved] Dynamic route missing on secondary node
Post by: Gleeen on March 26, 2025, 05:23:26 PM
I've got the following HA setup running on version 25.1.3:






ISP router192.168.0.1
Node A192.168.0.101
Node B192.168.0.102
CARP Virtual IP192.168.0.100

The issue is that, when node B has a statically assigned IP address it won't respond to ping and outbound ping fails with the error "sendto: Invalid argument".
When the same address is assigned via DHCP or when node A is not reachable I can see the following dynamic route appear and at the same time the pings start getting responses.
2025-03-26_16-50-19.jpg
Once I switch back to a static IP or node A comes back online, the route disappears again and the responses stop.
Clearly this route to the Subnet is what's missing and I can see routes just like it for all my other VLANs.

To recap:

This setup had been working well for years. Due to some issues with a new router sent by my ISP I fiddled with some of the settings (IPv6 disabled, interface IP temporarily changed to different IP and reverted) and afterwards I noticed this issue.

Does anybody have an idea why this route keeps disappearing or where I could look to begin troubleshooting this issue?

Thanks
Title: Re: [Solved] Dynamic route missing on secondary node
Post by: Gleeen on March 26, 2025, 05:30:07 PM
Nevermind. I was looking through everything once more and found the issue. When making the changes the subnet mask for that interface accidentally got changed from /24 to /32. Correcting this back to /24 made the route reappear.