Hi!

I'm trying to share a 64 kbits/s ISDN connection for FTP downloads and WWW. 
FTP should slow down WWW a little a possible. 

I tried HTB (with kernel 2.4.18) with the following (amongst other) settings:

  $TC qdisc add dev $IF root handle 1: htb default 20
 
  $TC class add dev $IF parent 1: classid 1:1 htb rate 64kbit burst 2k
 
  $TC class add dev $IF parent 1:1 classid 1:10 htb rate 63kbit ceil 64kbit 
burst 2k
  $TC class add dev $IF parent 1:1 classid 1:20 htb rate 1kbit ceil 64kbit 
prio 1

  $TC qdisc add dev $IF parent 1:10 handle 10: sfq perturb 10
  $TC qdisc add dev $IF parent 1:20 handle 20: sfq perturb 10
 
  FLT="$TC filter add dev $IF protocol ip parent 1:0"
  $FLT prio 1 u32 match ip sport 80 0xffff flowid 1:10

The packets pass through the respective classes. But FTP doesn't seem to be 
slowed down when WWW traffic starts. When doing http and ftp downloads at the 
same time, I expected the FTP side to slow down a lot, but during my tests 
the ftp download had more throughput than the http.

Any thoughts?

Thanks!

- Christian
_______________________________________________
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

Reply via email to