Page MenuHomeVyOS Platform

Add zebra option ip nht resolve-via-default as default option
Open, LowPublicFEATURE REQUEST

Description

Use zebra option ip nht resolve-via-default as default option
Next Hop tracking route via default route allows not have a neighbor route in IGP when it is not directly connected neighbor (ebgp multihop)

vyos@r14# vtysh -c "show run zebra"
Building configuration...

Current configuration:
!
frr version 8.3
frr defaults traditional
hostname r14
log syslog
log facility local7
agentx
service integrated-vtysh-config
!
ip nht resolve-via-default
!
end

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

@Viacheslav Do you just want this option added to the zebra config, or you it also be possible to enable/disable this via the conf mode?

  • What would the preferred confmode command be?
  • Should the IPv6 equivalent also be added?
  • Should this also be default in all VRFs?

I prefer to get this option configurable if it is possible
For IPv6 and VRFs - nice to have.
As it is used in BGP, I see something like set protocols bgp parameters next-hop-track resolve-via-default
Or, as it was mentioned in T3500
set routing-options next-hop-track resolve-via-default but it will be an additional node with only one option, needs to think

set system ip(v6) nht

@c-po @dmbaturin what do you think?

While reading the FRR docs I see it is only used in BGP and nowhere else. That would make something like set protocols bgp parameters next-hop-track resolve-via-default logical.

set protocols bgp parameters nht-resolve-default or something, since there are no other NHT options as far as I can see, unless the ip nht $protocol route-map stuff is going to be implemented as well.

I am more +1 on set system ip(v6) nht because what happens if out of random another protocol will support this? Also it's a zebra option as you described, not a bgpd option.