VRF Support

Submitted by -
Status: New Idea

This has been mentioned elsewhere but worth adding to the fancy new Feature Requests section.

Latest updates (patches/binaries/etc) in VRF for EdgeOS at http://community.ubnt.com/t5/EdgeMAX/VRF-Patches-and-working-binaries-inside/m-p/808108 - most of the info below is outdated by this link.

Working vyatta templated for this already exist: https://github.com/upa/vrf-vyatta

The following dependancies are required before the vyatta templates can be used:


1. Quagga with multi-vtysh patches applied. I have backported the patch to apply cleanly to the version of quagga included in the GPL bundle (https://dl.dropboxusercontent.com/u/97241/vyatta-quagga-ubnt-multi-vtysh.patch)

2. Updated iproute2 (3.11.0-1 from upstream Debian Jessie works. Version in wheezy should also work but I encountered issues cross compiling it).

3. Kernel network namespaces (already in v1.3.0alpha2, woot!)

4. Updated kernel for additional namespace functionality, or backporting patches (https://github.com/unicell/redpatch/commits/rhel-2.6.32-358.6.2.ns.el6) - probably the biggest blocker as a newer kernel will require use of an updated cavium SDK. Backporting the features should work though and may be easier to achieve. I seem to recall rumours about a newer SDK version being required for new models so this may only be an issue for the existing ERL/ER-PoE models.


For the adventurous pre-built binaries for the updated iproute2 and patched quagga can be found in the beta forums. Worth testing out even if just to ensure that the patches don't cause any regressions with existing functionality.

by Previous Employee UBNT-ancheng
on ‎10-12-2013 08:17 AM

Yes as we discussed before, the main one is the newer kernel requirement and hopefully we can address that at some point. Thanks for your contributions!

on ‎10-25-2013 02:26 PM

This is definately a must have to separete networks from each other and be able to use OSPF.

on ‎12-28-2013 12:38 PM

Any news on VRF ?

on ‎12-28-2013 06:37 PM

If you're running the latest beta you can install the templates and the patched quagga (kernel and iproute2 dependancies are already rolled in! Man Very Happy) and test it out if you're brave.

on ‎04-23-2014 01:16 PM
on ‎11-25-2014 01:41 PM

Nothing new on VRF ?

on ‎01-06-2015 07:17 AM

Does this implementation of VRF work over GRE with the Edgerouters?



on ‎03-09-2016 02:25 AM

Hope to see VRF in v1.9 Ubnt Banana

on ‎07-11-2016 05:35 AM

Has this been made a little more graceful than the post that @NVX made?

on ‎07-11-2016 05:40 AM

The new routing stack in 1.8 changed a lot of things making most of the work originally done useless.


That said the new routing stack does have pretty good VRF support by the looks of it, it just needs to be enabled, but being a closed platform it's going to be a bit harder for a non-ubnt dev to do anything with it I suspect.