Re: [LARTC] htb bandwidth sharing

2003-06-17 Thread Albert Martorell
Stef Coene wrote: On Tuesday 17 June 2003 11:13, Albert Martorell wrote: I see my first mistake has been testing directly on ethernet devices without a loopback connector... Anyway I've tried with ethloop on lo and the results are the same. Did you execute ifconfig lo mtu 1500 ? Yes

Re: [LARTC] HTB and TC on MAC addresses

2003-06-16 Thread Joachim Wickman
Thanks for the answer. How many classes can HTB take? I use 4-6 interfaces / computer and 2 pools / interface which is has 62 addresses each. So there would be about 512 classes if I make one for each address. I think this came from some mails of about 6 or 8 months ago on the LARTC list, no?

Re: [LARTC] HTB and TC on MAC addresses

2003-06-16 Thread Stef Coene
On Monday 16 June 2003 09:29, Joachim Wickman wrote: Thanks for the answer. How many classes can HTB take? I use 4-6 interfaces / computer and 2 pools / interface which is has 62 addresses each. So there would be about 512 classes if I make one for each address. No problem for htb. But it

Re: [LARTC] HTB and TC on MAC addresses

2003-06-16 Thread Trevor Warren
Stef, Can cbq/htb support classes for 1000 clients concurrently??. Trevor On Mon, 2003-06-16 at 13:20, Stef Coene wrote: On Monday 16 June 2003 09:29, Joachim Wickman wrote: Thanks for the answer. How many classes can HTB take? I use 4-6 interfaces / computer and 2 pools / interface

Re: [LARTC] HTB and TC on MAC addresses

2003-06-16 Thread Joachim Wickman
But your idea of one class / ip is something I'm thinking of to make now. So I don't need to fill in the MAC or IP when a new client comes to town. So not all classes will be actvive? For performance considerations, only the active classes are important. Right now there are about 20-30

Re: [LARTC] HTB and TC on MAC addresses

2003-06-16 Thread Stef Coene
On Monday 16 June 2003 15:02, Joachim Wickman wrote: But your idea of one class / ip is something I'm thinking of to make now. So I don't need to fill in the MAC or IP when a new client comes to town. So not all classes will be actvive? For performance considerations, only the

Re: [LARTC] HTB and TC on MAC addresses

2003-06-16 Thread Stef Coene
On Sunday 15 June 2003 22:47, Trevor Warren wrote: Stef, Can cbq/htb support classes for 1000 clients concurrently??. That will be tricky. I think it can, but it will depends a lot on the used hardware. Also, what's the speed of the link you are going to shape? Stef -- [EMAIL PROTECTED]

Re: [LARTC] htb bandwidth sharing

2003-06-16 Thread Stef Coene
On Monday 16 June 2003 19:07, Albert Martorell wrote: Hi everybody! I've been trying with htb and tc filter. It seemed to work fine, but after testing with ethloop I've realized that traffic is not being distributed through the leaves as I thought. When sending packets to 1:10 and 1:11 at

Re: [LARTC] htb bandwidth sharing

2003-06-16 Thread Orlie Brewer
We noted this problem that the first subclass got all the extra bandwidth when the subclasses should be sharing the extra bandwidth equally. We were able to get it working better by lowering the quantum to 1600. I think what is happening with a larger quantum is that the first subclass is getting

Re: [LARTC] htb problem

2003-06-15 Thread Stef Coene
On Saturday 14 June 2003 23:46, [EMAIL PROTECTED] wrote: Hey I hve the same problem. My packets are marked, my classes are OK my filters are set OK and all packets are passing through the root class!! I think that this is a big problem. A know 1 more person that has the same problem! Ok. I

Re: [LARTC] htb problem

2003-06-14 Thread terahz
Hey I hve the same problem. My packets are marked, my classes are OK my filters are set OK and all packets are passing through the root class!! I think that this is a big problem. A know 1 more person that has the same problem!brbr ---mail.bGbr li - li12MB liSMS e!

Re: [LARTC] HTB and TC on MAC addresses

2003-06-12 Thread David Boreham
I've searched the archive for a solution where I want to limit/shape WLAN users. I only know's their MAC, because they get their IP from dhcp. Get their IP addresses from arp. ___ LARTC mailing list / [EMAIL PROTECTED]

Re: [LARTC] HTB and TC on MAC addresses

2003-06-12 Thread Martin A. Brown
Joachim, (Beautiful name, by the way) : I've searched the archive for a solution where I want to limit/shape : WLAN users. I only know's their MAC, because they get their IP from : dhcp. : : Why not, just use negative offsets with U32 to access : the 14-byte eth frame header before

Re: [LARTC] htb problem

