Page MenuHomeVyOS Platform

VRF: when SSHd is VRF bound all commands are executed in VRF context
Open, HighPublicBUG

Description

All three VyOS routes have a MGMT VRF bound to eth0. Also SSH is bound to this VRF.

When you connect via SSH and run e.g. ping, ssh, traceroute those commands are launched inside this MGMT instead of the default VRF which I would expect.

image.png (335×636 px, 36 KB)

Command like ping, traceroute or ssh (op-mode wrapper needed) should be launched via ip vrf exec default <command> unless a VRF is specified.

Details

Difficulty level
Normal (likely a few hours)
Version
1.3-rolling-202008040823
Why the issue appeared?
Other
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Improvement (missing useful functionality)

Event Timeline

c-po changed Difficulty level from Unknown (require assessment) to Normal (likely a few hours).
c-po changed Why the issue appeared? from Will be filled on close to Other.
erkin set Issue type to Improvement (missing useful functionality).Aug 29 2021, 1:34 PM
erkin removed a subscriber: Active contributors.