From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mathieu Deziel Date: Wed, 04 Dec 2002 12:31:20 +0000 Subject: Re: [LARTC] Marking and bandwidth share Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org 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/