Page MenuHomeVyOS Platform

Make failover route vrf-aware
Closed, ResolvedPublicFEATURE REQUEST

Description

Summary
Since several features and services are VRF-aware, it would be good to also include protocols failover route

Use case
Multiple connections on a non-default VRF.
So far, the feature only alters the default routing table, and it would be good to extend its functionality.

Details

Version
-
Is it a breaking change?
Perfectly compatible
Issue type
Feature (new functionality)

Event Timeline

Unknown Object (User) triaged this task as Normal priority.Sep 11 2025, 9:13 AM

PR: https://github.com/vyos/vyos-1x/pull/4749

Added option:

set protocols failover route 10.11.0.110/32 next-hop 10.0.0.2 vrf red

And in case check needs other VRF than route:

set ... next-hop 10.0.0.2 check target '10.120.0.21' vrf blue
set ... next-hop 10.0.0.2 check target '10.120.0.21' interface eth1

(vrf to be used with icmp/tcp types and interface to be used with arp type)

Viacheslav changed the task status from Open to In progress.Sep 25 2025, 1:58 AM
Viacheslav assigned this task to hedrok.

In PR changed interface to

set vrf name red protocols failover route 10.11.0.110/32 next-hop 10.0.0.2

So that it is possible to have routes to same destination (e.g. default routes) in different VRFs.

dmbaturin changed Is it a breaking change? from Unspecified (possibly destroys the router) to Perfectly compatible.