Re: [LARTC] CBQ + Layer7 x Emule

2007-06-09 Thread Saulo Silva
Hi Marcos , Now works with l7 and this iptables lines . I the first email we got only 4 lines and now we have 5 . Its working nice . Thanks the help . Saulo Silva 2007/6/9, Marco Aurelio <[EMAIL PROTECTED]>: from ipp2p news page ""quote"" I suggest the following tcp and udp for connection

Re: [LARTC] CBQ + Layer7 x Emule

2007-06-09 Thread Marco Aurelio
from ipp2p news page ""quote"" I suggest the following tcp and udp for connection tracking (see docu section) 01# iptables -t mangle -A PREROUTING -p tcp -j CONNMARK --restore-mark 02# iptables -t mangle -A PREROUTING -p tcp -m mark ! --mark 0 -j ACCEPT 03# iptables -t mangle -A PREROUTING -p tc

Re: [LARTC] CBQ + Layer7 x Emule

2007-06-08 Thread Salatiel Filho
On 6/8/07, Saulo Silva <[EMAIL PROTECTED]> wrote: HI Marcos , I tried your rules, but without success . Thank for that help . And , how about ip2pp ? Is this application could do that ? Help me to shape edonkey traffic ??? Best Regards, Saulo Silva 2007/6/8, Marco Aurelio <[EMAIL PROTECTED

Re: [LARTC] CBQ + Layer7 x Emule

2007-06-08 Thread Saulo Silva
HI Marcos , I tried your rules, but without success . Thank for that help . And , how about ip2pp ? Is this application could do that ? Help me to shape edonkey traffic ??? Best Regards, Saulo Silva 2007/6/8, Marco Aurelio <[EMAIL PROTECTED]>: l7's edonkey filter does not match all edonkey

Re: [LARTC] CBQ + Layer7 x Emule

2007-06-08 Thread Marco Aurelio
l7's edonkey filter does not match all edonkey traffic, it does not match data packets (that you want to shape). It matches however the signaling packets that can be related to data connections. I never tried L7 but I think these may help you iptables -t mangle -A PREROUTING -p tcp -j CONNMARK -

[LARTC] CBQ + Layer7 x Emule

2007-06-08 Thread Saulo Silva
Hi All , My first message and I have a little problem with my FC6 box trying to block emule traffic using layer7 . Here my network : Internet - ADSL Router --- FC6 Box Emule Box external ADSL : Dynamic Internal ADSL : 192.168.254.1 external

[LARTC] Cbq and max latency

2007-05-01 Thread Leigh Sharpe
Hi All, Is there any way to set the maximum latency on a cbq when it is overloaded? Or, for that matter, to query it? For example, I want to know how long (in seconds) a packet will stay in the queue before it is dropped, and I want to be able to adjust this figure. Regards, Leigh

[LARTC] CBQ or HTB

2006-02-28 Thread Igor Okimoto
Which diference of I to use the CBQ and the HTB? I need priority a many ports.. same ports are 5060(voip),25(mail) and 3128(squid) It’s a my example off cbq arquive :   DEVICE=eth0,10Mbit,1Mbit RATE=500Kbit WEIGHT=50Kbit PRIO=5 RULE=:5060 BOUNDED=yes ISOLATED=yes   I need specif

[LARTC] [CBQ problem]

2005-06-07 Thread ea
Hello, guys! I have router that shape traffic with cbq+sfq and everything was working fine until today when I put two more files one for upload and one for download, and I get high latency about 20-30ms the usage of CPU0 is about 100%. if I remove these two files then everything is back to norm

[LARTC] CBQ throughput and efficiency question

2005-06-02 Thread cai
Hello all, I am testing CBQ and HTB these days and I got a lots problem which needs your help.  It is a little long text :) Thank you!  (All my test is based on Redhat Linux9.0) 1.Is isolated of CBQ working? I have read Mr. stef word that he never made cbq isolated work.   2. I have

Re: [LARTC] cbq configuration is needed

2005-03-22 Thread Andy Furniss
Alaios wrote: Hi i need a cbq configuration that works and drops packets if the flow exceeds an amount of data.. Do u have any configuration that drops packets...? My cbq configuraion doesnt drop packets... The traffic use the correct class but seems that tha cbq is not able to control correct the

Re: [LARTC] cbq configuration is needed

2005-03-22 Thread Alaios
Plz... have n't u ever tried any cbq configuration? --- Alaios <[EMAIL PROTECTED]> wrote: > Hi i need a cbq configuration that works and drops > packets if the flow exceeds an amount of data.. Do > u > have any configuration that drops packets...? My > cbq > configuraion doesnt drop packets...

[LARTC] cbq configuration is needed

2005-03-20 Thread Alaios
Hi i need a cbq configuration that works and drops packets if the flow exceeds an amount of data.. Do u have any configuration that drops packets...? My cbq configuraion doesnt drop packets... The traffic uses the correct class but seems that the cbq is not able to control correct the flow

