Skip to content
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

prioritize internet traffic from local connections over traffic from the mesh #244

Closed
ilario opened this issue Sep 25, 2017 · 7 comments
Closed

Comments

@ilario
Copy link
Member

ilario commented Sep 25, 2017

For sharing the internet connection without worries of an eventual decrease of the original bandwidth for personal use, QoS/TC (quality of service, traffic control) can be used.
This setup should prioritize data coming from hosts directly connected to the gateway, while giving lower priority to internet traffic originated from other hosts of the mesh.

@amuuza
Copy link

amuuza commented Oct 4, 2017

Nice idea! I do not know what would be the best by-default setting for this, but I think it would be good if it could be easily configurable.

@ilario
Copy link
Member Author

ilario commented Oct 4, 2017

@amuuza I tagged this with epic 'cause I think it's quite epic to do this ;)
In my opinion this could fit a bachelor thesis or a GSoC.

@panosnethood
Copy link

Perhaps it is easier to allow an admin to set a "minimum" guaranteed bandwidth for the directly attached hosts? And perhaps make sure that this is not too high? :-) I guess there are already many already available tools to do this, no?

For a dynamic prioritization I am sure there are also tools, but it is more complicated and not always easy to "guarantee". So, the configurable minimum guaranteed rate is a good idea, I think.

(sorry and please ignore if this has been already discussed)

@G10h4ck
Copy link
Member

G10h4ck commented Dec 4, 2017

This proposal hasn't been implemented yet because while it can seems a simple thing at first glance it is not in our network model we have to answer some questions in an elegant way

What we consider directly attached host in a libre-mesh network, and how we detect them, or should the one that share the connection input a list of MAC/IP addresses of prioritized devices?
What is the bandwidth of the upstream connection (we need to know it to setup any working traffic prioritization policy), do we have some way to measure it or the one who share it should input this information?

@stale
Copy link

stale bot commented Mar 28, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the Stale label Mar 28, 2019
@stale stale bot closed this as completed Apr 27, 2019
@ilario
Copy link
Member Author

ilario commented Apr 28, 2019

Even if stale bot closed this, I still think users would love to have such feature. Still I recognize that, as @G10h4ck wrote, this is verry complex to implement.

@ilario
Copy link
Member Author

ilario commented Oct 5, 2019

A related discussion will go on on libremesh/pirania#3, libremesh/pirania#37, and #261

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants