OPNsense Forum

English Forums => General Discussion => Topic started by: pfry on November 25, 2025, 04:34:27 PM

Title: FIB/VRF support in OPNsense
Post by: pfry on November 25, 2025, 04:34:27 PM
There have been a few discussions of this in the fora; I didn't see any relevant github requests.

Would anyone be up for FIB/VRF support?

It could be implemented pretty simply. As with many OPNsense features, you could use VRFs/FIBs to really screw yourself up. But I think the feature would be quite usable. The beauty is that default behavior would not change in any meaningful sense, and it could be tested to a considerable extent without (GUI) implementation.

Details:

Possible kernel compile option: "options ROUTETABLES=n". Apparently the standard kernel can be configured (using "net.fibs", as below) for at least n=2. Appropriate setting? I imagine it would depend on impact, if any.

System:

Interfaces:

Firewall:

I've likely missed (quite) a few... e.g. "fib" for ping, trace.

Possible caveat: "route" may be fussy with fib > 0 - it might require an "up" interface in the fib in order to add routes. I'm not sure if this is a non-default behavior, as I haven't tested it.
Title: Re: FIB/VRF support in OPNsense
Post by: pfry on November 25, 2025, 05:43:59 PM
Forgot to mention: frr. Should support fibs; I haven't used it.