Mikrotik VVRP with tracking

Hello

I would like to ask you if someone can help me :slight_smile:

I have two routers, in VVRP mode.
One MT and one Cisco.

Cisco has prio 95 and MT has prio 100.

If Cisco detects a down interface (ip sla …) it lowers its priority.

How can do the same in MT too?

I would like that MT pings and external host
if external host (maybe the device at my carrier IDC) doesnt respond to pings, it lowers its priority to a given value, then it restores to 100 if the host become reachable again.

Can someone help me?

read here about RouterOS VRRP configuration:
http://wiki.mikrotik.com/wiki/VRRP

should note, that you have to use BRRP feature of master and backup routers rather than lower some priorities at random.

Hello. Thank you for your reply.



Having Router A and B, each one connected to his line via eth1 interface (for example), my problem is that happens that the interface stays up, but the link is failed. I can check the link functionality via ICMP ping to a remote uplink.

With Cisco I do it using “ip sla icmp ping echo..” when it fails, it lowers the priority to a given number till the device is reachable again.
In MT I havent found anything similar.

My problem is not that the VVRP members of the group fail, but that their uplink line is failing.

You can do the same. Run netwatch (or scheduler) to monitor gateway. if gateway is down run the script which changes priority.

Nice! It seems like ip sla feature on cisco.

Do you have an example on hand?

thank you

/tool netwatch add host= down-script=“/interface vrrp set [find name="vrrp-interface-name"] priority=111”

super!
thank you

But I cannot chose the source interface to send the icmp packet, right?

/interface vrrp set name=“VRRP 5 Ridondanza Fibra su C877 RA” priority=80


doesnt work. It asks me “numbers” ?