Page MenuHomeVyOS Platform

vrrp route tracking
Open, WishlistPublicFEATURE REQUEST

Description

Summary

VRRP should have a feature that will check if a route is reachable (ie, presence of the route in the routing table). Based on the presence of the route it would dynamically change the priority of the VRRP group.

Juniper supports a feature similar to this: https://fryguy.net/2019/11/14/junos-vrrp-with-tracking/

Use case

We would like to ensure that the router has a 0/0 route installed. In our case, the route is received from an upstream BGP neighbor. If the route is not present, decrementing the VRRP priority and a possible state change to standby is desirable.

Additional information
n/a

Details

Version
-
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Feature (new functionality)

Event Timeline

Viacheslav triaged this task as Wishlist priority.May 21 2025, 7:48 PM
Viacheslav subscribed.

Send a real example from keepalived if you know how to implement this

@Viacheslav Unfortunately, I don't know how to implement this.

There is a repo for VRRP https://github.com/acassen/keepalived that we use
So it it necessary to understand how it looks like natively for keeplived before it can be implemented

I am not a developer, so not sure how to implement this. This is a request for new functionality.

I am not a developer, so not sure how to implement this. This is a request for new functionality.

We are also not developers of the keepalived repo, this is 3-d third-party repo. So it is necessary to understand and explain that if keepalived maintainers do not support this feature, we cannot use it in our configs :)
So this feature tends to be dead.