All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] htb + tc filter
@ 2005-09-28 13:30 choros
  2005-09-28 14:01 ` Andreas Klauer
  2005-09-28 14:20 ` choros
  0 siblings, 2 replies; 3+ messages in thread
From: choros @ 2005-09-28 13:30 UTC (permalink / raw)
  To: lartc

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@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-09-28 14:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-28 13:30 [LARTC] htb + tc filter choros
2005-09-28 14:01 ` Andreas Klauer
2005-09-28 14:20 ` choros

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.