[LARTC] Deleting a tc filter rule

2007-06-27 Thread Martija, Ricardo V
Hi, I am very new to tc. I added a filter using the following command: tc filter add dev eth0 V parent 20:0 protocol ip prio 1 handle ::128 u32 match ip tos 0x44 0xfc flowid 20:1 To check if the filter rule was indeed added, I run tc filter show dev eth0 parent 20:

[LARTC] How do you delete a filter?

2007-06-21 Thread Martija, Ricardo V
Hi, I am very new to tc. I added a filter using the following command: tc filter add dev eth0 V parent 20:0 protocol ip prio 1 handle ::128 u32 match ip tos 0x44 0xfc flowid 20:1 To check if the filter rule was indeed added, I run tc filter show dev eth0 parent 20:

[LARTC] Re: LARTC Digest, Vol 20, Issue 7

2006-10-06 Thread Paulo Ricardo Bruck
over both providers. The weight parameters can be tweaked to favor one provider over the other. cute## Then you can do something like this: ip route add default scope global nexthop via $P1 dev $IF1 weight 100 \ nexthop via $P2 dev $IF2 weigh

[LARTC] Re: Prioritize ACK packets

2005-10-11 Thread Ricardo Soria
Hi: Look here: http://www.tldp.org/HOWTO/ADSL-Bandwidth-Management-HOWTO/ Hope this helps. Regards. Ricardo Soria. __ Correo Yahoo! Espacio para todos tus mensajes, antivirus y antispam ¡gratis! Regístrate ya - http://correo.espanol.yahoo.com

[LARTC] Several basic doubts

2005-07-11 Thread Ricardo Chamorro
turate the band?  Another question is if it agrees -upon my case- using priorities for the classes... Thanks in advance Ricardo ___ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

Re: [LARTC] Please: "judge" this script

2005-07-06 Thread Ricardo Chamorro
does NAT and firewall with iptables (its "runs" in a 486 DX4100 with 96MB RAM and two HD of 1GB each one... ;-). Not squid, not samba, not bind... Nothing except router of Inet and NAT. What would have to do? Best regards Ricardo ___ LARTC mailing

[LARTC] Please: "judge" this script