2003-06-12 Thread Esteban
do you have two nics? the 2megas internet is eth0 right? so you are tc'ing packets going out of interface eth0. paquets are comming from eth1 for example? in such case you coutlf -t mangle -I PREROUTING -i eth1 -j MARK --set-mark {1|2|4|} ?? so packets going from internal (eth1) going out

RE: [LARTC] htb problem

2003-06-12 Thread Morten Isaksen
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stef Coene Sent: 12. juni 2003 21:35 To: Ratel; [EMAIL PROTECTED] Subject: Re: [LARTC] htb problem adequate lines from firewall script : [...] # ftp $IPTABLES -A FORWARD -p tcp -s 0/0 -d 0/0

Re: [LARTC] htb problem

2003-06-12 Thread Stef Coene
On Thursday 12 June 2003 22:04, Morten Isaksen wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stef Coene Sent: 12. juni 2003 21:35 To: Ratel; [EMAIL PROTECTED] Subject: Re: [LARTC] htb problem adequate lines from firewall script

Re: [LARTC] htb problem

2003-06-12 Thread Stef Coene
On Thursday 12 June 2003 21:46, Esteban wrote: Stef! please explain me this: When i use traffic shaper, i apply the root to the innterface i want to controll the packets that are leaving right? Yes. The sum of classes should not be greater than the root one. Supossing i have 2 nics. One

Re: [LARTC] HTB default 12 ?

2003-06-05 Thread Stef Coene
On Wednesday 04 June 2003 00:46, TeraHz wrote: I've found that when the value in: tc qdisc add dev eth1 root handle 1: default 12 - is 12 some of the packets are massing through class 1:12 and other through 1:1 if this value is 25 for example in the tc -s -d class show dev eth1 there are 0

Re: [LARTC] HTB question (problem with tc filter + NAT)

2003-06-03 Thread Stef Coene
On Monday 02 June 2003 12:35, TeraHz wrote: I wan to share internet to these 12 PCs. But my traffic control is not working. I'm using IP Masquerading to route internet to the LAN eth0 - LAN interface eth1 - Internet interface snipped a lot I thing that this is wright but no! I've changed

Re: [LARTC] HTB question (problem with tc filter + NAT)

2003-06-02 Thread Daniel Ortiz
On Mon, Jun 02, 2003 at 01:35:31PM +0300, TeraHz wrote: I wan to share internet to these 12 PCs. But my traffic control is not working. I'm using IP Masquerading to route internet to the LAN eth0 - LAN interface eth1 - Internet interface this is my firs htb script: #!/bin/bash tc qdisc

Re: [LARTC] HTB rate, borrowing, and dequeuing

2003-04-06 Thread Stef Coene
On Sunday 06 April 2003 00:33, Martin A. Brown wrote: Hello all, I seem to recall having read answers to some of these questions before, but I cannot find the answers now, and there are other answers I don't think I have ever known! I will try to answer them. Some of these answers are maybe

Re: [LARTC] HTB errors

2003-03-27 Thread Stef Coene
On Thursday 27 March 2003 17:44, Remus wrote: Hi folks, I get these shrill messages inmy /var/log/messages and on terminal 1 Mar 27 16:37:31 webgate kernel: HTB init, kernel part version 3.7 Mar 27 16:37:31 webgate kernel: HTB: quantum of class 10022 is small. Consider r2q change.6HTB init,

Re: [LARTC] HTB and filters

2003-03-17 Thread Stef Coene
On Monday 17 March 2003 22:01, Stephane Ouellette wrote: Folks, after spending a lot of time experimenting with HTB, I found that filters cannot be attached to HTB classes... The class hierarchy I use is the following (for my upstream internet link): PRIO (with priomap

Re: [LARTC] HTB and filters

2003-03-17 Thread Stephane Ouellette
Stef Coene wrote: On Monday 17 March 2003 22:01, Stephane Ouellette wrote: Folks, after spending a lot of time experimenting with HTB, I found that filters cannot be attached to HTB classes... The class hierarchy I use is the following (for my upstream internet link): PRIO

Re: [LARTC] HTB port shaping

2003-03-16 Thread raptor
On Sat, 15 Mar 2003 16:51:56 +0200 Georgi Angelov [EMAIL PROTECTED] wrote: |Hi all i have properly working HTB. Now i must allow users connects to |CounterStrike server that is behind my HTB shaper server. |How can do this? ]- nai weroqtno, nasochi counter strike trafika si kam FIFO da rechem

Re: [LARTC] HTB port shaping

