Dear all, After testing the script on RH8 (kernel 2.4), I realized that the problem actually lies with the set_tc_index of the dsmark with handle 2:0 once that option is added, the remarking in the first dsmark fails. James uses the default_index to get around with this but i can't as i have to remark 2 groups of packets - 1 group to AF11 and another group with AF12. Can anyone suggest something? Thanks and Regards, Titus