Re: [LARTC] simple htb script which does not work

Linux Advanced Routing and Traffic Control

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

 



On Wednesday 05 June 2002 18:10, Ludovic Drolez wrote:
> Hi !
>
> I'm using the htb.init script to do simple things with my adsl
> connection:
> - uploads through a VPN (port 2001 used) can use all BW (128Kbits)
> (rate=15kbps, ceil=16kbps), class 10
> - and others have only 8 kbits but can take all the BW if there is no
> VPN activity. (rate=1kbps, ceil=16kps), class 20
>
> But, BW sharing does not seem to work, and if I make 2 uploads, one
> through the VPN, the other with ssh on the net, I get 8kbps/8kbps
> instead of 15kbps/1kbps.
>
> Some stats show that packets are filtered the right way.
>
> Any idea ?
You need to shape lower then 16kbps so you never use the full bandwidth.  
Otherwise, the queues on you modem will be filled and it will be the modem 
that controls the bandwidth.

The scripts is OK.

Stef

-- 

stef.coene@docum.org
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.openprojects.net
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
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