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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello,
i want to implement dynamic bandwidth management, i mean if i assign a user 20kb/s but if there is low traffic in network he could use more than 20k ,
if it's possible for all protocol not only http...
Thanks.
i found tc is a good tools for traffic shaping , also good example from lartc.org , but i dont really sure about it's performance for 200 user.....
Last edited by unSpawn; 06-11-2012 at 10:38 AM.
Reason: //Merge posts, retain 0-reply status
need more information about your hardware,network configuration,level of expertise.
do u have a good knowledge about bash scripting?
do u use ubuntu?
what book do u have about networking?
kernel-patch-wrr
Extension to traffic Control/network bandwidth management
The WRR scheduler is an extension to the Traffic Control/network bandwidth management part of the Linux 2.2, 2.4 and 2.6 kernels. The scheduler was developed to support distributing bandwidth on a shared Internet connection fairly between local machines.
-As a default all local machines will get equally much of the bandwidth if they have sufficient demand. This is obtained by doing so-called weighted round robin (wrr) scheduling.
-It is possible to give machines transferring much data over a long or short period of time less bandwidth.
-It can work on a bridge, a router or on a firewall.
-Supports accounting locally generated masqueraded packets to the correct local machine.
-On the WRR home page an extension is available which includes patches for Squid and the Nec socks5 proxy servers so that proxied packets can also be accounted to the correct local machine.
-Includes a configuration file based set of scripts that will setup everything without changing your basic network setup. The scripts will allow you to shape both incoming and outgoing traffic.
Thank you All,
I implement traffic shaping (fairness) on my network but now i have other problem , some users are using IDM or other internet downloader so there are unequal demand for internet , now i want to know, is there any way to equal internet demand (port 80)....
thanks for your help,
i have debian lenny server as default gateway ,and iptables as firewall , i use MASQUERADE for internet sharing and also have enough knowledge about writing bash script(not complex).
for info , i can replace iptables with other firewalls(inclulde Microtik)
Last edited by hesisaboury; 06-19-2012 at 07:06 AM.
Trickle is a voluntary, cooperative bandwidth shaper. it works entirely in userland and is very easy to use.
The most simple application is to limit the bandwidth usage of programs.
hi,
Trickle is good app for limiting bandwidth but it does not work with windows base downloaders, exp IDM,.. , well i was thinking about assigning every user a specific bandwidth but according to current active users (connected to port 80) in gateway, for example i count current users connected to internet and with dividing internet bandwidth(exp. 128kbit) by current users , i split bandwidth equally between users. the problem is i have to do it every for example 3 hours
any suggestion....
Last edited by hesisaboury; 06-19-2012 at 11:47 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.