Re: [LARTC] Weird(?) HTB3 setup

2002-08-29 Thread Stef Coene
> I want to be able to specify actions for different classes of > traffic in any of these four ways, and I'd like to use only > HTB if possible: > > 1. No guranteed rate, No ceil > 2. Guaranteed rate, No ceil > 3. No guranteed rate, Ceil specified > 4. Guaranteed rate, Ceil specified What do you m

Re: [LARTC] Old linuxbox as BwM

2002-08-29 Thread bert hubert
On Fri, Aug 30, 2002 at 02:59:54PM -0300, Esteban Maringolo wrote: > Hello, > > I'm playing with tc, htb, and other QoS features on an old pc I have. > The PC runs, by now, a shrinked version of Debian Woody, with patched > versions of kernel 2.4.18 and iproute in order to support HTB. > >

[LARTC] Weird(?) HTB3 setup

2002-08-29 Thread Marcus Sundberg
Hi, I want to be able to specify actions for different classes of traffic in any of these four ways, and I'd like to use only HTB if possible: 1. No guranteed rate, No ceil 2. Guaranteed rate, No ceil 3. No guranteed rate, Ceil specified 4. Guaranteed rate, Ceil specified For types 2, 3 and 4 t

Re: [LARTC] how to log pacets which hit routing rules?

2002-08-29 Thread James Sneeringer
On Thu, Aug 29, 2002 at 03:17:55PM +0200, Wojtek wrote: | Jan Macek wrote: | >Is there some way to make iproute2 log to syslog or to a file selected | >packets? | | use the iptables or ipchains with --log switch iptables does not have a --log switch. You must use the '-j LOG' target instead. -

[LARTC] Old linuxbox as BwM

2002-08-29 Thread Esteban Maringolo
Hello, I'm playing with tc, htb, and other QoS features on an old pc I have. The PC runs, by now, a shrinked version of Debian Woody, with patched versions of kernel 2.4.18 and iproute in order to support HTB. What i'm wondering is if with a AMD 100Mhz (stealed from a museum ;-),

Re: [LARTC] Confusion about kernelconfig QoS-options

2002-08-29 Thread Nils Lichtenfeld
Hello Stef! Stef Coene schrieb: > On Thursday 29 August 2002 18:25, Nils Lichtenfeld wrote: >> That was not my question. The listed items are not selectable as >> modules. They can only be compiled into the kernel or turned off. I >> list them again, they reside in the < QOS and/or fair queueing

Re: [LARTC] Confusion about kernelconfig QoS-options

2002-08-29 Thread Stef Coene
On Thursday 29 August 2002 18:25, Nils Lichtenfeld wrote: > Hi Stef! > > Stef Coene schrieb: > >> Witch of the following options _NEED_ to be enabled? I ask, because > >> the goal is to have the kernel as small as possible. > > > > Then use modules and load only the modules you need. > > That was

Re: [LARTC] Confusion about kernelconfig QoS-options

2002-08-29 Thread Nils Lichtenfeld
Hi Stef! Stef Coene schrieb: >> Witch of the following options _NEED_ to be enabled? I ask, because >> the goal is to have the kernel as small as possible. > Then use modules and load only the modules you need. That was not my question. The listed items are not selectable as modules. They can on

Re: [LARTC] Confusion about kernelconfig QoS-options

2002-08-29 Thread Stef Coene
On Thursday 29 August 2002 17:40, Nils Lichtenfeld wrote: > Hello there! > > Using Kernel 2.4.19. > > The modules I intend to use are SFQ queue, HTB packet scheduler, > Firewall based classifier and the U32 classifier. > > Witch of the following options _NEED_ to be enabled? I ask, because the > g

[LARTC] Confusion about kernelconfig QoS-options

2002-08-29 Thread Nils Lichtenfeld
Hello there! Using Kernel 2.4.19. The modules I intend to use are SFQ queue, HTB packet scheduler, Firewall based classifier and the U32 classifier. Witch of the following options _NEED_ to be enabled? I ask, because the goal is to have the kernel as small as possible. < QOS and/or fair queuei

Re: [LARTC] masq vs snat

2002-08-29 Thread Jose Luis Domingo Lopez
On Thursday, 29 August 2002, at 16:15:04 +0300, Alexander Trotsai wrote: > Is snat /x -> 1IP equal to masquerade? If I want specify > address for masquerade, could I use snat for this? > As far as I know (and from what iptables manpage says) MASQ is similar to SNAT with just a single source IP a

Re: [LARTC] HTB: messages in my log

2002-08-29 Thread Stef Coene
On Thursday 29 August 2002 16:00, Robert Penz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > > All you have to do is chaning r2q so quantum is smaller :) > > ok, I've done that, set r2q to 60, but still the same message, my problem > is also that I don't know a class 10010 That's an