[LARTC] cbq configuration is needed

2005-03-20 Thread Alaios
Hi i need a cbq configuration that works and drops packets if the flow exceeds an amount of data.. Do u have any configuration that drops packets...? My cbq configuraion doesnt drop packets... The traffic use the correct class but seems that tha cbq is not able to control correct the flow

[LARTC] cbq + gred doesn't drop packets

2005-03-17 Thread Alaios
Hi i have configured my server with cbq and gred. The problem is that the cbq doesnt drop packets. The cbq is configured at a rate of 500Kbit "qdisc cbq 4: rate 50bit (bounded,isolated) prio no-transmit Sent 100103048 bytes 73933 pkts (dropped 0, overlimits 0) borrowed 0 overactions 0 avgidl

Re: [LARTC] CBQ: sibling isolated-classes lend out bandwidth

2004-10-30 Thread Stef Coene
On Friday 29 October 2004 18:24, Sebastian Spies wrote: > How can it be, that class 1:3 in my case borrows, when all sibling > classes are isolated ? Forget about isolated, I neve got it working. http://www.docum.org/docum.org/tests/cbq/filter.php Stef -- [EMAIL PROTECTED]  "Using Linux as band

[LARTC] CBQ: sibling isolated-classes lend out bandwidth

2004-10-29 Thread Sebastian Spies
How can it be, that class 1:3 in my case borrows, when all sibling classes are isolated ? nessus:~# tc -s -d class show dev eth1 class cbq 1: root rate 100Mbit cell 8b (bounded,isolated) prio no-transmit/8 weight 100Mbit allot 1514b level 2 ewma 5 avpkt 1000b maxidle 1us Sent 484 byte

Re: [LARTC] cbq

2004-10-01 Thread zytek
Dnia piątek 01 październik 2004 14:35, James Lista napisał: [...] remember, that when you are shaping traffic on your link to your ISP (host's upload) then you cannot use it's IP because it has been already NATed. try marking packets outgoing from this IP with iptables and then shape it using

Re: [LARTC] cbq

2004-10-01 Thread Marcin Sura
Witam Friday, October 1, 2004, 2:35:16 PM, you wrote: > I am totally newbie to band control... If you are newbie, then better focus on htb or hfsc. CBQ is very unfriendly, specially for newbies :) (And that's a reason why i'm using htb :) ) -- Pozdrawiam Marcin, [EMAIL PROTECTED]

[LARTC] cbq

