Koozali.org: home of the SME Server

Sharing ADSL

taufik

Sharing ADSL
« 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!!!

Anonymous

Sharing ADSL
« Reply #1 on: July 16, 2004, 02:39:33 PM »
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

Anonymous

Thanks
« Reply #2 on: July 19, 2004, 11:00:46 AM »
Brian can you more specific cause i donot know which forum that was discuss about it,Please

guest

ADSL Sharing
« Reply #3 on: July 19, 2004, 11:33:41 AM »
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

taufik

Thanks
« Reply #4 on: July 19, 2004, 03:07:52 PM »
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!

cc_skavenger

CBQ
« Reply #5 on: July 19, 2004, 03:30:58 PM »
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.