Hello,
I have set up a transparent OpenWRT instance to use SQM behind my existing router.
Traffic from WAN to LAN and from LAN to WAN is already handled correctly. The configuration was done using this thread.
OpenWRT is set up as a dumb AP and has two interfaces. A bridge connects both interfaces (eth0, eth1).
WAN -> Router -> [eth1] OpenWRT [eth0]-> VLAN 1
VLAN 2
...
/etc/config/sqm
config queue
option interface 'eth0'
option qdisc 'cake'
option script 'piece_of_cake.qos'
option debug_logging '0'
option verbosity '5'
option qdisc_advanced '1'
option qdisc_really_really_advanced '1'
option linklayer 'ethernet'
option overhead '34'
option squash_ingress '0'
option squash_dscp '0'
option ingress_ecn 'NOECN'
option egress_ecn 'ECN'
option download '0'
option upload '85000'
option eqdisc_opts 'dual-dsthost diffserv3 wash'
option enabled '1'
config queue
option interface 'eth1'
option qdisc 'cake'
option script 'piece_of_cake.qos'
option debug_logging '0'
option verbosity '5'
option qdisc_advanced '1'
option qdisc_really_really_advanced '1'
option linklayer 'ethernet'
option overhead '34'
option squash_ingress '0'
option squash_dscp '0'
option ingress_ecn 'NOECN'
option egress_ecn 'ECN'
option download '0'
option upload '30000'
option eqdisc_opts 'dual-srchost diffserv3 wash'
option enabled '1'
My problem is that the traffic between two VLANs is also limited by SQM.
This is obvious, because the traffic crosses the OpenWRT instance and does not know that the router behind does not route the traffic to the WAN, but to another subnet.
Is it possible to route the traffic that goes to another VLAN (192.168.0.0/16) so that it does not cross the SQM interfaces? Maybe by adding additional network interfaces and firewall rules?
Thanks.