Re: [LARTC] HTB problem running on VLAN, not working

2005-10-08 Thread Andy Furniss
Samuel Koscelansky / "SUBNET" wrote: I tested shaping on vlan and it seems OK for me (even though my switch doesn't do vlan it doesn't seem to block oversize frames). I noticed a few things with your setup - #classes for download /sbin/tc class add dev eth0.100 parent 100: classid 100:1 htb

[LARTC] HTB problem running on VLAN, not working

2005-10-06 Thread Samuel Koscelansky / \"SUBNET\"
Hello.   I'm running linux box with Slackware 9.1 and compiled kernel 2.4.31 with "yes" to VLANs and "yes" to all QoS. On this box i have more ethernet interfaces:   eth0 eth1 eth2   and so as more vlan interfaces:   eth0.100 eth1.3 eth1.4   This is entrace(uplink) router to our whole network

Re: [LARTC] HTB: Problem with excess bandwidth distribution

2004-10-31 Thread Andy Furniss
Andy Furniss wrote: Saying that I did notice that HTB was dropping - maybe the default queue length is shorter now? It does seem a bit strange though, I see drops where I expect the queue to be long enough for my rwin and a class with two tcps on the go had less drops than one with one - strang

Re: [LARTC] HTB: Problem with excess bandwidth distribution

2004-10-29 Thread Andy Furniss
Andy Furniss wrote: 1 $TC class add dev imq0 parent 1:1 classid 1:32 htb rate 133kbit ceil 400kbit prio 1 I meant to delete the prio 1 - I don't know if it matters - I tested with the other two. Andy. ___ LARTC mailing list / [EMAIL PROTECTE

Re: [LARTC] HTB: Problem with excess bandwidth distribution

