The problem comes like this:
I have a gateway in my network.
Users want to copy betwen them using dc++.
When they do that the internet connection from the
users after the gateway is greatly slowed
down.....(example : ping in yahoo.com grows from 130 to
400 or even higher)
The users after the gateway have local
ip`s(192.168....) and the other ones have public
ip`s(85.xxx.xxx.xxx)
the gateway`s eth1 ip is from the same class that the
users "infront" of the gateway have.. 85.xxx.xxx.xxx
The gateway holds like 40 users behind him... the
config is amd 900 mhz , 384 ddram...
if cbq is stopped the upload and download from both
sides works perfect(the only problem is the internet is
not working:)) and when cbq is on.. the problem
described happens`. please help me!:(
the cbq.dc++ file looks like this(cbq-10.dc) :
DEVICE=eth0,10Mbit,1Mbit
RATE=20000Kbit
WEIGHT=10000kbit
PRIO=1
RULE=85.xxx.xxx.0/21,192.168.12.0/24
the user download file:(cbq-1002.2)
DEVICE=eth0,10Mbit,1Mbit
RATE=128Kbit
WEIGHT=10Kbit
PRIO=4
RULE=,192.168.12.2
TIME=23:58-07:58;256Kbit/56Kbit
the user upload file(cbq-6002.2):
DEVICE=eth1,10Mbit,1Mbit
RATE=128Kbit
WEIGHT=11Kbit
PRIO=5
MARK=2
iptables --table mangle -A POSTROUTING --out-interface
eth1 --source 192.168.12.2 -j MARK --set-mark 2 (for
upload limit)
Logged In: NO
i`v figured out by my self..
2 files for dc++ .. upload and download
cbq-10.dc (download)
DEVICE=eth0,10Mbit,1Mbit
RATE=20000Kbit
WEIGHT=10000kbit
PRIO=4
RULE=85.xxx.xxx.0/21,0.0.0.0/0
cbq-9.dc (upload)
DEVICE=eth1,10Mbit,1Mbit
RATE=20000Kbit
WEIGHT=10000kbit
PRIO=5
RULE=85.xxx.xxx.0/21,0.0.0.0/0
and it works fine.. but the internet connection still slows
down..when users copy throught the gateway with cbq started:(
i really need your help on this one:((