All of lore.kernel.org
 help / color / mirror / Atom feed
* [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

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.