Page MenuHomeVyOS Platform

Failover Route using DHCP provided gateway
Open, NormalPublicFEATURE REQUEST

Description

It would be extremely useful to be able to use failover routes using DHCP provided gateway, instead of having to specify the next-hop.

For example something like:

set protocols failover route 1.2.3.4/32 dhcp-interface 'eth0' check target '1.1.1.1'
set protocols failover route 1.2.3.4/32 dhcp-interface 'eth0' check timeout '5'
set protocols failover route 1.2.3.4/32 dhcp-interface 'eth0' check type 'icmp'
set protocols failover route 1.2.3.4/32 dhcp-interface 'eth0' interface 'wg2'
set protocols failover route 1.2.3.4/32 dhcp-interface 'eth0' metric '10'

Details

Difficulty level
Unknown (require assessment)
Version
-
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible
Issue type
Improvement (missing useful functionality)

Event Timeline

100% agree. I have submitted a similar feature request here:

https://vyos.dev/T5647

Do static addresses/gateways work stable enough?

Oops, I didn't see T5647! Sorry! I guess this one can be closed as a duplicate.

Static next-hop addresses with failover routes work fine for me.

Can confirm, short term testing worked.

I couldn't test long term as I had to statically assign my DHCP assigned IPs for testing.

Viacheslav triaged this task as Normal priority.Jan 14 2024, 8:13 PM