Page MenuHomeVyOS Platform

feature-request : ip nht resolve-via-default
Closed, DuplicatePublicFEATURE REQUEST

Description

Allows nexthop tracking to resolve via the default route. This is useful when e.g. you want to allow BGP to peer across the default route.

Ref : https://docs.frrouting.org/en/latest/zebra.html#clicmd-ipnhtresolve-via-default

Please add to VyOS command parameter.

sudo vtysh -c "conf t" -c "ip nht resolve-via-default"
sudo vtysh -c "conf t" -c "ipv6 nht resolve-via-default"
sudo vtysh -c "conf t" -c "do wr"
sudo vtysh -c "conf t" -c "do wr"

Details

Difficulty level
Unknown (require assessment)
Version
-
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)

Event Timeline

Hi @lawrencepan,

you have an idea how the VyOS CLI commands should look like?

@c-po
I propose to add "set routing-options x.x.x.x"
And also migrate protocols xxx route-map

set protocols bgp 65001 route-map RMAP
set protocols bgp|ospf|isis route-map RMAP

to

set routing-options import bgp|ospf|isis route-map RMAP
set routing-options nht resolve-via-default

Why move the protocol specific route map to a new CLI node? This makes no sense to me.

I would use: set system ip(v6) nht, as this node already exists

As I understand it a part of zebra, not specified to any protocol.
Maybe I'm wrong and we don't need it.

r6-roll(config)# ip protocol xxx route-map
syncer triaged this task as Wishlist priority.Oct 17 2021, 3:40 PM