Kaustubh, Here is how I do it: Incoming packets ---> Classifier (u32 filter) ---> schedule (e.g., HTB) ---> DSCP marking (dsmark) If you absolutely need to mark before the "scheduling", than maybe you can use iptable. Mathieu. > I am trying to figure out a way to accomplish both DSCP marking and > bandwidth sharing at an edge router; the packets will first be classified > based on IP address, ports, etc. So, the tc set-up would be something like: > > Incoming packets ---> Classifier (u32 filter) ---> DSCP marking > (dsmark) ---> schedule (e.g., HTB) > > I am a little confused on how to schedule packets into appropriate HTB class > after dsmark?? Or is there an alternate way? _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/