Page MenuHomeVyOS Platform

Add VRF support to VIF-S interfaces
Closed, ResolvedPublicFEATURE REQUEST

Description

Currently supported on VIF and VIF-C interfaces, add VRF support to VIF-S interfaces.

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

Thanks! Backported to equuleus branch.

Looks good on 1.4-rolling-202102010218 and 1.3-beta-202102010443:

vyos@vyos:~$ configure
[edit]
vyos@vyos# set vrf name test table 100
[edit]
vyos@vyos# set interfaces ethernet eth0 vif-s 100 vrf test
[edit]
vyos@vyos# commit
[edit]
vyos@vyos# exit
Warning: configuration changes have not been saved.
exit
vyos@vyos:~$ show version

Version:          VyOS 1.4-rolling-202102010218
Release Train:    sagitta

Built by:         autobuild@vyos.net
Built on:         Mon 01 Feb 2021 02:18 UTC
Build UUID:       46ccda2d-18c1-4582-be8c-1b3bdefb2da4
Build Commit ID:  27d0d96ccdcc2b

Architecture:     x86_64
Boot via:         installed image
System type:      KVM guest

Hardware vendor:  QEMU
Hardware model:   Standard PC (Q35 + ICH9, 2009)
Hardware S/N:     
Hardware UUID:    1b18bf47-3125-41f6-bee6-47837dc2428a

Copyright:        VyOS maintainers and contributors
vyos@vyos:~$ show vrf 

VRF name          state     mac address        flags                     interfaces
--------          -----     -----------        -----                     ----------

test              up        ea:0f:61:6e:8f:00  noarp,master,up,lower_up  eth0.100
vyos@vyos:~$ configure
[edit]
vyos@vyos# set vrf name test table 100
[edit]
vyos@vyos# set interfaces ethernet eth0 vif-s 100 vrf test
[edit]
vyos@vyos# commit
[edit]
vyos@vyos# exit
Warning: configuration changes have not been saved.
exit
vyos@vyos:~$ show version

Version:          VyOS 1.3-beta-202102010443
Release Train:    equuleus

Built by:         autobuild@vyos.net
Built on:         Mon 01 Feb 2021 04:43 UTC
Build UUID:       f0edd61b-8868-4537-913a-a4bce3f3ec11
Build Commit ID:  070e2e77e93f34

Architecture:     x86_64
Boot via:         installed image
System type:      KVM guest

Hardware vendor:  QEMU
Hardware model:   Standard PC (Q35 + ICH9, 2009)
Hardware S/N:     
Hardware UUID:    965e3c00-1113-4e3d-828a-c2f1394e5c99

Copyright:        VyOS maintainers and contributors
vyos@vyos:~$ show vrf

VRF name          state     mac address        flags                     interfaces
--------          -----     -----------        -----                     ----------

test              up        ee:25:7f:c1:4c:f4  noarp,master,up,lower_up  eth0.100
SrividyaA set Issue type to Improvement (missing useful functionality).Aug 30 2021, 6:06 PM