[Cake] OpenWRT, DSCP & 6in4 tunneling - a hint!

Kevin Darbyshire-Bryant kevin at darbyshire-bryant.me.uk
Thu Dec 10 09:30:19 EST 2015

Those following my recent journey on trying to get dcsp info from inner
ipv6 headers to the outer ipv4 tunnel headers and as a result get cake
to classify traffic correctly, may be interested in the following solution:

add "option tos 'inherit'" to the 'wan6' interface definition in

I can't find any documentation covering this on the openwrt site which
lead to quite an investigation starting from 'sit.c' in the kernel,
iproute2, busybox, openwrt's netifd and finally the '6in4.sh' that it calls.

The odd thing is that I swear this used to work by default!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4816 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://lists.bufferbloat.net/pipermail/cake/attachments/20151210/13799bc1/attachment-0002.bin>

More information about the Cake mailing list