Community discussions

MikroTik App
 
Busby
just joined
Topic Author
Posts: 1
Joined: Fri Mar 24, 2023 1:50 pm

VRRP : Track BGP status?

Fri Mar 24, 2023 1:54 pm

I'm trying to setup VRRP between our Microtik and a Cisco router.

VRRP is setup fine and the Microtik is the master with the Cisco as backup as planned.

The Microtik has a BGP session with our ISP and I want VRRP to decrement it's VRRP priority if this BGP session drops so that the Cisco takes over as master. When the BGP session re-establishes I would like the VRRP priority to return to normal so that the Microtik becomes the master again.

I'm guessing this has to be done via a script but I can't find one to do this. I'm obviously quite new to Microtik so any help much appreciated.

With Cisco/Juniper etc you can just setup a track to monitor the default route being received via BGP so hopefully there is something similar for Microtik.

Thanks!
 
DarkNate
Forum Veteran
Forum Veteran
Posts: 997
Joined: Fri Jun 26, 2020 4:37 pm

Re: VRRP : Track BGP status?

Fri Mar 24, 2023 9:34 pm

Sounds like you're talking about edge routers for IP Transit/IXP/PNI?

In which case, you shouldn't be using VRRP, but have a proper network architecture whereby you set up iBGP with OSPF underlay between the routers, and correctly configure local pref and other BGP attributes in each other for received routes and exported routes.

VRRP is stateful, stateful doesn't help with line rate routing.

Who is online

Users browsing this forum: Google [Bot] and 74 guests