Filters I believe are per qdisc. You really need to have filters to specify which HTB class and which prio class.<br>
<br>
tc filter add dev eth0 parent 1:0 protocol ip prio 1 u32 match ip dport 22 0xffff flowid 1:20<br>
tc filter add dev eth0 parent 1:0 protocol ip prio 1 u32 match ip dport 23 0xffff flowid 1:20<br>
tc filter add dev eth0 parent 1:20 protocol ip prio 1 u32 match ip dport 22 0xffff flowid 20:1<br>
tc filter add dev eth0 parent 1:20 protocol ip prio 1 u32 match ip dport 23 0xffff flowid 20:3<br>
<br>
I imagine what you actually want to do would be differently. have
some set of filters that define what goes into 1:20, then you'll
need a set of filters for 1:20 specifying where in that qdisc
they should go.<br>
<br>
- Jody<br>
<br>
<br><br><div><span class="gmail_quote">On 11/3/05, <b class="gmail_sendername">Andreas Klauer</b> <<a href="mailto:Andreas.Klauer@metamorpher.de">Andreas.Klauer@metamorpher.de</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Thursday 03 November 2005 18:52, Michael Davidson wrote:<br>> tc filter add dev eth0 parent 1:0 protocol ip prio 1 u32 match ip dport<br>> 22 0xffff flowid 20:1<br>> tc filter add dev eth0 parent 1:0 protocol ip prio 1 u32 match ip dport
<br>> 23 0xffff flowid 20:3<br><br>Do filters actually work in between different qdiscs?<br><br>I use HTB & PRIO also, but my filter puts packets from the HTB qdisc to the<br>HTB leaf class first, and then another filter puts packets from the PRIO
<br>qdisc in the correct PRIO band.<br><br>HTH<br>Andreas<br>_______________________________________________<br>LARTC mailing list<br><a href="mailto:LARTC@mailman.ds9a.nl">LARTC@mailman.ds9a.nl</a><br><a href="http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc">
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc</a><br></blockquote></div><br>