Page MenuHomePhabricator

Add VRF support
Open, NormalPublicFEATURE REQUEST

Description

Details

Difficulty level
Easy (less than an hour)
Version
-
afics created this task.Mar 31 2016, 5:23 PM
afics renamed this task from Add VRFs support to Add VRF support.
afics updated the task description. (Show Details)Mar 31 2016, 5:29 PM

Some time ago @dmbaturin told me that it's pretty difficult to implement in 1.x
Just wondering if this should be added only to 2.x

afics added a comment.EditedMar 31 2016, 5:49 PM

I will look into it. I think it is feasible to add to 1.x, but we have to think about the cli. We have to treat the default VRF in a way, so it doesn't come in the way of users who don't want/need to use VRFs.

syncer triaged this task as Wishlist priority.Mar 31 2016, 7:38 PM
mickvav added a subscriber: mickvav.Apr 1 2016, 9:00 AM

If this will be included, someone has to make deep testing of quagga vrf-related patchset. Looks like it's described here: http://permalink.gmane.org/gmane.network.quagga.devel/11770 but I'm not sure, whether it's included in upstream quagga or not.

Absent full vrf or vrf-lite behavior, there is a means of achieving a subset of this behavior using only iptables.

My principal use case would be the creation of a "Management Interface."

afics added a comment.Sep 4 2016, 6:01 PM

@whiskeyalpharomeo you can do that already with the existing CLI.

mrciarano added a subscriber: mrciarano.
syncer assigned this task to dmbaturin.May 27 2018, 9:04 AM
syncer removed dmbaturin as the assignee of this task.Jun 10 2018, 4:33 AM
syncer set Version to -.
syncer edited subscribers, added: Core Community, Maintainers; removed: mickvav, syncer, UnicronNL and 2 others.
syncer edited projects, added VyOS 1.3.x; removed VyOS 1.2.x.Oct 7 2018, 6:37 AM
syncer raised the priority of this task from Wishlist to Normal.
syncer changed the subtype of this task from "Task" to "Feature Request".Oct 18 2018, 5:47 AM
rherold added a subscriber: rherold.EditedOct 18 2018, 8:34 PM

Hi

I will bring this up again. We have now in 1.2 all we need.

Kernel 4.18 which can be build with vrf enabled
FRR which can handle VRF
iproute2 which can handle VRF
Good documenation:

https://www.kernel.org/doc/Documentation/networking/vrf.txt
https://schd.ws/hosted_files/ossna2017/fe/vrf-tutorial-oss.pdf
https://cumulusnetworks.com/blog/vrf-for-linux/

So we need a kernel build with vrf enabled and have the command templates for it.