2003-03-16 Thread raptor
oops sorry for not writing in english :( ___ LARTC mailing list / [EMAIL PROTECTED] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

Re: [LARTC] htb parameter problem

2003-03-12 Thread liang jian
My tc commands:tc class add dev eth1 parent 30: classid 30:1 htb rate 10kbps ceil 10kbpstc class add dev eth1 parent 30:1 classid 30:10 htb rate 5kbps ceil 5kbpswhy it have the cburst parameter ?#tc -s class ls dev eth1class htb 30:1 root rate 80Kbit ceil 80Kbit burst 1701b cburst 1701bSent

Re: [LARTC] htb parameter problem

2003-03-12 Thread Stef Coene
On Wednesday 12 March 2003 13:48, liang jian wrote: My tc commands: tc class add dev eth1 parent 30: classid 30:1 htb rate 10kbps ceil 10kbps tc class add dev eth1 parent 30:1 classid 30:10 htb rate 5kbps ceil 5kbps why it have the cburst parameter ? # tc -s class ls dev eth1 class htb

Re: [LARTC] htb parameter problem

2003-03-10 Thread Kertész Viktor
Hi, iptables -t mangle -A FORWARD -p tcp -o eth0 -s 0/0 --dport ftp -d 0/0 -j MARK --set-mark 2 iptables -t mangle -A PREROUTING -p tcp -i eth0 -s 0/0 --dport ftp -d 0/0 -j MARK --set-mark 2 iptables -t mangle -A FORWARD -p tcp -o eth0 -s 0/0 --dport ftp-data -d 0/0 -j MARK --set-mark

Re: [LARTC] htb parameter problem

2003-03-08 Thread Stef Coene
On Friday 07 March 2003 09:53, liang jian wrote: Sorry,I means that: I configure My out interface bandwidth 10kbps. tc qdisc del dev eth1 root tc qdisc add dev eth1 root handle 30: htb tc class add dev eth1 parent 30: classid 30:1 htb rate 10kbps ceil 10kbps tc class add dev eth1 parent 30:1

Re: [LARTC] htb parameter problem

2003-03-07 Thread liang jian
Sorry,I means that: I configure My out interface bandwidth 10kbps. tc qdisc del dev eth1 roottc qdisc add dev eth1 root handle 30: htbtc class add dev eth1 parent 30: classid 30:1 htb rate 10kbps ceil 10kbpstc class add dev eth1 parent 30:1 classid 30:10 htb rate 5kbps ceil 5kbpstc class add dev

Re: [LARTC] htb and bridge

2003-02-20 Thread deepak singhal
You Should Make the policies for eth0 and eth1. Deepak Singhal - Original Message - From: asko askeltaja [EMAIL PROTECTED] Date: Thu, 20 Feb 2003 09:33:44 +0200 (EET) To: [EMAIL PROTECTED] Subject: [LARTC] htb and bridge Hi, internet -- router

Re: [LARTC] HTB debug info in kernel log

2003-02-13 Thread Brad Davidson
On Thu, 13 Feb 2003 at 01:58:53, Brad Davidson wrote: I'm looking at the code in htb_dump, which appears to be what's called to get statistics information by the tc application. It looks to me like if you have debug enabled, as part of the stats collecting routine, it calls htb_debug_dump

Re: [LARTC] HTB debug info in kernel log

2003-02-13 Thread Stef Coene
On Thursday 13 February 2003 10:34, Brad Davidson wrote: On Thu, 13 Feb 2003 at 00:41:54, Stef Coene wrote: On Thursday 13 February 2003 08:10, Brad Davidson wrote: I had the same problem. I uncomment the DEFINE statement. But logging there numbers, means there is something miss with your

Re: [LARTC] HTB with two interfaces ??

2003-02-06 Thread Nickola Kolev
Venci wrote: Hi all I have linux 2.4.20 with 3 NIC. eth0 is the internet interface (10Mbit full duplex) eth1 the internal interface (100Mbit full duplex) eth2 the internal interface (100Mbit full duplex) How to shape the network? i want unused bandwidth from one internal

Re: [LARTC] htb ratelimite a single source IP

2003-01-28 Thread Stef Coene
On Tuesday 28 January 2003 21:20, Phil Doroff wrote: Okay, I'm having a complete brainfart here, I apologize for the stupidity of the question. Just a bit tired. I have a customer on a shared box, who I gave a dedicated IP to. I also have a router in between our uplink and him, and I need

Re: clean qdisc reinit (was Re: [LARTC] HTB flooding my kernel logs)

2003-01-24 Thread Stef Coene
On Thursday 23 January 2003 20:22, Mihai RUSU wrote: On Thu, 23 Jan 2003, Stef Coene wrote: If it works, fine for you. It's just not something I would advice :) But why not delete the root qdisc and recreate it? Stef All started when we observed that in the meantime (the time between

clean qdisc reinit (was Re: [LARTC] HTB flooding my kernel logs)

2003-01-23 Thread Mihai RUSU
On Thu, 23 Jan 2003, Stef Coene wrote: If it works, fine for you. It's just not something I would advice :) But why not delete the root qdisc and recreate it? Stef All started when we observed that in the meantime (the time between tc qdisc del and the time it takes to recreate the whole

Re: [LARTC] HTB flooding my kernel logs

2003-01-23 Thread Stef Coene
On Thursday 23 January 2003 00:58, Mihai RUSU wrote: Hi Stef On Wed, 22 Jan 2003, Stef Coene wrote: So the quantum errors are gone? Yes, thanks again for the tips Help ? :) A htb qdisc attached to a htb class is useless and will only eat cpu cycles. Stef What do you mean ?

