> > You can use only one > > tc filter add dev ppp0 parent 1: protocol ip prio 1 handle 1 fw > > > > and set classid directly in iptables like: > > iptables -t mangle -A to-dsl -p tcp --dport 80 -j MARK --set-mark 0x10010 > > iptables -t mangle -A to-dsl -p tcp --sport 24 -j MARK --set-mark 0x10020 > > > > and so on .. > > devik > Thx. > Even I 'm learning from this list :) > But how do you translate xx:xx to HEX ? handle numbers in tc ARE in hex, so that: ... classid a23f:334d can be written as --set-mark 0xa23f334d devik