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

Plans to support traffic limit for a MAC address #105

Open
NetForces opened this issue Jan 23, 2019 · 3 comments
Open

Plans to support traffic limit for a MAC address #105

NetForces opened this issue Jan 23, 2019 · 3 comments
Assignees

Comments

@NetForces
Copy link

Hi,

Great project and I see a lot of momentum on it right now. Is there any plans to support traffic control using device MAC address ?

@thombashi thombashi self-assigned this Jan 24, 2019
@thombashi
Copy link
Owner

thombashi commented Jan 24, 2019

Hi @NetForces,

Could you tell me more the details about "traffic limit for a MAC address"?
I am not sure what exactly means that.

Are you imagine the followings or any other ideas?

  • L2 level traffic control
    • this would probably impossible because of tc command not supported the feature
  • source/destination specifier options like --dst-macaddr/--src-macaddr
    • get a target IP address to incur traffic control from a mac address
    • this could be possible, but I am not sure the use cases

@NetForces
Copy link
Author

Yup options like --dst-macaddr/--src-macaddr

In a dynamic system where devices on the network get their IP from a DHCP server, the device IP may change over time. While a process to catch these and change the tc rules dynamically is possible it's a real pain. Using the mac address for traffic control means that you set it once for a physical device and do not have to touch it anymore, independant of it's IP address.

@thombashi
Copy link
Owner

Thank you for your explanation.

I understand the use case.
I will consider the feature for the future release.

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

2 participants