2004-10-01 Thread James Lista
buddies, I am totally newbie to band control... I created a shell script that generates cbq files like below (for example, someone in my lan with IP 172.16.7.72). my question is: is the file name format and are the lines below right to limit band for this one with this IP ?? ( I read cbq.ini 0.

Re: [LARTC] CBQ REPORT

2004-08-15 Thread Stef Coene
On Friday 13 August 2004 18:21, andybr wrote: > Hi all, > > I am controlling the bandwidth of 40 clients with cbq. > When I type "tc -s -d qdisc show dev eth0" I see the > traffic for each rule. Now my question is: is there any > script to make possible to pass these results to a > report like txt

[LARTC] CBQ REPORT

2004-08-13 Thread andybr
Hi all, I am controlling the bandwidth of 40 clients with cbq. When I type "tc -s -d qdisc show dev eth0" I see the traffic for each rule. Now my question is: is there any script to make possible to pass these results to a report like txt or html something like that? any tips will be helpfull. T

Re: [LARTC] cbq dosen't shape on MARK for one host.. strange!

2004-08-09 Thread zytek
clean example: azazel mfw # iptables -t mangle -L FORWARD -vnx | grep 10.0.1.9 && date 11330 9326433 MARK all -- eth0 * 0.0.0.0/0 10.0.1.9MARK set 0x5091 pon sie 9 20:14:52 CEST 2004 azazel mfw # iptables -t mangle -L FORWARD -vnx | grep 10.0.1.9 && dat

Re: [LARTC] cbq dosen't shape on MARK for one host.. strange!

2004-08-09 Thread zytek
update: i have tried htb.init with compiled commands like this: azazel mfw # htb compile /sbin/tc qdisc del dev eth2 root /sbin/tc qdisc add dev eth2 root handle 1 htb default 0 /sbin/tc class add dev eth2 parent 1: classid 1:1000 htb rate 80Kbit ceil 80Kbit burst 8Kb cburst 2Kb /sbin/tc filte

[LARTC] cbq dosen't shape on MARK for one host.. strange!

2004-08-09 Thread zytek
Hello all, this is my first post here. Sorry for my english. Gentoo LAN router, 2.4.26-hardened-r2 There are 2 WAN links, one LAN link. I am doing some iptables/routing/tc magic in my scripts. What's interesting is marking packets traveling from all IP's in LAN. Interesting commands are:

[LARTC] CBQ + 802.1Q VLAN

2004-08-06 Thread Ricardo
    I need to shape traffic from some IP on one LAN, but I'm in trouble. There is a linux 2.4.26 connected to the Internet (eth0) / LAN(eth1) doing NAT. I'm using VLANs in the LAN Interface, that is connected to a 3Com SuperStack II in a 802.1Q tagged port.  I want to create a class that wi

[LARTC] CBQ Problem

2004-07-28 Thread Ricardo
    Hi.    I want to shape traffic from some IPs in my lan, but I'm w/ trouble. I have a linux box connected to the Internet. In the other side of this box is my LAN. I want to create the following scenario:  My root qdisc is attached to a 100Mbit/s NIC I want to create a class attached to t

[LARTC] CBQ - priority, config seems good but delay is large, need sb's advice!

2004-06-23 Thread adam f
Hello, My name is Adam and I try to get PQ by means of CBQ. Sorry for writing about such a problems but I struggle with this for 2 weeks .. I have searched the LARTC archive till 2000 and everyone say using priorities lowers delay.. but it does NOT. I can NOT see ANY difference when using priorit

Re: [LARTC] CBQ troubles, processor overload

2004-06-22 Thread Ed Wildgoose
Adam Towarnyckyj wrote: I'd love to share. Whoever was interested in that, please let me know in an email. Thanks for the suggestions. I really appreciate them and I'll look into it. Well, I would for one. However, it looks like Ralph perhaps only wants a simple solution, so perhaps he isn't i

RE: [LARTC] CBQ troubles, processor overload

2004-06-22 Thread Adam Towarnyckyj
2:09 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [LARTC] CBQ troubles, processor overload > The problem I'm running into is that the processor gets >overloaded because of the amount of work tc is doing. I assumed it would >be able to handle the apx 5000 customers

Re: [LARTC] CBQ troubles, processor overload

2004-06-22 Thread Ed Wildgoose
The problem I'm running into is that the processor gets overloaded because of the amount of work tc is doing. I assumed it would be able to handle the apx 5000 customers we have on it. I have a bridge set up between two devices that run from the internet to the local network. This bridge takes up

[LARTC] CBQ troubles, processor overload

2004-06-21 Thread Adam Towarnyckyj
Hey there everyone, I appreciated everyone's help so much in the last few posts I decided to post some more! :) We implemented our bandwidth management machine on the network last week and everything looked great. After looking at it today, anything past the machine is losing major

Re: [LARTC] CBQ weight Prioritizing

2004-03-28 Thread Stef Coene
On Saturday 27 March 2004 15:51, lartc wrote: > Hello people, > > I'm curious about the weighting in CBQ, if i have these classes in my CBQ > script, will it work as I expect it to, or are there drawbacks? I am > already using HTB for the moment so don't tell me to use that, this is > simply someth

[LARTC] CBQ weight Prioritizing

2004-03-27 Thread lartc
Hello people, I'm curious about the weighting in CBQ, if i have these classes in my CBQ script, will it work as I expect it to, or are there drawbacks? I am already using HTB for the moment so don't tell me to use that, this is simply something I want to know. =) tc class add dev $DEV parent 1:1

Re: [LARTC] cbq init query

2004-03-18 Thread Stef Coene
On Monday 15 March 2004 18:57, Josh Beagley wrote: > Hello, > > Just wondering, from what I have been reading, would using > the word bounded solve my problem? I have not actually tried > using bounded yet, I will asap, however from what I > understand it only applies to classes? I simply have 2 cb

[LARTC] cbq init query

2004-03-15 Thread Josh Beagley
Hello, Just wondering, from what I have been reading, would using the word bounded solve my problem? I have not actually tried using bounded yet, I will asap, however from what I understand it only applies to classes? I simply have 2 cbq files, cbq-1200.internal, and cbq-1200.external, both of

Re: [LARTC] CBQ default class?

2003-11-24 Thread Fredrik Tolf
Stef Coene writes: > On Monday 24 November 2003 00:36, Fredrik Tolf wrote: > > This is a very simple question, but I simply haven't been able to find > > an answer. How do you define a "default" class for CBQ (as you can do > > with HTB)? Currently, I'm using a u32 match with mask 0 to match al

Re: [LARTC] CBQ default class?

2003-11-24 Thread Stef Coene
On Monday 24 November 2003 00:36, Fredrik Tolf wrote: > This is a very simple question, but I simply haven't been able to find > an answer. How do you define a "default" class for CBQ (as you can do > with HTB)? Currently, I'm using a u32 match with mask 0 to match all > packets, but I can't imagin

[LARTC] CBQ default class?

