Hi imsp,
Quote Originally Posted by imsp View Post
+ tc qdisc add dev eth0 handle ffff: ingress
+ tc filter add dev eth0 parent ffff: protocol ip prio 50 u32 match ip src 0.0.0.0/0 police rate 6000kbit burst 10k drop flowid :1
RTNETLINK answers: No such file or directory
We have an error talking to the kernel
while I have no experience with tc so far, the "tc" man page suggests that the statement "tc qdisc add dev eth0 handle ffff: ingress" is missing a reference to the parent/root:
add Add a qdisc, class or filter to a node. For all entities, a parent must be passed, either by passing its ID or by attaching directly to the root of a device.
So I'd expect either "parent something" or "root", as can be seen with other "qdisc add" statements in your trace output.

While (if my assumptions really apply) the first statement then fails without reporting an error, the second statement fails because the parent handle (ffff doesn't exist.

Regards,
Jens