LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-07-2011, 01:17 AM   #1
gardenair
Member
 
Registered: Oct 2004
Location: LH
Posts: 648

Rep: Reputation: 45
How to manage bandwidth in squid ?


I am using SQUID 2.6 on cent os. Squid as a proxy server is working fine. I want to manage my bandwidth according to my office staff. Like for top management users may allocate 1 MB and rest of the users as 256 kb.Kindly guide me that how can I do it ?

thanks in advance
garden
 
Old 03-10-2011, 12:40 AM   #2
gardenair
Member
 
Registered: Oct 2004
Location: LH
Posts: 648

Original Poster
Rep: Reputation: 45
Kindly view my code and guide me is it correct.

--------------------------------------------------------------------------------------------

INSERT YOUR OWN RULES(S) HERE TO ALLOW ACCESS FROM CLIENTS

acl our_networks src 10.1.76.1/24 10.1.77.1/24 10.1.78.1/24 10.1.79.1/24
http_access allow our_networks


#DELAY POOL PARAMETERS
# -----------------------------------------
acl ipgroup src 10.1.76.1/24-10.1.77.1/24
delay_pools 1
delay_class 1 1
# 512 Kbit/s fill rate, 512 Kbit/s reserve
delay_parameters 1 64000/64000
delay_access 1 allow ipgroup
delay_access 1 deny all



acl ipgroup_two src 10.1.78.1/24 10.1.79.1/24
delay_pools 1
delay_class 1 1
# 512 Kbit/s fill rate.
delay_parameters 1 64000/64000
delay_access 1 allow ipgroup_two
delay_access 1 deny all


is all correct ?
Kindly guide me.
thanks in advance

Last edited by gardenair; 03-10-2011 at 02:37 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Squid group manage niraj.kumar Linux - Server 0 06-08-2010 03:45 AM
manage internet bandwidth alsharifhoussam Linux - Server 1 06-11-2009 12:46 AM
How to manage Squid mamtasahai1 Linux - General 1 06-14-2007 05:02 AM
using Shapecfg to manage bandwidth on redhat 9.0 akohamen Linux - Networking 1 01-16-2005 04:12 AM
how to manage my bandwidth ? freelinuxcpp Linux - Networking 4 10-02-2003 02:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration