[LARTC] Cannot get htb & prio working together.
Jody Shumaker
jody.shumaker at gmail.com
Thu Nov 3 23:11:41 CET 2005
Filters I believe are per qdisc. You really need to have filters to specify
which HTB class and which prio class.
tc filter add dev eth0 parent 1:0 protocol ip prio 1 u32 match ip dport 22
0xffff flowid 1:20
tc filter add dev eth0 parent 1:0 protocol ip prio 1 u32 match ip dport 23
0xffff flowid 1:20
tc filter add dev eth0 parent 1:20 protocol ip prio 1 u32 match ip dport 22
0xffff flowid 20:1
tc filter add dev eth0 parent 1:20 protocol ip prio 1 u32 match ip dport 23
0xffff flowid 20:3
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.
- Jody
On 11/3/05, Andreas Klauer <Andreas.Klauer at metamorpher.de> wrote:
>
> On Thursday 03 November 2005 18:52, Michael Davidson wrote:
> > tc filter add dev eth0 parent 1:0 protocol ip prio 1 u32 match ip dport
> > 22 0xffff flowid 20:1
> > tc filter add dev eth0 parent 1:0 protocol ip prio 1 u32 match ip dport
> > 23 0xffff flowid 20:3
>
> Do filters actually work in between different qdiscs?
>
> I use HTB & PRIO also, but my filter puts packets from the HTB qdisc to
> the
> HTB leaf class first, and then another filter puts packets from the PRIO
> qdisc in the correct PRIO band.
>
> HTH
> Andreas
> _______________________________________________
> LARTC mailing list
> LARTC at mailman.ds9a.nl
> http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ds9a.nl/pipermail/lartc/attachments/20051103/de7ec89b/attachment.html
More information about the LARTC
mailing list