Link to home
Start Free TrialLog in
Avatar of sreeji_vp
sreeji_vp

asked on

linux router machine + bandwidth limiting

i am using redhat 8.0 for as server for win98 clinets. i use dsl as my intenret provider. is there any software by which i can know the traffic used by the clients, and is it possible for me to limit the bandwith for the clients based of ip address. so tht everyone gets equal share.
Avatar of GregBolshaw
GregBolshaw

You can limit bandwidth either by using iptables --limit, or take a look at shaperd:

http://freshmeat.net/projects/shaperd/
I use squid running on an openBSD box, but Squid could be easily implemented on a Linux box as well.  Coupled with SARG, it provides me a detailed report of every website visited as well as bandwidth usage by user.  I'm not entirely sure, as I've had no need for the feature, but I'm sure it also allows bandwidth restrictions.

http://www.squid-cache.org
http://web.onda.com.br/orso/sarg.html
If you want to limit only the bandwith by interface, you can use a rpm called "shapecfg".

However, if want to manage your bandwith by ToS, IP source, IP dest and much more... you have to use the iproute+tc rpm.

You can read about it at:

http://www.fokus.gmd.de/linux/HOWTO/Adv-Routing-HOWTO.html
ASKER CERTIFIED SOLUTION
Avatar of mr_mpz
mr_mpz
Flag of Iran, Islamic Republic of image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
sreeji_vp:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.