Re: [LARTC] HTB: messages in my log

2002-08-29 Thread Robert Penz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > All you have to do is chaning r2q so quantum is smaller :) ok, I've done that, set r2q to 60, but still the same message, my problem is also that I don't know a class 10010 now my qdisc line looks that way tc qdisc add dev eth0 root handle 1: htb

Re: [LARTC] HTB: messages in my log

2002-08-29 Thread Stef Coene
On Thursday 29 August 2002 15:37, Robert Penz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi! > > I'm getting following messages in my log, don't know what I'm doing wrong. > I have that messages on 2.419 and 20pre1 > > first call of my TC script, after the boot > > Aug 29 14:30:0

[LARTC] HTB: messages in my log

2002-08-29 Thread Robert Penz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi! I'm getting following messages in my log, don't know what I'm doing wrong. I have that messages on 2.419 and 20pre1 first call of my TC script, after the boot Aug 29 14:30:06 whitestar kernel: HTB init, kernel part version 3.6 Aug 29 14:30:06 w

Re: [LARTC] HTB equivalent for 'bounded' and 'isolated' in CBQ

2002-08-29 Thread Stef Coene
> It works fine for me, although I haven't used CBQ previously so I can't > comapre them. It just works for me, except the delays in interactive class > are too long, even when the prio is 0 (highest) and the rate and ceil are > maximum. Maybe CBQ is better in reducing the delays... Anybody solved

Re: [LARTC] how to log pacets which hit routing rules?

2002-08-29 Thread Wojtek
Jan Macek wrote: > Hi, > > Is there some way to make iproute2 log to syslog or to a file selected > packets? > > I have a problem, that my packets dissapear somewhere, and I want to be > sure if they get to the routing stage or not, and where do they get > routed. > > use the iptables or ipch

[LARTC] masq vs snat

2002-08-29 Thread Alexander Trotsai
Hi all Is snat /x -> 1IP equal to masquerade? If I want specify address for masquerade, could I use snat for this? -- Best regard, Alexander Trotsai aka MAGE-RIPE aka MAGE-UANIC My PGP at ftp://blackhole.adamant.net/pgp/trotsai.key[.asc] ___ LARTC mai

Re: RES: [LARTC] Help with tc TBF filter

2002-08-29 Thread Stef Coene
On Thursday 29 August 2002 13:03, Roberto Campos wrote: > Hi, > > I just want to know if HTB is alredy in stock kernel or if I have do > recompile the kernel for it to work. It will be in kernel 2.4.20. Stef -- [EMAIL PROTECTED] "Using Linux as bandwidth manager" http://www.docum.org/

Re: [LARTC] htb guarantee bandwidth

2002-08-29 Thread Stef Coene
On Thursday 29 August 2002 10:53, Ciprian Niculescu wrote: > hi, > > you give to all the clients all the bandwith or limited at 64k, but with > different priorities. > > class parent 1: classid 1:5 htb rate 128kbit > class parent 1:5 classid 1:1 htb rate 64kbit ceil 128kbit prio 1 > class parent 1

Re: [LARTC] how to force iproute2 to FORWARD to another interfacepackets with a destinatioin IP on this machine?

2002-08-29 Thread Wojtek
Jan Macek wrote: > I have this situation: > > My machine debina, has three interfaces: > > eth1 212.126.24.129 > ppp0 10.2.0.1 (Point-to-Point: 212.31.242.98) > nsc5 10.2.0.250 (Point-to-Point: 172.23.140.32) > > > I want packets which come in through the nsc5 interface, to be FORWAR

RES: [LARTC] Help with tc TBF filter

2002-08-29 Thread Roberto Campos
Hi, I just want to know if HTB is alredy in stock kernel or if I have do recompile the kernel for it to work. Thanks. Roberto Campos ___ Meu Provedor Tecnologias e Informatica ltda. Rua Camerino, 128 Gr. 302 - Centro Rio de Janeiro -

Re: [LARTC] htb guarantee bandwidth

2002-08-29 Thread Ciprian Niculescu
hi, you give to all the clients all the bandwith or limited at 64k, but with different priorities. class parent 1: classid 1:5 htb rate 128kbit class parent 1:5 classid 1:1 htb rate 64kbit ceil 128kbit prio 1 class parent 1:5 classid 1:2 htb rate 64kbit ceil 128kbit prio 2 you put the client t

Re: [LARTC] HTB - problem with one thread

2002-08-29 Thread Ciprian Nica
On Wednesday 28 August 2002 20:45, Stef Coene wrote: > > The problem is that clients can have their bandwidths at maximum only if > > they use a download accelerating software like DAP with multiple > > symultanous threads. Using only one thread, a single download can reach > > about 60% of the