Hi everybody,
i am new to this list so dont blame me if i will talk about nothing..
At this moment i am experimenting with htb + tc u32 filters , the
problem is that
i want some traffic to be unshaped so i did this..
tc qdisc add dev eth0 root handle 10: htb default 20
tc class add dev eth0 parent 10: classid 10:2 htb rate 256Kbit
THIS IS TRAFFIC I WANT NOT TO BE SHAPED
tc filter add dev eth0 parent 10: protocol ip prio 1 u32 \
match ip sport 8764 0xffff match ip dst 213.151.70.42 match ip src
213.151.64.80 flowid 10:1
tc filter add dev eth0 parent 10: protocol ip prio 1 u32 \
match ip sport 123 0xffff match ip dst 212.24.132.2 match ip src
213.151.64.80 flowid 10:1
EVERYTHING ELSE TO CLASS 10:2
tc filter add dev eth0 parent 10: protocol ip prio 1 u32 match ip dst
0.0.0.0/0 flowid 10:2
the last filter should pass all traffic whitch dont pass the filters to
class 10:2 but this is not the case.
If i do some network bandwidth testing with netperf to other host then
stated the traffic is still unshaped.
Have some idea what i have wrong?
thanks
Jorge Sanchez
_______________________________________________
LARTC mailing list
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc