Page MenuHomeVyOS Platform

VRF add route leaking support
Closed, ResolvedPublicFEATURE REQUEST


VRF route leaking needs to be added to CLI. Routes can be leaked using:

FRR vtysh: ip route vrf red nexthop-vrf default

This will add a routing table entry into VRF red for destination going via the default VRF

vyos# show ip route vrf red
Codes: K - kernel route, C - connected, S - static, R - RIP,
       O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
       T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP,
       F - PBR, f - OpenFabric,
       > - selected route, * - FIB route, q - queued route, r - rejected route

VRF red:
K [255/8192] unreachable (ICMP unreachable), 00:33:44
S>* [1/0] via, eth0.204(vrf default), 00:01:01

Question is now how should the CLI command be named?

An idea would be set protocols vrf <name> static route <subnet> next-hop <address> next-hop-vrf <vrf> which would mimic the CLI used by next-hop-interface.


Difficulty level
Unknown (require assessment)
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Feature (new functionality)

Related Objects


Event Timeline

c-po changed the task status from Open to In progress.Mar 9 2020, 7:28 PM
c-po claimed this task.
erkin set Issue type to Feature (new functionality).Aug 31 2021, 5:22 PM