2004-10-29 Thread Andy Furniss
Leslie Patrick Polzer wrote: Still problems :( I upgraded to kernel 2.6.9 now, configured IMQ to hook itself up after NAT, called it from prerouting, used u32 (matching works), set the root class to a rate of 800kBit (which is 200 less than my link speed) - and the behavior gets even worse :( U

Re: [LARTC] HTB: Problem with excess bandwidth distribution

2004-10-29 Thread Francisco Pereira
Quoting Leslie Patrick Polzer <[EMAIL PROTECTED]>: > Still problems :( > > I upgraded to kernel 2.6.9 now, configured IMQ to hook itself up after > NAT, called it > from prerouting, used u32 (matching works), set the root class to a rate > of 800kBit > (which is 200 less than my link speed) - a

Re: [LARTC] HTB: Problem with excess bandwidth distribution

2004-10-29 Thread Jason Boxman
On Friday 29 October 2004 11:36, Leslie Patrick Polzer wrote: > Still problems :( > > I upgraded to kernel 2.6.9 now, configured IMQ to hook itself up after > NAT, called it > from prerouting, used u32 (matching works), set the root class to a rate > of 800kBit > (which is 200 less than my link spe

Re: [LARTC] HTB: Problem with excess bandwidth distribution

2004-10-29 Thread Leslie Patrick Polzer
Still problems :( I upgraded to kernel 2.6.9 now, configured IMQ to hook itself up after NAT, called it from prerouting, used u32 (matching works), set the root class to a rate of 800kBit (which is 200 less than my link speed) - and the behavior gets even worse :( Unfortunately, I cannot shape o

Re: [LARTC] HTB: Problem with excess bandwidth distribution

2004-10-29 Thread Andy Furniss
Leslie Patrick Polzer wrote: Andy Furniss wrote: Leslie Patrick Polzer wrote: Hello, I have a serious problem with HTB which I wasn't able to solve myself. I run a masquerading router with ppp0 as interface to the Internet. Three clients need to share a downstream of 1 MBit, which I want to divide

Re: [LARTC] HTB: Problem with excess bandwidth distribution

2004-10-29 Thread Leslie Patrick Polzer
Andy Furniss wrote: Shaping from the narrow end of the bottleneck is a bit of a kludge, you have to set your rates/ceils lower than link speed or you won't have a queue to shape with. Could you also elaborate this a bit further? Many thanks so far! Leslie

Re: [LARTC] HTB: Problem with excess bandwidth distribution

2004-10-28 Thread Leslie Patrick Polzer
Andy Furniss wrote: Leslie Patrick Polzer wrote: Hello, I have a serious problem with HTB which I wasn't able to solve myself. I run a masquerading router with ppp0 as interface to the Internet. Three clients need to share a downstream of 1 MBit, which I want to divide with tc. When I see a packet

Re: [LARTC] HTB: Problem with excess bandwidth distribution

2004-10-28 Thread Andy Furniss
Leslie Patrick Polzer wrote: Hello, I have a serious problem with HTB which I wasn't able to solve myself. I run a masquerading router with ppp0 as interface to the Internet. Three clients need to share a downstream of 1 MBit, which I want to divide with tc. When I see a packet being forwarded to o

Re: [LARTC] HTB: Problem with excess bandwidth distribution

2004-10-28 Thread Zviad O. Giorgadze
Hello Leslie, I had the same problem for kernel 2.4.27 and it was related to bug in HTB. Use kernel >=2.6.8.1 or apply patch from Devik's site http://luxik.cdi.cz/~devik/qos/htb/v3/htbfair.diff. Best regards, Zviad >Hello, > >I have a serious problem with HTB wh

Re: [LARTC] HTB: Problem with excess bandwidth distribution

2004-10-28 Thread Saad S. B. Faruque
did u try it with sfq ? On Thu, 28 Oct 2004 18:55:00 +0200, Leslie Patrick Polzer <[EMAIL PROTECTED]> wrote: > Hello, > > I have a serious problem with HTB which I wasn't able to solve myself. > > I run a masquerading router with ppp0 as interface to the Internet. > Three clients need to share

[LARTC] HTB: Problem with excess bandwidth distribution

2004-10-28 Thread Leslie Patrick Polzer
Hello, I have a serious problem with HTB which I wasn't able to solve myself. I run a masquerading router with ppp0 as interface to the Internet. Three clients need to share a downstream of 1 MBit, which I want to divide with tc. When I see a packet being forwarded to one of these clients, I give i

Re: [LARTC] HTB problem...

2004-09-07 Thread Andreas Klauer
Am Tuesday 07 September 2004 23:18 schrieb Cow: > zytec: (?) > > I assume that you want somethink like: > > data from server to LAN (PC1,PC2) unshaped (full 100mbit) > > data from Internet to LAN shaped > > Correct. Not really an example, but you may have a look at my script [1]. It solves the 10

[LARTC] HTB problem...

2004-09-07 Thread Cow
>by zytek >Hello all, my first post here, maybe even I will help someone;) >I assume that you want somethink like: >data from server to LAN (PC1,PC2) unshaped (full 100mbit) >data from Internet to LAN shaped Correct. >Then all you need to do is make classes with source 192.168.0.1 and >destinati

[LARTC] HTB Problem...

2004-09-07 Thread Cow
> You might want to check out this script > http://www.geocities.com/jame_sj I just noticed a bug (that I need to > figure out...) in it but this should give a start.. Looks nice, want to share the bug with me? :-) > > James > ___ LARTC mailing list /

[LARTC] HTB problem...

2004-09-07 Thread Cow
I've tryed to make a script, some of you, who thinks it looks ok? DEV=eth2 DOWNLINK=1024 UPLINK=512 DOWN1=768 UP1=384 DOWN2=256 UP2=128 tc qdisc add dev $DEV root handle 1: htb default 20 tc class add dev $DEV parent 1: classid 1:1 htb rate ${UPLINK}kbit burst 6k tc class add dev $DEV parent 1

Re: [LARTC] HTB problem...

2004-09-07 Thread zytek
Dnia poniedziałek 06 wrzesień 2004 23:56, Cow napisał: > Hi folks. > > Let's say I would like to make some bandwidth control on my network > using HTB. I have 2 clients: [...] > I think a script as i described, could be very complex to write, > therefore i ask, whoever is here, for help. > Thank yo

[LARTC] HTB problem...

2004-09-06 Thread Cow
Hi folks. Let's say I would like to make some bandwidth control on my network using HTB. I have 2 clients: PC1: 192.168.100.2 PC2: 192.168.100.3 Server: 192.168.100.1 This has 2 NIC's eth1 is local and eth2 is connected to the internet. It could be nice to have a script, where you could specify

Re: [LARTC] HTB problem

2003-12-04 Thread Catalin BOIE
> > Hello, > > > > I'm having some problems using HTB to prioritize traffic on my linux > > router. > > The main problem is as follows: > > I have a 6Mbits channel on the metropolitan network and a 64kbps link > > for the sites outside my country. > > > > These 64kbps are dynamically allocated by m

Re: [LARTC] HTB problem

2003-12-03 Thread Mihai Tanasescu
Doesn't anyone have any ideas regarding my problem ? Mihai Tanasescu wrote: Hello, I'm having some problems using HTB to prioritize traffic on my linux router. The main problem is as follows: I have a 6Mbits channel on the metropolitan network and a 64kbps link for the sites outside my countr

[LARTC] HTB problem

2003-12-02 Thread Mihai Tanasescu
Hello, I'm having some problems using HTB to prioritize traffic on my linux router. The main problem is as follows: I have a 6Mbits channel on the metropolitan network and a 64kbps link for the sites outside my country. These 64kbps are dynamically allocated by my ISP so I usually get something

Re: [LARTC] HTB Problem

2003-09-30 Thread Stef Coene
On Tuesday 30 September 2003 15:44, Guilherme Benkenstein wrote: > Hi all!! > > I'm new in the list. > > I'm using Slackware 9.0 with 2.4.21 > > HTB 0.8.3 > > eth0 > > DEFAULT=30 > > eth0-2:30.dfl > > RATE=256Kbit > BURST=32Kb > LEAF=sfq > > This is my configuration, but, the shaper dosen't works i

[LARTC] HTB Problem

2003-09-30 Thread Guilherme Benkenstein
Hi all!! I'm new in the list. I'm using Slackware 9.0 with 2.4.21 HTB 0.8.3 eth0 DEFAULT=30 eth0-2:30.dfl RATE=256Kbit BURST=32Kb LEAF=sfq This is my configuration, but, the shaper dosen't works in 32Kbps... Anybody can help me? Thanks Guilherme ___

Re: [LARTC] htb problem

2003-07-28 Thread Stef Coene
On Thursday 24 July 2003 16:26, Delcho wrote: > Hello, > I have a problem with my htb in linux gateway machine. > Wana make this borrow to and from internet: > every user must be shaped to 32Kbit,max number of users are 6 in one > subnet /29 > and all subnet must be shaped to 92Kbit,e.i every user

[LARTC] htb problem

2003-07-24 Thread Delcho
Hello, I have a problem with my htb in linux gateway machine. Wana make this borrow to and from internet: every user must be shaped to 32Kbit,max number of users are 6 in one subnet /29 and all subnet must be shaped to 92Kbit,e.i every user will download with 32Kbit,but when all 6 user download

Re: [LARTC] htb problem

2003-06-25 Thread Ratel
f Coene" <[EMAIL PROTECTED]> To: "Ratel" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, June 12, 2003 9:35 PM Subject: Re: [LARTC] htb problem > On Thursday 12 June 2003 21:21, Ratel wrote: > > Hi, > > > > I have some interesting problem

RV: [LARTC] htb problem

2003-06-20 Thread Miguel A. Novo
I have the same problem using tc and iptables. All traffic goes to "default". I tried using tcng too: (eth0 as local NIC, eth1 as Inet nic, eth1 masquerading via iptables and bridged to DSL -I have the internet IP on NIC 2-) #include "fields.tc" #include "ports.tc" dev eth1 { egress {

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.

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! --- изпратено от mail.bG Силна Анти-спам защита 12MB

Re: [LARTC] htb problem

2003-06-12 Thread Stef Coene
On Thursday 12 June 2003 23:08, Esteban wrote: > my set up is like this: > > #!/bin/bash > DEV=eth1 > > tc qdisc del dev $DEV root2> /dev/null > /dev/null > tc qdisc del dev $DEV ingress 2> /dev/null > /dev/null > > tc qdisc add dev $DEV root handle 1: htb > > tc class add dev $DEV parent 1: cl

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.

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 p

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 : > > [...] > >

Re: [LARTC] htb problem

2003-06-12 Thread Stef Coene
On Thursday 12 June 2003 21:21, Ratel wrote: > Hi, > > I have some interesting problem with htb , I set up root class and > sub-classess: > > $TC qdisc add dev eth0 root handle 1: htb > $TC class add dev eth0 parent 1: classid 1:1 htb rate 1990kbit ceil > 2000kbit $TC class add dev eth0 parent 1:1

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 (eth0

[LARTC] htb problem

2003-06-12 Thread Ratel
Hi, I have some interesting problem with htb , I set up root class and sub-classess: $TC qdisc add dev eth0 root handle 1: htb $TC class add dev eth0 parent 1: classid 1:1 htb rate 1990kbit ceil 2000kbit $TC class add dev eth0 parent 1:1 classid 1:10 htb rate 190kbit ceil 200kbit $TC class add de

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

[LARTC] HTB problem

2003-01-23 Thread Jay Wineinger
Hi, Ive been looking at tinkering with the linux traffic control stuff lately and decided to try out the htb qdisc. My setup is as follows: 2 interfaces: eth0 goes to internet, and eth1 goes to a NAT'd subnet. eth0 has a 7mbit link, but only a 4.5 mbit link to the internet while eth1 is a 100

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:

[LARTC] HTB Problem

2002-12-09 Thread lartc
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 9 19:53:34 p1 kernel: HTB: quantum of class 10009 is small. Con

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

Re: [LARTC] HTB - problem with one thread

2002-08-28 Thread Stef Coene
On Wednesday 28 August 2002 15:15, Ciprian Nica wrote: > Hello, > > Besides a very good functionality, I have a small, yet stressing, problem. > > Let's say I have a bandwidth of N bits. > > I have X clients, everyone with his fixed bandwidth. > > I create htb qdsics for each client. Each leaf has

[LARTC] HTB - problem with one thread

2002-08-28 Thread Ciprian Nica
Hello, Besides a very good functionality, I have a small, yet stressing, problem. Let's say I have a bandwidth of N bits. I have X clients, everyone with his fixed bandwidth. I create htb qdsics for each client. Each leaf has sfq queueing discipline. A sample config would be like this :

Re: [LARTC] HTB problem (yet another one?)

2002-08-21 Thread Stef Coene
> endeavour:~# tc qdisc add dev imq0 root handle 1 htb ttt > What is "ttt"? > Usage: ... qdisc add ... htb [default N] [r2q N] > default number of class to which unclassified packets are sent {1} > Why do you have that "ttt" option? If you remove ttt from the command, does it work? > ---

[LARTC] HTB problem (yet another one?)

2002-08-21 Thread Yans van Horn
Hello I have a small (maybe typical?) problem with HTB. Present configuration is: Kernel: 2.4.20-pre4 (with HTB, IMQ) endeavour:/var/log# tc -V tc utility, iproute2-ss010824 Which should support HTB because writes help for it ;-) endeavour:~# tc qdisc add dev imq0 root handle 1 htb ttt What i

Re: [LARTC] HTB problem !

2002-05-14 Thread Arindam Haldar
Stef Coene wrote: > On Tuesday 14 May 2002 08:22, Arindam Haldar wrote: > >>hi all >> >>After patching & compiling htb3_2.4.17; imq-2.4.18; sch_geberic with >>kernal 2.4.18 and iptables-1.2.6a-imq with iptables-1.2.7-20020423 i >>faced the folowing problem patching htb3_tc with >>iproute2-2.4.7

Re: [LARTC] HTB problem !

2002-05-14 Thread Stef Coene
On Tuesday 14 May 2002 08:22, Arindam Haldar wrote: > hi all > > After patching & compiling htb3_2.4.17; imq-2.4.18; sch_geberic with > kernal 2.4.18 and iptables-1.2.6a-imq with iptables-1.2.7-20020423 i > faced the folowing problem patching htb3_tc with > iproute2-2.4.7-now-ss010824---> > > [ro

[LARTC] HTB problem !

2002-05-13 Thread Arindam Haldar
hi all After patching & compiling htb3_2.4.17; imq-2.4.18; sch_geberic with kernal 2.4.18 and iptables-1.2.6a-imq with iptables-1.2.7-20020423 i faced the folowing problem patching htb3_tc with iproute2-2.4.7-now-ss010824---> [root@test iproute2]# patch -p1 < ../htb3_tc.diff patching file tc