-
Notifications
You must be signed in to change notification settings - Fork 147
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ENHANCEMENT] Jail VNET with Netgraph #262
Comments
Greetings, I spent last week on exploring netgraph networking for jails and here what I want to share/propose for this ENHANCEMENT
PS: IMHO, netgraph is highly extendable :) Thanks for reading. Cheers, |
I haven't used netgraph yet - still need to look into it - but I have used epair and bridge. My experience is that those scripts under I've found vnet networking to be really good, so I'll be happy to experiment with this in Bastille. What are the advantages of netgraph over epair? I couldn't find much information on that. I vaguely remember seeing a post somewhere that said that epair is single-threaded for all instances which seemed like quite a limitation... but don't quote me on that. |
@patmaddox regarding advantages: In my small lab testing, I found netgraph to significantly increase performance for running my database, web server, and pf jails on the same host. It is also more configurable than epair. See link below for more details: https://people.freebsd.org/~julian/netgraph.html I don't have the specific data now, but I could probably set up some tests with enough time :) |
@PetruGarstea is this still a valid feature request?? I want to confirm before I put it on the list to work on it. @cedwards any thoughts on this one?? Seems a little out of scope of the bastille project to me. A template for this I could see. NOT bastille code changes. |
Upon more reading on this, this request should be solved using a template. This would allow anyone with their jails setup as vnet jails to apply a template for netgraph to that jail(s). Action item: build a netgraph template |
Agreed. |
per documentation, the kernel must be compiled with netgraph enabled in it. |
Is your feature request related to a problem? Please describe.
N/A
Describe the solution you'd like
N/A
Describe alternatives you've considered
Any plans to implement VNET Jails with Netgraph ?
ref:
Additional context
In my setup the current traffic accounting is done with ng_netflow, traffic passed from epair interfaces via if_bridge is not being counted, I am wondering if change the networking to jng would ng_netflow count the traffic originated from VNET jails.
The text was updated successfully, but these errors were encountered: