Skip to contentSkip to conversation

Marking and bandwidth share

LARTC Kaustubh Phanse 2 participants 2 messages Dec 2, 2002 – Dec 4, 2002

lore
Share & tools
lore
#0 lore raw

Hello!

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?

Any comments/suggestions are welcome.

Thank you
Regards
Kaustubh
-----------------------
PhD student
ECE Dept., Virginia Tech
-------------------------

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#1 lore raw

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.

Quoted 9 lines

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 / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/