I want to shape the bandwith for only 2 PC's but cannot make this work.
This is what i do ( i want to use imq for all this )
ip link set imq0 up
tc qdisc add dev imq0 root handle 1: htb default 2
tc class add dev imq0 parent 1: classid 1:1 htb rate 100kbit burst 6k prio 0
tc class add dev imq0 parent 1: classid 1:2 htb rate 50kbit burst 6k prio 2
tc filter add dev imq0 parent 1: protocol ip prio 1 u32 match ip src
10.0.0.2 flowid 1:1
iptables -t mangle -A PREROUTING -i eth0 -p TCP -j IMQ --todev 0
using the 10.0.0.2 ip it always take the class 2 ( the default class ).
it does not obey the filter.
What part it's wrong in this?
Thanks
_______________________________________________
LARTC mailing list
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc