Multiple connections

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I hope I am not that pushy, but I cannot figure this out. 


If 2 of my clients are downloading from the internet one file each, the
splitting works and one client gets 64kbps and the other 64kbps.
If one of those 2 clients are downloading by means of a Download Manager
(like Flash Get or Download Accelerator) every gets messed up.
The one downloading with multiple connections gets 90-95% of the bandwidth
and the other client gets almost nothing.

In my opinion if I have 2 clients downloading at the same time, the sum of
all the connections from each other would have to be 64kbbit.
Please tell me what I have to change to make sure that the splitting works
ok. 
I am sure for you this is a piece of cake but for me it's a nightmare :)

This is the script that I use.



$TC qdisc add dev $LAN_IFACE root handle 1: htb default 30
$TC class add dev $LAN_IFACE parent 1: classid 1:1 htb rate 128kbit ceil
128kbit burst 80k


#--------default---------
$TC class add dev $LAN_IFACE parent 1:1 classid 1:30 htb rate 1kbit ceil
128kbit burst 80k
$TC qdisc add dev $LAN_IFACE parent 1:30 handle 300: sfq perturb 10




#-----clients...-------------

$TC class add dev $LAN_IFACE parent 1:1 classid 1:11 htb rate 8kbit ceil
128kbit burst 80k
$FILTER_IP 192.168.0.121 flowid 1:11
$TC qdisc add dev $LAN_IFACE parent 1:11 handle 110: sfq perturb 10

$TC class add dev $LAN_IFACE parent 1:1 classid 1:13 htb rate 8kbit ceil
96kbit burst 80k
$FILTER_IP 192.168.0.123 flowid 1:13
$TC qdisc add dev $LAN_IFACE parent 1:13 handle 130: sfq perturb 10


etc...


_______________________________________________
LARTC mailing list / LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux