Re: [LARTC] htb limiting trouble: no overlimit or dropped packets

2002-10-17 Thread Walter Haidinger
On Thu, 17 Oct 2002, James B. Moore wrote: > Not to familiar with HTB but in general it seems you have your qdisc's > attached to your _internal_ interface, which should let you shape > the traffic into your LAN; not outbound. if that's what you intend > then my mistake, I'll go away now... No, y

Re: [LARTC] htb limiting trouble: no overlimit or dropped packets

2002-10-17 Thread Walter Haidinger
On Thu, 17 Oct 2002, Robert Vale wrote: > Erm you are shaping lo so it will only shape packets leaving the lo interface, you >probably want to try changing the > dev to your internet device Yes, sorry. I was messing around with the htb ethloop utility. Copy & paste bug. Fortunately everythi

Re: [LARTC] htb limiting trouble: no overlimit or dropped packets

2002-10-17 Thread Robert Vale
Erm you are shaping lo so it will only shape packets leaving the lo interface, you probably want to try changing the dev to your internet device >Please correct me if I'm wrong with the following: >I've create a qdisc and class with: >tc qdisc add dev lo root handle 1: htb default 20 >tc cla

Re: [LARTC] htb limiting trouble: no overlimit or dropped packets

2002-10-17 Thread Walter Haidinger
On Thu, 17 Oct 2002, Stef Coene wrote: > Htb nor cbq will be perfectly shaping. So try ceil 57 and see what happens. > Go as low as needed untill you can see the difference. You have to do this. > If you don't, you are filling the buffers of the modem and it will be the > modem that controls the

Re: [LARTC] htb limiting trouble: no overlimit or dropped packets

2002-10-17 Thread Stef Coene
On Thursday 17 October 2002 00:33, Walter Haidinger wrote: > Hi! > > I'm trying to limit the uplink bandwidth using htb but no packets are > overlimit or dropped. :-( > > My router config: > * Linux kernel 2.4.20-pre10 (htb v3.7) with everything built as > modules in QoS, iptables in use. > * tc

Re: [LARTC] htb limiting trouble: no overlimit or dropped packets

2002-10-16 Thread Walter Haidinger
On Thu, 17 Oct 2002, Nickola Kolev wrote: > On Thu, 17 Oct 2002 00:33:05 +0200 (CEST) > Walter Haidinger <[EMAIL PROTECTED]> wrote: > > [ cut ] > > tc qdisc add dev eth1 root handle 1: htb default 20 > > tc class add dev eth1 parent 1: classid 1:1 htb rate 64kbit ceil 64kbit burst 5k > > tc cla

Re: [LARTC] htb limiting trouble: no overlimit or dropped packets

2002-10-16 Thread Walter Haidinger
On Thu, 17 Oct 2002, Stephane Ouellette wrote: >I'm giving a try on this one, I'm not familiar with HTB at all... Thanks, I appreciate that! >I think that your only problem is: all classes can borrow bandwidth > from other classes !! So there is no bandwidth control ! Yes, but there i

Re: [LARTC] htb limiting trouble: no overlimit or dropped packets

2002-10-16 Thread Stephane Ouellette
Walter Haidinger wrote: > Hi! > > I'm trying to limit the uplink bandwidth using htb but no packets are > overlimit or dropped. :-( > > My router config: > * Linux kernel 2.4.20-pre10 (htb v3.7) with everything built as > modules in QoS, iptables in use. > * tc binary from htb3.6-020525.tgz >

[LARTC] htb limiting trouble: no overlimit or dropped packets

2002-10-16 Thread Walter Haidinger
Hi! I'm trying to limit the uplink bandwidth using htb but no packets are overlimit or dropped. :-( My router config: * Linux kernel 2.4.20-pre10 (htb v3.7) with everything built as modules in QoS, iptables in use. * tc binary from htb3.6-020525.tgz * external interface eth0: Internet access,