Displaying 1 result from an estimated 1 matches for "q_2_downlink_max".
2004 Jul 01
0
filter ingress policy rates by packet marks
...bugged; I have only a final problem:
Is it posible by any way using only QoS (no IMQ...) to filter incoming packets
by its marks and at the same time rate them to spcified speed ?
You can do:
tc filter add dev $DEV parent ffff: protocol ip prio 10 u32 \
match ip src $Q_2_HOSTS \
police rate ${Q_2_DOWNLINK_MAX}mbit burst 10k drop flowid :2
and also:
tc filter add dev $DEV protocol ip prio 5 parent 1: \
handle $Q_2_MARK fw classid 1:2
But can you have both commands mixed up so that we drop any incoming packet
marked with $Q_2_MARK when they come at a higher speed than
$Q_2_DOWNLINK_MAX?
If th...