Marking and bandwidth share
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/
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/