Re: [LARTC] HTB problem

2003-01-23 Thread mingching.tiew
You have a typo :- kpbs Also, it seems that the parent 1:1 is not created yet. - Original Message - From: Jay Wineinger [EMAIL PROTECTED] However, I get an error about illegal rate when I try to create a class with: $TC class add dev eth0 parent 1:1 classid 1:10 htb rate 30kpbs

Re: [LARTC] HTB problem

2003-01-23 Thread Jay Wineinger
grr, I thought i had checked everything close. Thanks =) ___ LARTC mailing list / [EMAIL PROTECTED] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

Re: [LARTC] HTB flooding my kernel logs

2003-01-22 Thread Catalin BOIE
I have a 2 tree configuration. Here is an example script: #!/bin/bash tc=/sbin/tc $tc qdisc del dev eth0 root $tc qdisc add dev eth0 root handle 1: htb default 30 $tc class add dev eth0 parent 1: classid 1:1 htb rate 100Mbit $tc class add dev eth0 parent 1:1 classid 1:10 htb rate 40Mbit

Re: [LARTC] HTB flooding my kernel logs

2003-01-22 Thread Stef Coene
Thanks for your answers. Indeed after digging more into documentation (the docum.org one is great) we got more less logs. But our logs werent flooded with quantum related messages but with that kernel assertion thing. If nobody cant help me here Ill try to contact Mr Martin Devera directly. So

Re: [LARTC] HTB flooding my kernel logs

2003-01-22 Thread Mihai RUSU
Hi Stef On Wed, 22 Jan 2003, Stef Coene wrote: So the quantum errors are gone? Yes, thanks again for the tips Help ? :) A htb qdisc attached to a htb class is useless and will only eat cpu cycles. Stef What do you mean ? They seem to work just fine. Im no interested in any effect

Re: [LARTC] HTB flooding my kernel logs

2003-01-21 Thread Catalin Bucur
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mihai RUSU wrote: | Hi | | I am trying to upgrade our systems with 2.4.20/HTB3 (before that I used | 2.4.9 based kernel with HTB2 patch with no such problems). Since it booted | the new kernel I get a lot of kernel messages that keeps klogd using CPU.

Re: [LARTC] HTB flooding my kernel logs

2003-01-21 Thread Stef Coene
These messages appear because of too small rates or ceils for that classes (10:056B, 10:0578, ...). The implicit value for r2q is 10 and because of this the quantum value is too small. Consider r2q change it's a good ideea indeed ;-) You can take a look at devik's faq page, maybe it can help:

Re: [LARTC] HTB tests

2003-01-21 Thread Homer Parker
On Tue, 21 Jan 2003 21:46:23 +0100 Stef Coene [EMAIL PROTECTED] wrote Some time ago I promised to document some of my burst test. So I did : http://www.docum.org/stef.coene/qos/tests/htb/burst/ I'm still working on it. So expect some updates while you are reading it :) Good

Re: [LARTC] HTB rate 0kbit

2003-01-20 Thread Thomas Jalsovsky
OK, I will use rate 1kbit. Therefore r2q should be 1, right? Thanks, Thomas On Fri, 10 Jan 2003, Catalin Bucur wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thomas Jalsovsky wrote: | Hello, | | I would like to achieve this: | HTB qdisc with many

Re: [LARTC] HTB rate 0kbit

2003-01-20 Thread Abraham van der Merwe
Hi Thomas! The smallest rate you can use with r2q=1 is mtu*8 kbit (12kbit in most cases). You can skip r2q and use quantum=125 bytes, but that is probably not such a good idea... OK, I will use rate 1kbit. Therefore r2q should be 1, right? Thanks, Thomas On Fri, 10

Re: [LARTC] HTB rate 0kbit

2003-01-20 Thread Catalin Bucur
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Abraham van der Merwe wrote: | Hi Thomas! | | The smallest rate you can use with r2q=1 is mtu*8 kbit (12kbit in most | cases). You can skip r2q and use quantum=125 bytes, but that is probably not | such a good idea... | |OK, I will use rate 1kbit.

Re: [LARTC] HTB rate 0kbit