2005-07-06 Thread Ricardo Chamorro
I copied and tried to adapt to my necessities the excellent script of Pedro Larroy, but I am inexperienced in QoS and I have doubts.  I have cablemodem to Internet 1024kbit down and 256kbit up, through eth0. The LAN has eth1 and NAT.  I formed the band so that shaping goes by the eth1 (o

[LARTC] Please: Judge this script

2005-07-04 Thread Ricardo Chamorro
I copied and tried to adapt to my necessities the excellent script of Pedro Larroy, but I am inexperienced in QoS and I have doubts.  I have cablemodem to Internet 1024kbit down and 256kbit up, through eth0. The LAN has eth1 and NAT.  I formed the band so that shaping goes by the eth1 (of t

[LARTC] Help on deleting RSVP6 filter

2005-06-17 Thread Ricardo Duarte
ve an error talking to the kernel And I can't delete the class too: # tc class del dev eth1 parent 1:0 classid 1:11 htb rate 12500kbit burst 5 RTNETLINK answers: Device or resource busy Can someone please help me? Thanks :) Ricardo (Portugal) _

[LARTC] QoS and CLASSIFY

2005-05-31 Thread Paulo Ricardo Bruck
isc add dev eth0 parent 1:50 handle 50: sfq perturb 10 tc qdisc add dev eth0 parent 1:60 handle 60: sfq perturb 10 thanks in advanced -- Paulo Ricardo Bruck - consultor signature.asc Description: Esta =?ISO-8859-1?Q?=E9?= uma parte de mensagem assinada d

[LARTC] RSVP Filter

2005-05-24 Thread Ricardo Duarte
he modules necessary, rsvp and rsvp6 included, but I still got the same error. Can someone help me? Is the rsvp or rsvp6 filters working on 2.6.X kernel versions? Thanks in advance, Ricardo Duarte INESC Porto, Potugal ___ LARTC mailing list LARTC@mailman.ds

[LARTC] newbie downloading not working

2005-05-21 Thread Paulo Ricardo Bruck
ol ip prio 1 u32 match ip dst 192.168.0.20 flowid 1:50 tc filter add dev eth0 parent 1:0 protocol ip prio 1 u32 match ip dst 192.168.0.5 flowid 1:60 thx in advanced -- Paulo Ricardo Bruck - consultor signature.asc Description: Esta =?ISO-8859-1?

RE: Re: [LARTC] question about correct way of shapping

2005-04-08 Thread Paulo Ricardo Bruck
I use only TC + iptables ? > > I intend use TC + iptables + debian sarge > > That's what I use. -- Paulo Ricardo Bruck - consultor signature.asc Description: Esta =?ISO-8859-1?Q?=E9?= uma parte de mensagem assinada digitalmente ___ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

Re: [LARTC] question about correct way of shapping

2005-04-07 Thread Paulo Ricardo Bruck
Em Qui, 2005-04-07 às 10:22 -0700, Corey Hickey escreveu: > Paulo Ricardo Bruck wrote: > > > > ><--- up 128K > > internet - dsl -eth1 -Linux Qos- eth0 -- LAN > >---> down 450k > >

[LARTC] question about correct way of shapping

2005-04-07 Thread Paulo Ricardo Bruck
ss add dev eth1 parent 1:0 classid 1:1 htb rate 100kbit and ...other rules Is it correct?? or it is better to use IMQ or dummy to shape in both directions ?? thanks in advanced -- Paulo Ricardo Bruck - consultor signature.asc Description: Esta =?ISO-8859-1?Q?=E9?= uma parte de mens

[LARTC] ABOUT "THE ULTIMATE TRAFFIC CONDITIONER"

2005-04-03 Thread Ricardo Soria
fore. Sorry if this questions sound stupid or too basic. Thanks a Lot. Ricardo. _ Do You Yahoo!? Información de Estados Unidos y América Latina, en Yahoo! Noticias. Visítanos en http://noticias.es

Re: [LARTC] SEPARATING VOIP AND SURFING

2004-12-19 Thread Ricardo Soria
--- Andy Furniss <[EMAIL PROTECTED]> escribió: > Ricardo Soria wrote: > > > Very thanks for your suggestion, but... Consider > that > > the traffic that comes from the cisco 1600 is not > > originated into itself; this router is just > passing > >

Re: [LARTC] SEPARATING VOIP AND SURFING

2004-12-19 Thread Ricardo Soria
--- Andy Furniss <[EMAIL PROTECTED]> escribió: > Ricardo Soria wrote: > > > So, returning to the question that originated this > > discussion, how can I diferentiate/separate > incoming > > and outgoing traffic for the same interface > (eth0), > > witho

Re: [LARTC] SEPARATING VOIP AND SURFING

2004-12-19 Thread Ricardo Soria
--- Andy Furniss <[EMAIL PROTECTED]> escribió: > Ricardo Soria wrote: > > --- Andy Furniss <[EMAIL PROTECTED]> > > escribió: > > > >>Andy Furniss wrote: > >> > >> > >>>>So, my question would be, how to 'divide

Re: [LARTC] SEPARATING VOIP AND SURFING

2004-12-19 Thread Ricardo Soria
subnet, do you think I should definitively use IMQ or not?? However, I have also posted in linuximq list, because I cannot find IMQ patch for my linux box (Redhat 7.3, 2.4.18-3 Kernel) Very thanks in advance. Ricardo. _

Re: [LARTC] SEPARATING VOIP AND SURFING

2004-11-24 Thread Ricardo Soria
, an additional ethernet card wouldn't be so much aid, would it ?? Very thanks. Ricardo. --- Chris Bennett <[EMAIL PROTECTED]> escribió: > I struggled with this sort of thing for a while. > Then I realized it was > easier to just buy another ethernet card for $10. I &

Re: [LARTC] SEPARATING VOIP AND SURFING

2004-11-24 Thread Ricardo Soria
it' more complicated that what I expected. So, may it be a way to do this without installing IMQ ?? Very thanks in advance. Best regards. Ricardo. --- Andy Furniss <[EMAIL PROTECTED]> escribió: > Ricardo Soria wrote: > > > > 1. So, starting at 80% of total 512kbit

Re: [LARTC] SEPARATING VOIP AND SURFING

2004-11-23 Thread Ricardo Soria
step I will take is to investigate about ESQF, so, I can implement it to my script. I will be annoying by here later ;-) Thanks. Ricardo. --- Rick Marshall <[EMAIL PROTECTED]> escribió: > Andy Furniss wrote: > > > Ricardo Soria wrote: > > > > > >> 1

Re: [LARTC] SEPARATING VOIP AND SURFING

2004-11-17 Thread Ricardo Soria
> Jason Boxman wrote: > > On Monday 15 November 2004 20:06, Ricardo Soria > wrote: > > > > > >>Dear Andy: > >> > >>Very thanks for your answer. However, I need a > little > >>bit more extended explanation. > >> > >&g

Re: [LARTC] SEPARATING VOIP AND SURFING

2004-11-15 Thread Ricardo Soria
--- Andy Furniss <[EMAIL PROTECTED]> escribió: > Ricardo Soria wrote: > > Dear list: > > > > I have a problem I cannot handle yet, and need to > > solve it as soon as possible. Would be very > greatful > > with anybody who can help me. > > >

[LARTC] SEPARATING VOIP AND SURFING

2004-11-13 Thread Ricardo Soria
having read all this stuff, here goes my script as is now... Best Regards to everybody. Ricardo. #!/bin/bash tc qdisc add dev eth1 root handle 1: htb default 121 r2q 1 tc qdisc add dev eth0 root handle 1: htb default 20 r2q 5 tc class add dev eth1

[LARTC] CBQ + 802.1Q VLAN

2004-08-06 Thread Ricardo
r the speed is limited at 256Kbit/s (this is OK) When I start a download from both machines the speed for each one is 256Kbit/s. They are getting 512Kbit/s together and the 384Kb parent link is not working. What is wrong ???   Regards   Ricardo   STATS:   ### eth0: queueing disciplines   qdisc sf

[LARTC] CBQ Problem

2004-07-28 Thread Ricardo
ne is limited to 256Kbit/s. They are getting 512Kbit/s together.  I want limit this speed at 384Kbit/s, so traffic from each machine will never be more than 192Kbps when both are in use.   Why it is not working for me ??? What is the mistake ? Thank You.   Ricardo

[LARTC] Modify the TCP Window size

2004-07-25 Thread Ricardo Leite
packet window size and maybe recalculate the checksum value of the TCP packet. All I can do is read the information of the packet stored on the skb structure. Do you have any ideas? I'll need to be enlighted Ricardo _ MSN Mess

Re: [LARTC] New Qdisc - How to

2004-05-22 Thread Ricardo Leite
ric.c Do you have some idea where I failled? Thanks on advance. RIcardo Leite From: Stephen Hemminger <[EMAIL PROTECTED]> To: Andreas Klauer <[EMAIL PROTECTED]> CC: [EMAIL PROTECTED] Subject: Re: [LARTC] New Qdisc - How to Date: Fri, 21 May 2004 08:55:08 -0700 On Thu, 20 May 20

Re: [LARTC] New Qdisc - How to

2004-05-20 Thread Ricardo Leite
rom: Andreas Klauer <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Re: [LARTC] New Qdisc - How to Date: Thu, 20 May 2004 20:08:31 +0200 Am Thursday 20 May 2004 19:04 schrieb Ricardo Leite: > - Put the new qdisc routine "sch_ric.c" into the directory > "/usr/src/linux/net/

[LARTC] New Qdisc - How to

2004-05-20 Thread Ricardo Leite
I tried to program my qdisc with the tc command tc qdisc add dev eth0 root bric limit 10 the kernel (or the tc command) couldn't find the the bric qdisc. I think that I shoud change more files, but I don't know which they are. Do y

[LARTC] Ingress Problems with IPv6

2004-03-19 Thread Ricardo Pedro
Hi I'm doing some work with QoS Routing, and I'm using the TC tool. For what I have searched, I can't make the TC work with the Ingress Qdisc and filter the traffic. Do you know, what can be the problem... Best Regards Ricardo Pedro __

[LARTC] Some questions about DS routing

2004-03-06 Thread Ricardo Pedro
Hi, Im doing a research in IPv6 / DiffServ / Routing and I can't find any answers at others mailing lists. Is anyone here that ant hint for me. Best Regards Ricardo Pedro --- Begin Message --- Doing more tests I think that the problem of TC is with this combination. For root ingress and i

Re: [LARTC] htb+redhat7.3

2004-01-14 Thread Ricardo Soria
Hi there: The original kernel included in RedHat 7.3 does *not* include htb support. You have to patch that kernel if you want to use htb. Visit http://luxik.cdi.cz/~devik/qos/htb/ for further instrucctions. Good luck. Ricardo Soria

RE: [LARTC] Difficulties trying to control VOIP traffic with TC - HTB

2003-12-12 Thread Ricardo Soria
idn't help notably, as you know. Does someone have a definitive solution?? I know it exists... Very thanks in advance. Ricardo Soria. --- Kotek Tichomir <[EMAIL PROTECTED]> escribió: > > Hi > > trouble is that you can not control incoming > traffic. > so VoIP p

[LARTC] Difficulties trying to control VOIP traffic with TC - HTB

2003-12-08 Thread Ricardo Soria
ser, VOIP sound quality goes down... So, could someone tell me what's wrong about my script?? I know it is possible to get what I'm trying with htb, anyway... Very thanks to everybody. Cheers. Ricardo Soria. _ Do You Yahoo!?

Re: [LARTC] Layer 7 support for tcng ?

2003-10-07 Thread Ricardo Jorge da Fonseca Marques Ferreira
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tuesday 07 October 2003 21:15, Matthew Strait wrote: > > The plan is to port l7-filter to Netfilter. Once this is done, Netfilter > can put marks on the packets that the pre-existing fw filter can use. > This approach requires no changes to tcng (

[LARTC] Layer 7 support for tcng ?

2003-10-04 Thread Ricardo Jorge da Fonseca Marques Ferreira
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Yep, thats right. Does it exist somewhere ? Will it ever ? Currently i use tcng for my bandwidth shaping and i really didnt want to change to bare tc scripts. - -- +-+ |PGP Publ

Re: RE: [LARTC] bandwidth limiting incoming data

2003-06-24 Thread Paulo Ricardo
> > > > > > > Thanks in Advance! > > > -- > > > ( >-GNU/LINUX, It's all about CHOICE -< ) > > > /~\__ [EMAIL PROTECTED] __ /~\ > > > | \) / Pre Sales Consultant - Red Hat \ (/ | > > > |_|_ \9820349221(M) | 22881326(O) / _|_| > > >\___/ > > > > > -- > > K S Sreeram > > Director of Research > > Tachyon Technologies Pvt. Ltd. > > > > > > ___ > > LARTC mailing list / [EMAIL PROTECTED] > > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/ > > -- Paulo Ricardo Bruck - consultor Contato Global Solutions tel 011 5646-7977 011 5521-8049 cel 011 9235-4327 R Bourbom, 56 04663-160 São Paulo SP signature.asc Description: PGP signature

Re: [LARTC] Layer-7 =?iso-8859-1?q?Filter

2003-06-01 Thread Ricardo Jorge da Fonseca Marques Ferreira
?= Date: Sat, 31 May 2003 17:40:53 +0100 User-Agent: KMail/1.5.9 References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> In-Reply-To: <[EMAIL PROTECTED]> X-KMail-Link-Message: 443491 X-KMail-Link-Type: reply MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1"

Re: [LARTC] [LONG] Weird problem with HTB using htb.init

2003-03-17 Thread Ricardo Jorge da Fonseca Marques Ferreira
On Tuesday 18 March 2003 02:20, S Mohan wrote: > Could it be a problem of port mapping? Emule, edonkey and other use free > ports and are not specific about which port they use. If they try to use > some ports blocked for inward traffic, timeouts are logical. I may be > wrong here as I do not know

Re: [LARTC] [LONG] Weird problem with HTB using htb.init

2003-03-17 Thread Ricardo Jorge da Fonseca Marques Ferreira
On Monday 17 March 2003 17:25, Stef Coene wrote: > Mhh. It can be. If you add a sfq qdisc, each connection will create a new > entry in the hash key. But I don't know what happens if the hash key is > full. If all other connections end up in 1 hash key, it's possible that > you get timeouts. H

Re: [LARTC] [LONG] Weird problem with HTB using htb.init

2003-03-16 Thread Ricardo Jorge da Fonseca Marques Ferreira
On Sunday 16 March 2003 22:13, Stef Coene wrote: > > You have a sfq qdisc attached to your parent class. That's not possible. > You can add the sfq qdisc, but if you add a child class, the sfq qdisc is > removed. Hmm, i removed it. Still timeouts, but it wouldnt matter as it would be removed an

[LARTC] [LONG] Weird problem with HTB using htb.init

2003-03-16 Thread Ricardo Jorge da Fonseca Marques Ferreira
This is a long message. Please use a monospace font :) I'm trying to shape the traffic between my LAN and the Internet. My link is an ADSL 512/128 line. The network is shaped like this: LAN GATEWAY ROUTER -- -