2003-11-23 Thread Fredrik Tolf
This is a very simple question, but I simply haven't been able to find an answer. How do you define a "default" class for CBQ (as you can do with HTB)? Currently, I'm using a u32 match with mask 0 to match all packets, but I can't imagine that to be the correct way to do it. Fredrik Tolf

[LARTC] CBQ with IMQ

2003-11-20 Thread rAcHeL ^cY
Hi, May I know : Is IMQ working with CBQ? I seems to have problem combining them together the thing just doesn't work. Thanks! _ Download ringtones, logos and picture messages from MSN Malaysia http://www.msn.com.my/mobile/rin

Re: [LARTC] cbq

2003-09-22 Thread Stef Coene
On Sunday 21 September 2003 12:50, Paras pradhan wrote: > hi : > > > On one of my severs i have a shoutcast audio streaming server running at > ports 8000 and 8001. > > Now my cbq rule in my gateway is as: > > DEVICE=eth1,100Mbit,10Mbit > BOUNDED=yes > ISOLATED=yes > PRIO=5 > RATE=2Kbit > WEIGHT=2K

[LARTC] cbq

2003-09-21 Thread Paras pradhan
hi : On one of my severs i have a shoutcast audio streaming server running at ports 8000 and 8001. Now my cbq rule in my gateway is as: DEVICE=eth1,100Mbit,10Mbit BOUNDED=yes ISOLATED=yes PRIO=5 RATE=2Kbit WEIGHT=2Kbit RULE=:8000,x.x.x.3 RULE=:8001,x.x.x.3 -- Now my question is, do the ppl fr

Re: [LARTC] CBQ Rate

