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:
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:
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
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
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
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
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
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
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)
_
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
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
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?
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
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
> >
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
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
--- 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
> >
--- 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
--- Andy Furniss <[EMAIL PROTECTED]>
escribió:
> Ricardo Soria wrote:
> > --- Andy Furniss <[EMAIL PROTECTED]>
> > escribió:
> >
> >>Andy Furniss wrote:
> >>
> >>
> >>>>So, my question would be, how to 'divide
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.
_
, 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
&
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
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
> 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
--- 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.
> >
>
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
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
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
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
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
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/
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
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
__
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
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
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
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!?
-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 (
-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
> > >
> > > > 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
?=
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"
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
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
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
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
-- -
45 matches
Mail list logo