OpenWrt Forum Archive

Topic: 3 layer cake with packet marking in IP Tables?

The content of this topic has been archived on 3 Mar 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

I'm currently using piece of cake on WAN but have 4 separate VLAN's set on my WRT1200AC, each bridged to it's own WiFi. I'd like to slap EF on OCSERV and my VOIP box connected in DMZ, while demoting some other other stuff CS1, but unsure about best approach.

Does it make sense to move to 3 or 4 layer cake and then use IP Tables to mark packets based upon source MAC or source IP or protocol and such? OCSERV already has packet marking built in so that one's easy but I don't see any way to "hard limit" other attached hosts.

The following website talks about using tc classes to accomplish something similar so maybe I need to deep dive into this but will it work alongside 3 layer cake? combo.cc/articles/openwrt-upload-quota-and-bandwidth-limiting.html

Also is there any use case for enabling QoS on my four br interfaces, each of which links one network jack to it's associated WLAN? I wouldn't want to impede the traffic between each VLAN network jack and it's associated WLAN, but would like to have some separate control over each VLAN, one being mine, one for upstairs renters and another for downstairs tenants, lastly the DMZ.

A nudge in the right direction would be very much appreciated smile

(Last edited by snovotill on 3 Mar 2018, 09:16)

What's a 3 layer cake in this context?

mikma wrote:

What's a 3 layer cake in this context?

cake qdisc with the layer-cake script from SQM

(Last edited by hnyman on 3 Mar 2018, 11:21)

The discussion might have continued from here.