* [LARTC] Ingress qdisc problems
@ 2001-12-21 19:49 Claudio Neves
2001-12-21 23:18 ` bert hubert
2001-12-22 2:38 ` Claudio Neves
0 siblings, 2 replies; 3+ messages in thread
From: Claudio Neves @ 2001-12-21 19:49 UTC (permalink / raw)
To: lartc
Hello,
I tried ingress qdisc with kernel 2.4.16, and it works very
well.
But when I tried it with kernel 2.2.20, with diffserv-8
patches applied (and latest HTB too), it doesn't work. It
seems that the filter don't classify the packets to the
ingress queue.
Here follows the simplest setup I tried:
#!/bin/bash
tc qdisc del dev eth0 root 2> /dev/null > /dev/null
tc qdisc del dev eth0 ingress 2> /dev/null > /dev/null
tc qdisc add dev eth0 handle ffff: ingress
tc filter add dev eth0 parent ffff: protocol ip prio 0 u32
match ip src \
0.0.0.0/0 police rate 1000kbit burst 90k mtu 1500 drop
flowid :1
This doesn't seems to limit any traffic, nor the traffic
goes to the ingress qdisc.
root@gw ~# tc -s qdisc
qdisc ingress ffff: dev eth0 ----------------
Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
Do you have any clues on what I am doing wrong ?!
I'm using iproute2 001007.
Thanks for your attention,
Claudio Neves
_______________________________________________________________________________________________
Yahoo! GeoCities
Tenha seu lugar na Web. Construa hoje mesmo sua home page no Yahoo! GeoCities. É fácil e grátis!
http://br.geocities.yahoo.com/
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [LARTC] Ingress qdisc problems
2001-12-21 19:49 [LARTC] Ingress qdisc problems Claudio Neves
@ 2001-12-21 23:18 ` bert hubert
2001-12-22 2:38 ` Claudio Neves
1 sibling, 0 replies; 3+ messages in thread
From: bert hubert @ 2001-12-21 23:18 UTC (permalink / raw)
To: lartc
On Fri, Dec 21, 2001 at 04:49:47PM -0300, Claudio Neves wrote:
> Hello,
>
> I tried ingress qdisc with kernel 2.4.16, and it works very
> well.
> But when I tried it with kernel 2.2.20, with diffserv-8
> patches applied (and latest HTB too), it doesn't work. It
> seems that the filter don't classify the packets to the
> ingress queue.
It may be that the diffserv patches don't work too well.. you might want to
mail their author, Werner I think.
> This doesn't seems to limit any traffic, nor the traffic
In 2.4 the ingress qdisc also doesn't match any packets according to the
stats- it's a bug that Jamal has fixed, should go in somewhere soon.
Regards,
bert
--
http://www.PowerDNS.com Versatile DNS Software & Services
http://www.tk the dot in .tk
Netherlabs BV / Rent-a-Nerd.nl - Nerd Available -
Linux Advanced Routing & Traffic Control: http://ds9a.nl/lartc
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [LARTC] Ingress qdisc problems
2001-12-21 19:49 [LARTC] Ingress qdisc problems Claudio Neves
2001-12-21 23:18 ` bert hubert
@ 2001-12-22 2:38 ` Claudio Neves
1 sibling, 0 replies; 3+ messages in thread
From: Claudio Neves @ 2001-12-22 2:38 UTC (permalink / raw)
To: lartc
--- bert hubert <ahu@ds9a.nl> escreveu: > On Fri, Dec 21,
> It may be that the diffserv patches don't work too well..
> you might want to
> mail their author, Werner I think.
>
> > This doesn't seems to limit any traffic, nor the
> traffic
>
> In 2.4 the ingress qdisc also doesn't match any packets
> according to the
> stats- it's a bug that Jamal has fixed, should go in
> somewhere soon.
You are right, even in 2.4 the ingress qdisc doesn't show
any packets on the stats. But filter stats are correct, the
counter increments.
On 2.2, nothing works.
I'll try posting on the diffserv mailing list.
Thanks for your attention, and for your great work writing
the HOWTO!
Claudio Neves.
_______________________________________________________________________________________________
Yahoo! GeoCities
Tenha seu lugar na Web. Construa hoje mesmo sua home page no Yahoo! GeoCities. É fácil e grátis!
http://br.geocities.yahoo.com/
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-12-22 2:38 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-12-21 19:49 [LARTC] Ingress qdisc problems Claudio Neves
2001-12-21 23:18 ` bert hubert
2001-12-22 2:38 ` Claudio Neves
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.