2003-01-20 Thread Stef Coene
On Monday 20 January 2003 18:43, Catalin Bucur wrote: Abraham van der Merwe wrote: | Hi Thomas! | | The smallest rate you can use with r2q=1 is mtu*8 kbit (12kbit in most | cases). You can skip r2q and use quantum=125 bytes, but that is probably not | such a good idea... | |OK, I will

Re: [LARTC] HTB: quantum vs. burst

2003-01-17 Thread Pavel Mores
On Thu, Jan 16, 2003 at 09:28:17PM +0100, Stef Coene wrote: If you want to undestand what's going on, you also have to graph the tokens and ctokens. Oh, I see. The negative values of tokens and ctokens that can be seen frequently are because of the hysteresis setting? Also, I have some

Re: [LARTC] HTB: quantum vs. burst

2003-01-16 Thread Pavel Mores
On Thu, Jan 16, 2003 at 08:05:24PM +0100, Stef Coene wrote: No. I did some tests my self witb burst and cburst. The problem is that it's very difficult to measuer and explain it. You have to believe Devik that it works :) I'm not saying that I don't believe him. ;) However, bursting

Re: [LARTC] HTB and ARP

2003-01-14 Thread Eric Leblond
On Fri, 2003-01-10 at 17:06, Martin A. Brown wrote: : We recently had a discussion here about filtering non-IP traffic. See my : attempt here: : :http://mailman.ds9a.nl/pipermail/lartc/2003q1/006656.html : I did not manage to push arp packet in the wanted queue. I use the

Re: [LARTC] HTB and ARP

2003-01-14 Thread Julian Anastasov
Hello, On 14 Jan 2003, Eric Leblond wrote: I did not manage to push arp packet in the wanted queue. I use the following syntax : tc class add dev eth0 parent 1:1 classid 1:4 htb \\ rate 512.0Kbit ceil 512.0Kbit burst 1.28Kbit prio 0 tc filter add dev eth0 protocol ip u32 \\

Re: [LARTC] HTB and ARP

2003-01-10 Thread Martin A. Brown
Eric, We recently had a discussion here about filtering non-IP traffic. See my attempt here: http://mailman.ds9a.nl/pipermail/lartc/2003q1/006656.html And Julian's follow-up post which closed the thread: http://mailman.ds9a.nl/pipermail/lartc/2003q1/006663.html You should be able to

Re: [LARTC] HTB

2002-12-27 Thread Stef Coene
Dec 27 18:02:10 gw-homenet kernel: HTB: quantum of class 10011 is small. Consider r2q change.4HTB: quantum of class 10012 is small. Consider r2q change Any suggestions will be appreciated, thnks The famous quantum question :) I have more info on the faq page on www.docum.org Stef --

Re: [LARTC] HTB quantum for small rates

2002-12-22 Thread Stef Coene
On Sunday 22 December 2002 03:37, Hannes Ebner wrote: hi devik, i have found the following you have written some time ago: It is important to know that for precise operation quantums need to be as small as possible and larger than MTU. Normaly you don't need to specify quantums manualy as

Re: [LARTC] HTB steals bandwidth

2002-12-19 Thread Stef Coene
If I reduce rate and ceil, it doesn't work properly either. I tried setting the rate to 8kbit and the ceil to 16kbit and the upload did get less than 2kbyte/s, it was app. 1,3kbyte/s. 16kbit is 2 kbyte and 1,3 is allmost 2kbyte. So it seems to me that you are shaping what you want. But what

Re: [LARTC] HTB steals bandwidth

2002-12-19 Thread Mr. Adam ALLEN
On Thu, 2002-12-19 at 08:08, Robert Brueckmann wrote: SNIPPED The ftp-data-port rule works for all active ftp-connections, and the packet dounter of the rule increases just as I expected. Any ideas, why the rate crashes down with these rules? May the processor-power be the problem? The

Re: [LARTC] HTB and theory

2002-12-12 Thread Stef Coene
On Thursday 12 December 2002 09:36, Abraham van der Merwe wrote: Hi Stef! I think your explanation of rate of class in your FAQ is wrong. it caught me as well, but from devik's faq page (http://luxik.cdi.cz/~devik/qos/htb/htbfaq.htm): snip -- snip -- snip

Re: [LARTC] HTB and theory

2002-12-12 Thread Abraham van der Merwe
Hi Stef! I did some small tests : [snip] Conclusion : if you want to know how traffic will be shaped, you have to follow some basic rules. I will update docum.org tonight. You're right. I did some tests this weekend as well and realised that you have to stick with the basics. The problem

Re: [LARTC] HTB and theory

2002-12-10 Thread Stef Coene
On Monday 09 December 2002 22:45, Catalin Bucur wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Stef Coene wrote: | Yes : child ceil = ceil of parent (I just added it to the faq page) | | Stef So far, so good. But what if I want to give my clients a little more bandwidth than

