Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I want to put a bandwidth limit on the 8000 port. The limit not have to be global! It must be per connection! For example if i put a 20kB/s limit on the 8000 port and I have 3 clients connected to the port, i want that each have the 20kB/s. How can I do that? I readed something about TC, but i don`t know how to use it... I`m a little noobie Sorry for my bad english
I want to put a bandwidth limit on the 8000 port. The limit not have to be global! It must be per connection! For example if i put a 20kB/s limit on the 8000 port and I have 3 clients connected to the port, i want that each have the 20kB/s. How can I do that? I readed something about TC, but i don`t know how to use it... I`m a little noobie Sorry for my bad english
192.168.0.4 -> 64kbps
192.168.0.4 -> 64kbps
192.168.0.4 -> 64kbps
ANOTHER IP -> 64kbps
ANOTHER IP -> 64kbps
Each connection to the port from any IP, have to be limited to 64kbps. If a single IP connects 3 times simultaneously i want each connection to be limited to 64kbps. How can I do this?
You received two suggestions. Did you try them? What were the results? Or maybe you ignored them? Hint: you won't get favorable responses if you simply ignore the ones offered.
I received just a suggestion (the managed switch) and I already answered. I do not have physical access to the server. is a dedicated server and I can not mount switches and other devices. limiting must be made in linux
I'm going to chime in here, and I could be wrong - but about the only way I see that you can rate limit Ethernet connections to your server will be to "create" individual interfaces for each connection. The only way I can think of to do that would be pppoe. As a connection is made, a virtual interface is created, and is controllable via simple commands, or implemented the "right" way that connection would be controllable via radius.
The only other way I can think of would be to employ a proxy server like squid, but I don't know squid well enough to be sure.
So there it is, if I'm wrong I'll consider myself to have been slapped with a large trout.
greezmunkey
Last edited by greezmunkey; 05-24-2010 at 09:27 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.