search for: q_2_hosts

Displaying 2 results from an estimated 2 matches for "q_2_hosts".

2004 Jul 01
14
filter ingress policy rates -> slow!!
..., I''m getting lower speed rates than specified via ingress. How do I know. Because I have this in my script: tc qdisc add dev $DEV handle ffff: ingress # Filter intranet traffic, so fit it to intranet speed tc filter add dev $DEV parent ffff: protocol ip prio 10 u32 \ match ip src $Q_2_HOSTS \ match ip dst $Q_2_HOSTS \ police rate ${LAN_SPEED}mbit burst 10k drop flowid :2 So let''s say I execute a X -query to the my pc. Everything goes fine and fluently till I activate my script ingress rules!Then kde seems sluggish. and LAN_SPEED is "100" (mbit) ! I don'...
2004 Jul 01
0
filter ingress policy rates by packet marks
...it mostly finnished and debugged; 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 spe...