[LARTC] Ingress qdisc problems

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xx ~# 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/



[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux