The ole CARP over LAGG "issue"

Started by hitechhillbilly, July 01, 2020, 06:55:09 AM

Previous topic - Next topic
So I have some firewalls that are using OPNsense based (non-LACP) load balancing based LAGG on OPNsense 20.1. I am also running two routers. The LAGG is hooked to two different switches. When I enter persistent CARP on the the "main" router or reboot it, the LAGG interfaces do not move to master on the "backup" router. I have put in the net.inet.carp.senderr_demotion_factor=0 and net.inet.carp.preempt=1 tunables but still no dice.

Am I missing something?


July 01, 2020, 07:48:11 PM #2 Last Edit: July 01, 2020, 07:59:29 PM by hitechhillbilly
Quote from: mimugmail on July 01, 2020, 09:28:31 AM
Anything in logs? How is cabling done?

Its actually a simple design. A simple mesh using host based LAGG.. Each router has one member of the LAGG on each switch.

Also nothing of note in logs.




It's more stable to connect fw1 on switch1 with lagged IF and fw2 to switch2

This is still an issue. I have updated to 20.7 on both routers. I recabled the routers as suggested earlier.


Same issue as before. All interfaces (VLANS) on the LAGG do not fail over when the active router is rebooted.


Isnt the dc feed connected to the switch? How does carp work there?

August 24, 2020, 11:17:38 PM #8 Last Edit: August 25, 2020, 10:01:06 AM by rainerle
I had the same problem (https://forum.opnsense.org/index.php?topic=14374 ).

Can't you get rid of the lagg/LACP and separate the VLANs over the two connections?

Maybe something like
- LAN
- WAN
- internal VLANs
and each router is connected to one switch. As in the picture...

Datacenter feeds into a switchport on each switch first assigned to the same VLAN. If one feed fails both OPNsense still have access.