Community discussions

MikroTik App
 
fvlaicu
just joined
Topic Author
Posts: 7
Joined: Sun Mar 29, 2020 2:39 am

VRRP and split networking

Wed Oct 26, 2022 9:11 am

Hello,

I have a couple of physical boxes that have 6 NICs. I have installed ESXi on them and then I passed the NICs to a different router.
I bridged those NICs with a virtual NIC that's in the same switch as the CHR I use as CAPsMAN.

Since I have 2 boxes, I setup CAPsMAN to listen on a VRRP interface. Here's the problem:

Let's say CHR1 and CHR2 are the 2 mikrotik intances and they're both behind a vSwitch that has a VM as its uplink. CHR1 is the primary and CHR2 is the secondary.
When I reboot the router of CHR1, then CHR2 takes over. However this partitions the network between the 2 CHRs. CHR1 doesn't think it needs to step down and when its router comes back up it takes over primary duties since there will be two MASTERs and the primary has a higher priority.

Can I add a health check script to VRRP?

The other thing I'm thinking of doing is run a script every minute and disable VRRP on the node if there's no response from its router,

Who is online

Users browsing this forum: Shambler and 31 guests