April 26, 2024, 12:15:06 AM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: Bandwidth management  (Read 6103 times)

Offline shani

  • Tux Awared
  • **
  • Posts: 36
Bandwidth management
« on: December 07, 2004, 07:25:07 AM »
HI Ricky and everyone

I have problem with bandwidth management

i am using Smoothwall Express2.0 for Internet Sharing

I have 512 kbps bandwidth available ,

I have some IP Phone on the same link

I want that the i use 128 Kbps of bandwidth on smoothwall system and

the remianing for the IP PHones and 128kbps will be the limit for smoothwall.

Kindly let me know that is it possible , and how?

if not then guide me to alternate way

Thanks

Shani

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
Bandwidth management
« Reply #1 on: December 07, 2004, 09:17:02 PM »
Well..

You can do one thing..

You can set smoothwall to use 128 kbps of bandwidth only , so that way the remaining is free for your VOIP phones.

Do do so you have to use delay pools !

I think smoothwall squid is compiled with support to delay pools , so all is required is to define proper delay pools.

Sorry this time i can't post the config required by you as Have not used them since long so can't exactly remember the syntax also i m in hurry.
PLease look thoroughly my few earlier post about delay pools in the forum, I remember i have give solution to problem like many times..

If you can write right delay pools then post it here, i will reactify if any problem in that.

Offline shani

  • Tux Awared
  • **
  • Posts: 36
how to delaypools in smoothwall
« Reply #2 on: December 08, 2004, 10:22:44 AM »
Hi Ricky

thanks for you information

i have not used delay pools before also not enough idea about it but

i asure you  that i will understand .

i want to know that i have check in smoothwall there is

squid.conf is in such directory
/var/smoothwall/proxy/
where these files are (acl, squid.conf,  enable,  settings ,viewersettings)

Inwhich file i have to include delaypool because squid.conf and Acl have same configuration.

Kindly let me know simple delay pool configuration for class c network

Also give me a link for delay pools and acls configurations tutorial

thanks

waiting for your reply

Shani

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
Bandwidth management
« Reply #3 on: December 08, 2004, 06:01:01 PM »
First of all..
Don't edit /var/smoothwall/proxy/squid.conf directly, as you'll lose your changes when you make any changes to the proxy config through the web interface.

Instead, make your changes to /var/smoothwall/proxy/acl, and restart squid through the web interface to make them take effect.



Secondly when looking in your problem about smoothwall..
I came to know that smoothwall is not configured with delay pool features. !
(btw not sure)

You can try example below !
http://www.squid-cache.org/Doc/FAQ/FAQ.html#toc19.8

Offline shani

  • Tux Awared
  • **
  • Posts: 36
Bandwidth management
« Reply #4 on: December 09, 2004, 08:06:18 AM »
Hi Ricky

can it bepossible that i add delay pools lines in /var/smoothwall/proxy/acl file for smoothwall

i.e

        acl all src 0.0.0.0/0.0.0.0            
        delay_pools 1
        delay_class 1 1
        delay_access 1 allow all
        delay_parameters 1 16000/16000        


will it work of not

knindly let me know that how i enable delay pools for smoothwall


(Or tell me the easy solution for the senerio given below

I have 512kbps total
just 128kbps for gateway or router through which all pc's can browse and use outlook express to get mail form mail server
we have one etharnet Cable form datanode to our switch and other pc are on the same switch as lan.


Waiting for your reply

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
Bandwidth management
« Reply #5 on: December 09, 2004, 07:46:54 PM »
Man you check that yourself . I don't have smoothwall right now running on any computer..

also check out safesquid !