Re: [LARTC] HTB and theory

2002-12-10 Thread Stef Coene
On Monday 09 December 2002 23:18, Abraham van der Merwe wrote: Hi Stef! I'll let HTB to automatically compute the values for 'burst' and 'cburst'. The problem is elsewhere. What are the correct values for 'rate' and 'ceil' of 11:2 class in this case? In fact, total value of 'ceil's

Re: [LARTC] HTB and theory

2002-12-10 Thread Abraham van der Merwe
Hi Stef! How does this influence the shaping results and the shaping of other classes? I've actually asked a similar question before: If you have 1:1 / \ / \ 1:2 1:3 /|\ \-- / | \ \ \ 1:4

Re: [LARTC] HTB with SFQ in leaf classes. setups question

2002-12-10 Thread Stef Coene
On Tuesday 10 December 2002 19:48, [EMAIL PROTECTED] wrote: Hello, I wrote something yesterday. Now the situation is even worse. Communicatin with some clients wont work at all until i restart the traffic shaping box. (It works for some hours, then suddenly dies (meaning the client cant be

Re: [LARTC] HTB and theory

2002-12-10 Thread Stef Coene
On Tuesday 10 December 2002 14:28, Abraham van der Merwe wrote: Hi Stef! How does this influence the shaping results and the shaping of other classes? I've actually asked a similar question before: If you have 1:1 / \ / \ 1:2 1:3

Fwd: Re: [LARTC] HTB with SFQ in leaf classes. setup question

2002-12-10 Thread lartc
Stef Coene [EMAIL PROTECTED]: On Tuesday 10 December 2002 19:48, [EMAIL PROTECTED] wrote: Hello, I wrote something yesterday. Now the situation is even worse. Communicatin with some clients wont work at all until i restart the traffic shaping box. (It works for some hours, then

Re: Fwd: Re: [LARTC] HTB with SFQ in leaf classes. setup question

2002-12-10 Thread Nickola Kolev
On Tue, 10 Dec 2002 23:27:39 +0200 [EMAIL PROTECTED] wrote: Ok, just a second ago i did '/sbin/tc qdisc del dev eth2 root' And added the classes again. me@myplace$ ping 80.81.33.1 PING 80.81.33.1 (80.81.33.1): 56 octets data 64 octets from 80.81.33.1: icmp_seq=0 ttl=252 time=24.6 ms 64

Re: Fwd: Re: [LARTC] HTB with SFQ in leaf classes. setup question

2002-12-10 Thread lartc
Nickola Kolev [EMAIL PROTECTED]: On Tue, 10 Dec 2002 23:27:39 +0200 [EMAIL PROTECTED] wrote: Ok, just a second ago i did '/sbin/tc qdisc del dev eth2 root' And added the classes again. me@myplace$ ping 80.81.33.1 PING 80.81.33.1 (80.81.33.1): 56 octets data 64 octets from

Re: Fwd: Re: [LARTC] HTB with SFQ in leaf classes. setup question

2002-12-10 Thread Nickola Kolev
On Tue, 10 Dec 2002 23:58:03 +0200 [EMAIL PROTECTED] wrote: [cut] Anyway, can you tell us what is the version of htb? It's htb2, isn't it? Try upgrading to htb3, this will solve your problem. No, it's htb3.6_2.4.17.diff HTB 3.6 Tho it's made for 2.4.17 kernels, i am running 2.4.19.

Re: [LARTC] HTB problems

2002-12-09 Thread Vladimir Smelhaus
On 9 Dec 2002, 15:52, Thomas Jalsovsky wrote: I have HTB on IMQ device. My rate does not work as I configured. I configured 1920kbit/s and I can download only about 290kbit/s (while Set your pfifo limit higher. You have too much dropped packets. class htb 1:10 parent 1:1 leaf 10: prio 0

Re: [LARTC] HTB problems

2002-12-09 Thread Thomas Jalsovsky
On Mon, 9 Dec 2002, Vladimir Smelhaus wrote: On 9 Dec 2002, 15:52, Thomas Jalsovsky wrote: I have HTB on IMQ device. My rate does not work as I configured. I configured 1920kbit/s and I can download only about 290kbit/s (while Set your pfifo limit higher. You have too much dropped

Re: [LARTC] HTB problems

2002-12-09 Thread Thomas Jalsovsky
On Mon, 9 Dec 2002, Thomas Jalsovsky wrote: On Mon, 9 Dec 2002, Vladimir Smelhaus wrote: On 9 Dec 2002, 15:52, Thomas Jalsovsky wrote: I have HTB on IMQ device. My rate does not work as I configured. I configured 1920kbit/s and I can download only about 290kbit/s (while Set your

Re: [LARTC] HTB and theory

2002-12-09 Thread Stef Coene
On Monday 09 December 2002 18:14, Catalin Bucur wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, Let's say that my ISP gives me 5000Kbit guaranteed bandwidth. I'm starting a HTB traffic shape like this: tc qdisc add dev eth1 root handle 11: htb default 99 tc class add dev

Re: [LARTC] HTB Problem

2002-12-09 Thread Stef Coene
On Monday 09 December 2002 19:19, [EMAIL PROTECTED] wrote: Hello, I am shaping traffic for ~250 users and i have noticed something is wrong: Each user is being shaped from 32kbit/s to 2mbit/s. When i run the script which creates the classes the following error is printed to syslog: Dec

Re: [LARTC] HTB and theory

2002-12-09 Thread Stef Coene
| rate of parent You don't have to follow this rules, but the final | shaping result can be strange. | See the faq page on www.docum.org. I've already seen it :-) But it doesn't say anything like: sum (child ceils) = ceil of parent Is there such a rule? Yes : child ceil = ceil of

Re: [LARTC] HTB and theory

2002-12-09 Thread Catalin Bucur
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Stef Coene wrote: | | Yes : child ceil = ceil of parent (I just added it to the faq page) | | Stef | So far, so good. But what if I want to give my clients a little more bandwidth than (parent ceil) / (no. of clients)? Let's suppose that I have 10

Re: [LARTC] HTB on IMQ

2002-12-06 Thread Thomas Jalsovsky
On Thu, 5 Dec 2002, Jose Luis Domingo Lopez wrote: On Thursday, 05 December 2002, at 10:04:23 +0100, Thomas Jalsovsky wrote: could somebody check my IMQ+HTB config? Is it OK? Why am I asking for this? I got kernel panic and I don't know what is wrong in my config/system. Kernel

Re: [LARTC] HTB on IMQ

2002-12-06 Thread Vladimir Smelhaus
On 6 Dec 2002, 9:34, Thomas Jalsovsky wrote: Is the shaper configuration (one IMQ for ingress and eggress traffic from the same physical interface) WRONG or simple it is a kernel bug? It is wrong. You must have separate imq devices for ingress and egress. i.e. modprobe imq numdevs=2

Re: [LARTC] HTB/IMQ troubles (probably)

2002-12-05 Thread Razvan Cosma
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 4 Dec 2002, Thomas Jalsovsky wrote: .. snip .. Code: 8b 48 3c 89 d0 03 43 54 39 c1 78 14 39 d1 bf f5 ff ff ff 74 0Kernel panic: Aiee, killing interrupt handler! In interrupt handler - not syncing Same problem here, until I found that

Re: [LARTC] HTB/IMQ troubles (probably)

2002-12-05 Thread Thomas Jalsovsky
.. snip .. Code: 8b 48 3c 89 d0 03 43 54 39 c1 78 14 39 d1 bf f5 ff ff ff 74 0Kernel panic: Aiee, killing interrupt handler! In interrupt handler - not syncing Same problem here, until I found that one should (must?) use different IMQ devices for PREROUTING and POSTROUTING. HTH

Re: [LARTC] HTB on kernel 2.4.20

2002-12-05 Thread Stef Coene
On Thursday 05 December 2002 12:18, Rimas wrote: Hi, I have a Linux box with kernel-2.4.20 HTB, IMQ patch + iptables-1.2.7a with IMQ and patched tc. I tried to use htb.init script, wondershaper and myshaper (http://www.ibiblio.org/pub/Linux/docs/HOWTO/other-formats/html_single/ADSL -

Re: [LARTC] HTB on kernel 2.4.20

2002-12-05 Thread Rimas
, 2002 5:04 PM Subject: Re: [LARTC] HTB on kernel 2.4.20 On Thursday 05 December 2002 12:18, Rimas wrote: Hi, I have a Linux box with kernel-2.4.20 HTB, IMQ patch + iptables-1.2.7a with IMQ and patched tc. I tried to use htb.init script, wondershaper and myshaper (http

Re: [LARTC] HTB on IMQ

2002-12-05 Thread Jose Luis Domingo Lopez
On Thursday, 05 December 2002, at 10:04:23 +0100, Thomas Jalsovsky wrote: could somebody check my IMQ+HTB config? Is it OK? Why am I asking for this? I got kernel panic and I don't know what is wrong in my config/system. Kernel panics are not the consequence of bad configuration on the

Re: [LARTC] HTB on kernel 2.4.20

2002-12-05 Thread Stef Coene
On Thursday 05 December 2002 21:17, Rimas wrote: Stef, When I tried to use htb.init script I just took example files: eth0, eth0-2.root, eth0-2:10.www, eth0-2:20.smtp, eth0-2:30.dfl But htb.init makes nothing. If I use the htb.init script and execute that show command, the counters not

Re: [LARTC] HTB/IMQ troubles (probably)

2002-12-04 Thread Thomas Jalsovsky
Hello, I also got (on the serial console): Unable to handle kernel NULL pointer dereference at virtual address 003c printing eip: c020fae0 *pde = Oops: CPU:0 EIP:0010:[c020fae0]Not tainted EFLAGS: 00010246 eax: ebx: df2335dc ecx: 0002

Re: [LARTC] HTB and IP tables

2002-12-03 Thread Stef Coene
On Monday 02 December 2002 15:33, James Ma wrote: Hi, All, Does anyone have working scripts using HTB for QoS but IPtables for filtering? I want to learn how to put them together. Do the scripts working on Redhat? The default redhat kernel should be fine. And for scripts, see www.docum.org.

Re: [LARTC] HTB example

2002-12-03 Thread Stef Coene
On Monday 02 December 2002 13:08, Jakub Sur wrote: Hi please sorry of my english, What is my problem. I am very small ISP. I have link 512kBit. I have 10 clients. I want use htb.init and i dont understand this script. I have this : My first 3 client group download and upload 128 kBit. My next

Re: [LARTC] HTB and IP tables

2002-12-03 Thread Stef Coene
On Monday 02 December 2002 15:33, James Ma wrote: Hi, All, Does anyone have working scripts using HTB for QoS but IPtables for filtering? I want to learn how to put them together. Do the scripts working on Redhat? I have some working scripts on www.docum.org And I think RedHat has the needed

Re: [LARTC] HTB broken in linux 2.4.20-rc2 ?

2002-11-17 Thread Juergen Schmidt
# tc qdisc add dev ppp0 root handle 1: htb default 12 RTNETLINK answers: Invalid argument FYI: I did compile htb as loadable module and it is loaded. bye, ju -- Juergen Schmidt Leitender Redakteur/senior editor c't magazin Verlag Heinz Heise GmbH Co KG, Helstorferstr. 7, D-30625

Re: [LARTC] HTB broken in linux 2.4.20-rc2 ?

2002-11-17 Thread Abraham van der Merwe
Hi Juergen! I just tried to upgrade to linux 2.4.20-rc2 and found, that my scripts are not working any more (they did with 2.4.18 + HTB patch). It boils down to: # tc qdisc add dev ppp0 root handle 1: htb default 12 RTNETLINK answers: Invalid argument while # tc qdisc add dev ppp0

Re: [LARTC] HTB broken in linux 2.4.20-rc2 ?

2002-11-17 Thread Juergen Schmidt
I got HTB working with 2.4.20-rc1 yesterday. Make sure you're using the latest iproute with HTB3 patches applied. (ss020116 + htb3 patches iirc) You are right: the problem was the old tc which worked with htb2 but not with htb3. Now everything works as expected. thanks, ju -- Juergen

Re: [LARTC] HTB broken in linux 2.4.20-rc2 ?

2002-11-17 Thread Abraham van der Merwe
Hi Juergen! I got HTB working with 2.4.20-rc1 yesterday. Make sure you're using the latest iproute with HTB3 patches applied. (ss020116 + htb3 patches iirc) Do I need those patches with the HTB included in the kernel? Is HTB 2 or 3 in 2.4.20 ? No, not if you use 2.4.20rcXX. It already

RE: [LARTC] HTB/IMQ with GRE bug

2002-10-30 Thread Sumit Pandya
Hi All, Mails from Patrick's account is bouncing back. Does anyone knows his alternative mail address? -- Sumit -Original Message- From: devik [mailto:devik;cdi.cz] [rootlinux /root]# dmesg ... ... ... NET: XXX messages suppressed. Dead loop on virtual device gre1, fix

Re: [LARTC] HTB/IMQ with GRE bug

2002-10-29 Thread devik
[root@linux /root]# dmesg ... ... ... NET: XXX messages suppressed. Dead loop on virtual device gre1, fix it urgently! Hmm. I heard about these. They are IMQ related - you have to bother Patrick. class htb 1:35 parent 1:2 leaf 35: prio 0 rate 1Kbit ceil 64Kbit burst 1600b cburst 1680b

Re: [LARTC] htb warning (error?)

2002-10-27 Thread Stef Coene
On Sunday 27 October 2002 14:19, Razvan Cosma wrote: I'm getting lots of this in the logs: kernel: HTB: mindelay=500, report it please ! so - I'm reporting it :) I use htb3.6-020525, imq-2.4.18.diff-10.1, kernel 2.4.18, iptables v1.2.6a. What causes this message, and what other info would

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

2002-10-17 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 class add dev

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 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 everything

<    1   2   3   4   5   6   7   >