Alternative products such as Vyatta enable me to configure VRRP interfaces on a router in a group such that failure of a single interface in a group causes all interfaces in that group to go offline. This helps ensure that a virtual router with multiple VRRP instances will fail over correctly in the event of the failure of one of those interfaces.
I’ve tried and failed to set this up using scripting.
Hi.
I have two Mikrotiks. First - main, secondary - reserve.
I use vrrp and have 3 vrrp interfaces:
-vrrp_lan
-vrrp-wan
-vrrp-vlan91
I want creat sync group, but ros not support it.
So, I finde here small script end modified it.
Mikrotik-1 have priority 200, Mikrotik-2 have priority-100.
On Mikrotik-2 f have two scripts.
If any vrrp interface is down:
For example, on Mikrotik-1 interface vrrp_lan is down. Then script on Mikrotik-2 change priority for interfaces vrrp-wan and vrrp-vlan91 from 100 to 250 and. Priority for interface vrrp-lan will 100. It help if vrrp-lan up on first router. If vrrp-lan up on first router, secondary script on Mikrotik-2 executed and make priority for vrrp-wan and vrrp-vlan91 100.
But I have any problems.
Simetimes, when some interface on Mikrotik-1 is down, I have priority for all vrrp-interfaces on Mikrotik-2 is 250. It prevents switch on Mikrotik-1 when all is well.