From mboxrd@z Thu Jan 1 00:00:00 1970 From: choros Date: Wed, 28 Sep 2005 13:30:12 +0000 Subject: [LARTC] htb + tc filter Message-Id: <433A9AE4.6000706@inway.cz> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org 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