Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: taufik on July 16, 2004, 11:43:36 AM
-
Please tell me How-To sharing a ADSL 512Kbps to 20PC/IP in my office,and i want every PC/IP only get Bandwidth 32Kbps,How can i do that on E-smith 6.0.1 Custom?.
I have try CBQ but seem not working,i Upgrade my CBQ to CBQ.INIT-V0.7.3 but still not working,i write this config to my CBQ configuration (cbq-0006.downlink)
DEVICE=eth1,100mb,10mb
RATE=32kbit
WEIGHT=3.2kbit
PRIO=5
RULE=192.168.0.6 (IP Client)
Do there is something wrong with my configuration?
Someone please tell me,teach me,help me!!!
-
One of the answers that you were given when you asked this several weeks ago allows you to share the bandwidth equally between a range of ip addresses from a server manager panel. May be close enough to what you want.
Regards
Brian
-
Brian can you more specific cause i donot know which forum that was discuss about it,Please
-
taufik,
Change your file from:
DEVICE=eth1,100mb,10mb
RATE=32kbit
WEIGHT=3.2kbit
PRIO=5
RULE=192.168.0.6
TO:
DEVICE=eth1,100Mbit,10Mbit
RATE=32Kbit
WEIGHT=3.2Kbit
PEAK=32Kbit
PRIO=5
RULE=192.168.0.6
Also, make sure that eth1 is your lan adapter. If not, change it to whatever your lan adapter is. Your file must be like the second example, capital letters and everything else. This will only control your download speed. There is a flaw in how cbq works that will not let it control the upload speed because of NAT. There is a howto on adding an ethernet bridge to a SME server to control upload/download speeds. Search for ethernet bridges and you should find it.
HTH
-
Thank for your lesson,i have search about ethernet bridge but i still can't find it,can you give me the link or anything to find it?
i find a htb.init-0.8.5-2.noarch.rpm is this good to compile with ESMITH 6.0.1 CUSTOM?,cause from somewhere i have read that HTB better than CBQ for sharing bandwidth cause HTB can share other bandwidth while they PC didn't turn on,is that right?
Thanks for everbody!
-
http://ccskavenger.lc-usa.net/SME(E-SMITH)/Howtos/SME-5.6-with-a-transparent-bridge-for-full-bandwidth-control.html
There is a way to setup cbq to share the unused bandwidth, I am not sure what it is, but I will try to look it up.