2003-09-05 Thread Damjan
> And different prio's in the filter statement will not change much. It only > determines the order the filters are checked. But wasn't there a bug in 'tc' that would delete all your filters that had the same prio, when you only wanted to delete one of them? -- Damjan Georgievski jabberID: [E

Re: [LARTC] CBQ Rate

2003-09-04 Thread Stef Coene
;origine- > > De : [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] > > la part de Emmanuel SIMON > > Envoyé : jeudi 4 septembre 2003 17:40 > > À : 'LARTC' > > Objet : [LARTC] CBQ Rate > > > > > > Hi everyone, > > > &

RE: [LARTC] CBQ Rate

2003-09-04 Thread Emmanuel SIMON
2003 17:40 > À : 'LARTC' > Objet : [LARTC] CBQ Rate > > > Hi everyone, > > This is on a linux box, ingress (eth1) at 100Mb/s and egress (eth0) at > 10Mb/s. The purpose is to test CBQ > Here is my script > > --

[LARTC] CBQ Rate

2003-09-04 Thread Emmanuel SIMON
Hi everyone, This is on a linux box, ingress (eth1) at 100Mb/s and egress (eth0) at 10Mb/s. The purpose is to test CBQ Here is my script --- # Root qdisc tc qdisc add dev eth0 root handle 1:0 cbq bandwidth 9Mbit \ avpkt 1000 cell 8

[LARTC] CBQ and guaranteed bandwidth

2003-07-30 Thread Andrei Boros
I recently got a cable connection with 1mbps link capacity in the metropolitan networks and 16kbps minimum guaranteed bandwidth outside, maxim best effort 64kbps. I tried to create a setup on my linux box (which routes a local network) that should do the above traffic allocations. I got the lin

Re: [LARTC] CBQ-wondershaper superior over HTB-wondershaper?

2003-06-16 Thread Thilo Schulz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Monday 16 June 2003 17:18, Griem, Hans T wrote: > Hello Thilo, > > What did you find superior with CBQ-wondershaper over HTB-wondershaper? We > have not been using wondershaper specifically but our simple tests so far > seem to show that htb is much

RE: [LARTC] CBQ-wondershaper superior over HTB-wondershaper?

2003-06-16 Thread Griem, Hans T
Hello Thilo, What did you find superior with CBQ-wondershaper over HTB-wondershaper? We have not been using wondershaper specifically but our simple tests so far seem to show that htb is much easier to configure for a given target shape (i.,e accurate) compared to CBQ. Torsten -Original Me

[LARTC] CBQ bounded problem

2003-06-05 Thread Zealous
Dear friends, I have 1 mbps line connected to linux server. from linux server i have masqueraded some clients. I want to use only 200 kbps. I have attached the script. But on this script the traffic goes up to 350 kbps. how can i bound the bandwidth to 200 kbps. it should not exceed more than tha

Re: [LARTC] cbq bounded problem

2003-06-05 Thread Stef Coene
On Thursday 05 June 2003 06:35, Zealous wrote: > Dear all, > > I have 1 mbps line to internet. > > Our linux server is connected to router of 1mb > > Linux server gets 1mb bandwidth. > > I have done SOURCE MASQUERADING on linux. > > I have attached a cbq bandwidth script. I want to allow the traffi

[LARTC] cbq bounded problem

2003-06-05 Thread Zealous
Dear all,   I have 1 mbps line to internet.   Our linux server is connected to router of 1mb   Linux server gets 1mb bandwidth.   I have done SOURCE MASQUERADING on linux.   I have attached a cbq bandwidth script. I want to allow the traffic to restrict to 200Kbps. it should not exceed beyon

[LARTC] cbq help needed..

2003-04-04 Thread Alexandru Coseru
Hello...   How can I make some priority on my traffic..   I want to put ports 80,53,25,110 on priority 1  , and the rest of the traffic (kazza, dc++ , etc) , to priority 2..   I have to use sfq , because I have a non-guaranted bandwith (now i'm downloading with 10k/sec , a half hour ago I ha

Re: [LARTC] cbq , htb guides

2003-03-24 Thread Stef Coene
On Monday 24 March 2003 14:27, Paras pradhan wrote: > hello > > Is there any simple starter guides for cbq, tc, qdisc and htb?? www.docum.org can help you. I have some docs, examples and tips on it. Stef -- [EMAIL PROTECTED] "Using Linux as bandwidth manager" http://www.docum.org/ #

Re: [LARTC] cbq , htb guides

2003-03-24 Thread Jesper Lund
> Is there any simple starter guides for cbq, tc, qdisc and htb?? Where did you find this mailing list ? Try lartc.org :) //Jesper ___ LARTC mailing list / [EMAIL PROTECTED] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

[LARTC] cbq , htb guides

2003-03-24 Thread Paras pradhan
hello Is there any simple starter guides for cbq, tc, qdisc and htb?? If yes let me get them. Thanks. Paras pradhan Systems Dept. Bajranet PVT LTD Kathmandu Nepal. ___ LARTC mailing list / [EMAIL PROTECTED] http://mailman.ds9a.nl/mailman/listinfo/

Re: Re[8]: [LARTC] CBQ Traffic control not working

2003-03-17 Thread Maria Joana Urbano
> Indeed, I use transparent proxy, redirecting everything on port 80 to > 3128, on the same machine. To make sure it's clear, the scenario is > simple: client enters eth1 on port 80, gets redirected to port 3128... > I mark the packet depending on its source and than I apply a tc filter > to direc

Re: Re[8]: [LARTC] CBQ Traffic control not working

2003-03-16 Thread Stef Coene
On Sunday 16 March 2003 09:26, Mugur TOMITA wrote: > Indeed, I use transparent proxy, redirecting everything on port 80 to > 3128, on the same machine. To make sure it's clear, the scenario is > simple: client enters eth1 on port 80, gets redirected to port 3128... > I mark the packet depending on

Re[8]: [LARTC] CBQ Traffic control not working

2003-03-16 Thread Mugur TOMITA
Indeed, I use transparent proxy, redirecting everything on port 80 to 3128, on the same machine. To make sure it's clear, the scenario is simple: client enters eth1 on port 80, gets redirected to port 3128... I mark the packet depending on its source and than I apply a tc filter to direct it to the

Re: Re[6]: [LARTC] CBQ Traffic control not working

2003-03-14 Thread Stef Coene
On Thursday 13 March 2003 22:01, Mugur TOMITA wrote: > The filters are there... if you take a closer look you'll that my > copy/paste was falty... > > But I can tell you I solved the problem. I attched my solution below. > Stef, you are right, my filters are not working... > In fact I don't konow w

Re[6]: [LARTC] CBQ Traffic control not working

2003-03-13 Thread Mugur TOMITA
The filters are there... if you take a closer look you'll that my copy/paste was falty... But I can tell you I solved the problem. I attched my solution below. Stef, you are right, my filters are not working... In fact I don't konow what I did wrong: for marking packets depending on their source

Re[6]: [LARTC] CBQ Traffic control not working

2003-03-13 Thread Mugur TOMITA
> > tc class add dev eth0 parent 1:1 classid 1:8 cbq bandwidth 10Mbit rate > > 64Kbit allot 1514 cell 8 weight 6.4Kbit prio 1 maxburst 20 avpkt 1000 split > > 1:0 tc filter add dev eth0 parent 1:0 protocol ip prio 1 handle 4 fw > > classid 1:8 > Euh. You don't have any filters? How do you re

Re: Re[4]: [LARTC] CBQ Traffic control not working

2003-03-13 Thread Stef Coene
On Wednesday 12 March 2003 23:30, Mugur TOMITA wrote: > Here is my output... no prio 7... Mh. I tested it with htb and there is only prio 0-7. > # > # OUTPUT > # > linux:~ # tc -s -d class show dev eth0 > class cbq 1: root rate 10Mbit cell 8b mpu 64b (bounded,isolated) prio > no-t

Re: [LARTC] CBQ problem

2003-03-13 Thread Stef Coene
e. I don't have a direct link available to the page with the results. Stef > > - Original Message - > From: "Liu Zhiyong" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Thursday, March 13, 2003 12:49 PM > Subject: [LARTC] CBQ problem &g

Re: [LARTC] CBQ problem

2003-03-13 Thread Liu Zhiyong
Some one told me that "bounded", and "isolated" don't work sometimes, is it true? - Original Message - From: "Liu Zhiyong" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, March 13, 2003 12:49 PM Subject: [LARTC] CBQ problem &g

[LARTC] CBQ problem

2003-03-12 Thread Liu Zhiyong
this is my CBQ configuration: DEV=eth1 tc qdisc del dev $DEV root tc qdisc add dev $DEV root handle 1: cbq avpkt 100 bandwidth 10Mbit cell 8 tc class add dev $DEV parent 1: classid 1:1 cbq rate 10kbit allot 1500 prio 1 cell 8 bounded isolated tc class add dev $DEV parent 1:1 classid 1:10 cbq rate

Re[4]: [LARTC] CBQ Traffic control not working

2003-03-12 Thread Mugur TOMITA
Here is my output... no prio 7... # # OUTPUT # linux:~ # tc -s -d class show dev eth0 class cbq 1: root rate 10Mbit cell 8b mpu 64b (bounded,isolated) prio no-transmit/8 weight 10Mbit allot 1514b level 2 ewma 5 avpkt 1000b maxidle 23us Sent 59862492 bytes 453121 pkts (dropped 0,

Re: Re[2]: [LARTC] CBQ Traffic control not working

2003-03-12 Thread Stef Coene
On Wednesday 12 March 2003 22:28, Mugur TOMITA wrote: > Stef Coene, thank you for your feed-back. I have already read > docum.org... The tests proved a difference of max 20Kbps between > theory and real life for cbq. That's because cbq has to guess the conditions on the link and it uses some avera

Re[2]: [LARTC] CBQ Traffic control not working

2003-03-12 Thread Mugur TOMITA
Stef Coene, thank you for your feed-back. I have already read docum.org... The tests proved a difference of max 20Kbps between theory and real life for cbq. In my case practically nobody is limited... In my scripts there are classes with prio 8... you say max is 7... could this be the problem? Coul

Re: [LARTC] CBQ Traffic control not working

2003-03-12 Thread Stef Coene
On Wednesday 12 March 2003 16:49, Mugur TOMITA wrote: > Hi everybody, > > I'm new to this list, so I appologize if a similar case has been covered > already... I have the configuration attached below... > The problem is that my traffic control doesn't work at all... > Clients from any of the privat

[LARTC] CBQ Traffic control not working

2003-03-12 Thread Mugur TOMITA
Hi everybody, I'm new to this list, so I appologize if a similar case has been covered already... I have the configuration attached below... The problem is that my traffic control doesn't work at all... Clients from any of the private networks manage to download even with 256Kbits from the Interne

Re: [LARTC] cbq and htb working together...

2003-02-13 Thread Michal Kustosik
On Thu, Feb 13, 2003 at 11:33:33PM +0100, Stef Coene wrote: > On Thursday 13 February 2003 22:55, Michal Kustosik wrote: > > Is it possible to use cbq and htb together on one dev? > > > > something like this: > > > > [...] > > $TC qdisc add dev eth0 root handle 1:0 cbq bandwidth 100Mbit avpkt 1000

Re: [LARTC] cbq and htb working together...

2003-02-13 Thread Stef Coene
On Thursday 13 February 2003 22:55, Michal Kustosik wrote: > Is it possible to use cbq and htb together on one dev? > > something like this: > > [...] > $TC qdisc add dev eth0 root handle 1:0 cbq bandwidth 100Mbit avpkt 1000 > > $TC class add dev eth0 parent 1:0 classid 1:10 cbq bandwidth 100Mbit \

[LARTC] cbq and htb working together...

2003-02-13 Thread Michal Kustosik
Is it possible to use cbq and htb together on one dev? something like this: [...] $TC qdisc add dev eth0 root handle 1:0 cbq bandwidth 100Mbit avpkt 1000 $TC class add dev eth0 parent 1:0 classid 1:10 cbq bandwidth 100Mbit \ rate 100Mbit weight 10Mbit prio 8 allot 1514 cell 8 maxburst 5 avp

[LARTC] cbq+sfq and DSCP marking

2003-02-13 Thread Maria Joana Urbano
Hi, I am a little confused about traffic control at egress + DSCP marking. Suppose I have a home router and set three different traffic classes at the egress interface in a similar way to what wondershaper (cbq version) does: tc qdisc add dev $DEV root handle 1: cbq avpkt 1000 bandwidth 10mbit

[LARTC] cbq init for one port on a subnet

2003-02-04 Thread Scott Black
Hello, We use cbq.init to limit bandwidth. It works great on a per-user basis. Now I'd like to limit traffic from a netblock to the Internet on port 6699. Network is 192.168.0.160 mask 255.255.255.224 eth0 is the gateway eth1 connects the netblock in question Is this the proper syntax; DEVIC

Re: [LARTC] CBQ

2003-01-18 Thread Stef Coene
On Friday 17 January 2003 10:11, Netrepreneurs wrote: > Hello > > I have been trying to download CBQ but cant seem to > find a valid link. From what i know this is the right place > but i cant seem to get in to the ftp site are there any > other URL's that i can get it from? > > ftp://ftp.equinox.g

[LARTC] CBQ

2003-01-17 Thread Netrepreneurs
Hello I have been trying to download CBQ but cant seem to find a valid link. From what i know this is the right place but i cant seem to get in to the ftp site are there any other URL's that i can get it from? ftp://ftp.equinox.gu.net/pub/linux/cbq/ All assistance is appreciated. Glen Young

[LARTC] CBQ rate question

2002-12-20 Thread René Serral
In the IST-LONG project (http://www.ist-long.com) we are using TC to make our QoS IPv6 experiments and we have one question, in CBQ, how the "rate" is calculated? I mean, when I write "...rate 20 bps...", this 200Kbps are level-3 bits per second, or they include level-2 bits Thanks in a

Re: [LARTC] CBQ or HTP accuracy

2002-12-05 Thread Thierry Coutelier
I already tried it and it does not improve much the behaviour. With which parameters should I play in HTB and CBQ ? Stephane Ouellette wrote: Thierry Coutelier wrote: > > > Hello, > > I am rate limiting traffic going to some IP addresses using CBQ > (and want to change to HTB sometime). > >

Re: [LARTC] CBQ or HTP accuracy

2002-12-04 Thread Stephane Ouellette
Thierry Coutelier wrote: Hello, I am rate limiting traffic going to some IP addresses using CBQ (and want to change to HTB sometime). While testing with different packet sizes I found out that I could go above the rate limit I set. (even with HTB) The values I use are: rate: 768kbit wei

[LARTC] CBQ or HTP accuracy

2002-12-04 Thread Thierry Coutelier
Hello, I am rate limiting traffic going to some IP addresses using CBQ (and want to change to HTB sometime). While testing with different packet sizes I found out that I could go above the rate limit I set. (even with HTB) The values I use are: rate: 768kbit weight 77kbit allot 1 avpkt

Re: [LARTC] CBQ affected by squid?

2002-11-30 Thread Jose Luis Domingo Lopez
On Friday, 29 November 2002, at 13:54:17 -, Shane Purtill wrote: > The question is that if my http traffic goes through squid then when it > is seen by the Linux Traffic Controller (the TC is on the outgoing > Interface i.e. the Internet connection, so that it can see the actual > bandwidth us

[LARTC] CBQ affected by squid?

2002-11-29 Thread Shane Purtill
Hi,   I am trying to develop a system to handle a simple enough scenario. Essentially it is a gateway, on which HTTP and FTP will go through Squid for caching and all that, and everything else (telnet, etc) will go through the gateway but not squid. I want to divide the bandwidth up evenl

[LARTC] CBQ rate change

2002-11-14 Thread Bob Callaway
Hello to all, I have a quick question about changing a CBQ rate. What is the actual process that occurs when I execute: %tc class change cbq ... rate Does it actually create a new queue, and then remap traffic to the new queue? If that is true, what happens to the packets already in the ex

Re: [LARTC] CBQ not properly functioning !?

2002-11-01 Thread Stef Coene
On Friday 01 November 2002 00:07, Robert Felber wrote: > On Thu, Oct 31, 2002 at 11:50:28PM +0100, thomas bilke wrote: > > Yes, the host is in my LAN. But I want to shape the incoming and outgoing > > traffic corresponding to this host, or later to the whole LAN. Doesn't > > exist any facility to s

Re: [LARTC] CBQ not properly functioning !?

2002-10-31 Thread Robert Felber
On Thu, Oct 31, 2002 at 11:50:28PM +0100, thomas bilke wrote: > Yes, the host is in my LAN. But I want to shape the incoming and outgoing > traffic corresponding to this host, or later to the whole LAN. Doesn't > exist any facility to shape the incoming traffic? > > Thomas Yes, the qdisc ingres

Re: [LARTC] CBQ not properly functioning !?

2002-10-31 Thread thomas bilke
Stef Coene schrieb: > Again, you can only shape outgoing traffic. If eth0 is connected to your isp > and you add the qdisc to eth0, then you can only shaping traffic going to > your isp. > Is the x.x.x.x host on your LAN ?? Yes, the host is in my LAN. But I want to shape the incoming and outgoin

Re: [LARTC] CBQ not properly functioning !?

2002-10-31 Thread Stef Coene
On Thursday 31 October 2002 22:52, Robert Felber wrote: > On Thu, Oct 31, 2002 at 10:35:27PM +0100, Stef Coene wrote: > > and you add the qdisc to eth0, then you can only shaping traffic going to > > your isp. > > Is the x.x.x.x host on your LAN ?? > > > > > > Stef > > $ tc qdisc show dev ppp0 > qd

Re: [LARTC] CBQ not properly functioning !?

2002-10-31 Thread Robert Felber
On Thu, Oct 31, 2002 at 10:35:27PM +0100, Stef Coene wrote: > and you add the qdisc to eth0, then you can only shaping traffic going to > your isp. > Is the x.x.x.x host on your LAN ?? > > > Stef $ tc qdisc show dev ppp0 qdisc ingress : qdisc sfq 30: limit 128p quantum 1492b perturb 10sec qd

Re: [LARTC] CBQ not properly functioning !?

2002-10-31 Thread Stef Coene
On Thursday 31 October 2002 21:32, thomas bilke wrote: > Stef Coene schrieb: > > You can not shape incoming and outgoing traffic at the same time. You > > add the cbq qdisc to dev eth0 so you can only shaping traffic that leaves > > eth0. > > Sorry, I think there is a tiff. ?? What do you mean ??

Re: [LARTC] CBQ not properly functioning !?

2002-10-31 Thread thomas bilke
Stef Coene schrieb: > You can not shape incoming and outgoing traffic at the same time. You add the > cbq qdisc to dev eth0 so you can only shaping traffic that leaves eth0. Sorry, I think there is a tiff. I use a server which the shaped host is connected to. So the device eth0 is on the server

Re: [LARTC] CBQ not properly functioning !?

2002-10-31 Thread Stef Coene
On Thursday 31 October 2002 20:52, thomas bilke wrote: > Hello, > > My link has an average bandwidth of 1.2Mbit/s. I want to shape the bulk > traffic on several ports in my network. I used the mangle list to mark > some traffic types and reroute them to class 1:1. After failure with my > previous c

[LARTC] CBQ not properly functioning !?

2002-10-31 Thread thomas bilke
Hello, My link has an average bandwidth of 1.2Mbit/s. I want to shape the bulk traffic on several ports in my network. I used the mangle list to mark some traffic types and reroute them to class 1:1. After failure with my previous configuration I tried the following configuration to shape the in a

Re: [LARTC] CBQ broken in RedHat 8.0?

2002-10-28 Thread Aigars Mahinovs
Hello, On Sun, 27 Oct 2002 09:23:52 -0800, "David Boreham" <[EMAIL PROTECTED]> wrote: > > >Why upgrading your SUSE? You can also download 2.4.19 from > ftp.kernel.org > > > and patch with the lates htb patch ?? > > I find that inserting a stock kernel into a machine originally > running a distr

Re: [LARTC] CBQ broken in RedHat 8.0?

2002-10-27 Thread David Boreham
> >Why upgrading your SUSE? You can also download 2.4.19 from ftp.kernel.org > > and patch with the lates htb patch ?? I find that inserting a stock kernel into a machine originally running a distro (RH, Mandrake etc) is often a painful and unrewarding experience. My personal preference these da

Re: [LARTC] CBQ broken in RedHat 8.0?

2002-10-27 Thread Robert Davidson
On Sunday 27 October 2002 04:09, Stef Coene wrote: >Why upgrading your SUSE? You can also download 2.4.19 from ftp.kernel.org > and patch with the lates htb patch ?? What better way to support the distro I know how to use and avoid hairy compiling problems? SuSE has 7.3 kernel rpms available fo

Re: [LARTC] CBQ broken in RedHat 8.0?

2002-10-27 Thread Stef Coene
On Sunday 27 October 2002 04:10, Robert Davidson wrote: > When I was playing with wondershaper I ran into this too. > > After reviewing the docs I think that the wondershaper merely gives certain > traffic more bandwidth, but does not prioritize it. The CBQ qdisc does not > appear to prioritize. I

Re: [LARTC] CBQ broken in RedHat 8.0?

2002-10-26 Thread Robert Davidson
e to unacceptably low levels. Regards, Robert - Original Message - From: "Neil Aggarwal" <[EMAIL PROTECTED]> To: "LARTC Mailing List" <[EMAIL PROTECTED]> Sent: Saturday, October 26, 2002 6:53 PM Subject: [LARTC] CBQ broken in RedHat 8.0? Hello all: Is

[LARTC] CBQ broken in RedHat 8.0?

2002-10-26 Thread Neil Aggarwal
Hello all: Is CBQ broken in RedHat 8.0? It seems that my CBQ is not using priorities. I have this setup: Internet <-> DSL Modem <-> Linux router <-> IP Switch <-> Laptop The Linux computer is running a fresh, unmodified installation of RedHat 8.0? On the Linux computer, eth0 points to the DSL

  1   2   >