Computing.Net > Forums > Linux > how to limit bandwidth in redhat

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

how to limit bandwidth in redhat

Reply to Message Icon

Name: beboldpls
Date: May 29, 2004 at 01:09:30 Pacific
OS: redhat linux8.0
CPU/Ram: 256mb
Comment:

hi friends,
previously i asked same question, but i didnt get sufficient information..
so im explaining my requirement clearly..
pls anybody help me in solving this..

i have 128 kbps net connection , in my office now i want

share this connection and using redhat linux i want to restrict bandwidth per
user or system (5 k) how can i do that .
as i know some idea about squid pools but not exactly..

my aim is
1.i want to assign 5k per ip (may windows or linux box)
2.in any time user must not access more than 5k bandwidth

3.*(required but not must) my clients don't like chnage
anything on their browsers and chats (like port nos.etc)

my sys details: redhat 8.0 , p-2 , 256 mb ram, ide hd

pls help me to solve this problem..

regards
kishore



Sponsored Link
Ads by Google

Response Number 1
Name: 3Dave
Date: June 2, 2004 at 01:29:35 Pacific
Reply:

Providing that you have a version of squid
compiled with "--enable-delay-pools",
you'll want to add some lines to squid.conf
similar to:
delay_pools 1
delay_class 1 1
delay_parameters 1 625/8000
acl All src 0/0
delay_access 1 allow All

(NB The "625/8000" part is BYTES per second
and not BITS, so 625B/s x 8 = 5000bit/s =
5Kbit/s)
What the above does is wait until the total
bandwidth being used is 8000B/s (64Kbit/s)
and it then limits it down to 5Kbit/s per
IP in the range 0.0.0.0/0

All the users need to have set locally is
the IP of the squid machine set as their
proxy, if you have windoze clients you can
do this via group policy.


0

Response Number 2
Name: beboldpls
Date: June 11, 2004 at 08:26:09 Pacific
Reply:

hi 3dave
sorry for my late delay. i went on vacation.

thnk u very much for ur knd reply..
can u give the solution for trasparent squid also, instead of configure all the browsers .

i tried different configurations but i didnt get transparent squid..

pls help me...

regards
kishore


0

Response Number 3
Name: 3Dave
Date: June 14, 2004 at 09:19:10 Pacific
Reply:

You could make your quid proxy the gateway
for the network.

Some links for you:
http://squid-docs.sourceforge.net/latest/book-full.html
http://squid.visolve.com/squid/sqguide.htm


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: how to limit bandwidth in redhat

how to install rmcobol85 in redhat8 www.computing.net/answers/linux/how-to-install-rmcobol85-in-redhat8/21048.html

How to run PostgreSql in RedHat 9.0 www.computing.net/answers/linux/how-to-run-postgresql-in-redhat-90/23982.html

how to install qpopper in redhat 7.0 www.computing.net/answers/linux/how-to-install-qpopper-in-redhat-70/12482.html