Example of DSCP markings

Does CAKE automagically recognize a DSCP marking and place it in the a particular bin?

iptables -t mangle -A FORWARD -p udp --dport 3074 -j DSCP --set-dscp-class CS6

Yes, standalone CAKE will prioritize traffic according to DSCP, assuming use of the appropriate CAKE keyword e.g. "diffserv3", "diffserv4", etc. The same behaviour is also possible using other QDISCs as part of the sqm-scripts package.

Your DSCP class CS6 is classified as the highest tier for example, and you can find more details on CAKE's DSCP-to-tier mapping from the source.

Cheers!

Remember though that the marking must be there at the time cake queues it. So you have to figure when the iptables is executed vs your cake queue

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.