How to make a FreeBSD vrf #22033
Replies: 4 comments 4 replies
-
|
This actually is a pretty terrible example considering I don’t use a loopback at all, rather to get from lan -> core I could use loopback just fine, but to get from lan -> core -> wan it needs something besides 127.0.0.1 as a src net.. maybe there is a better way than what I’m doing (I just use epair links between VRFs and the core VRF and it essentially lets me do a cute thing that vaguely resembles route leaking and basic policy / restriction using reject/blackhole which I really like, I love this. I want to do just slightly more than this, and setup VXLAN/EVPN with another server and get away from using VLANs . I didn’t have a lot of time to mess around with lo to see if I could make it work for me instead of using epairs, but it’d be nice for sure but not a problem really. |
Beta Was this translation helpful? Give feedback.
-
|
Line 45 in 2b5e48c Line 92 in 2b5e48c |
Beta Was this translation helpful? Give feedback.
-
|
So from a FRR perspective someone needs to spend some time |
Beta Was this translation helpful? Give feedback.
-
Summary of Work that needs to be doneI'm planning to write this myself (I don't really trust the LLM to do a very good job at least there won't be anything in the patch that I haven't personally curated or written from scratch. This proposal is based on what work Gemini thinks needs to be done, and give or take my own understanding is approximately the same. My own understanding is also largely based on what I already know about FreeBSD's networking stack. I'm going to check all of these first but just in case I'm posting this here so that anybody interested in this can be looped in and provide feedback ahead of time. This document outlines the roadmap for adapting FRR's VRF implementation to support FreeBSD FIBs (Routing Tables). Technical Constraints & Standards
1. Zebra VRF & Interface Integration
2. Kernel Routing Socket (Writes)
3. Kernel Message Reading (Reads)
4. Socket Options & VRF Bind
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Beta Was this translation helpful? Give feedback.
All reactions