How to clear ISP traffic with OpenWrt?

Flowlabels are irrelevant, cake does not use those to select a packets priority tier.

TOS 0x40: CS2 -> cake's Video tin
TOS 0x80: CS4 -> cake's Voice tin

So I can see your lack a happiness. BUT why is dscpclassify not marking these? Are these terminated by the router itself and/or are the connections initiated from the outside?

Good question, I would probably take inspiration from @lynx at:

and try something along the lines of

tc filter add dev "${ul_if}" parent 1: protocol ip matchall action pedit ex munge ip dsfield set 0 retain 0xfc
tc filter add dev "${ul_if}" parent 1: protocol ip6 matchall action pedit ex munge ip6 traffic_class set 0 retain 0xfc

EDIT: Thanks @dave14305, as I said this was not tested (and apparently not even sanity checked :wink: )

Note, I only looked at man tc-pedit and composed this in this editor, so this is neither tested nor guaranteed to not explode.... but it should give you an idea how to proceed....

1 Like