Change ether4 to bridge!
/interface vlan
add interface=ether4 name=vlan5 vlan-id=5
add interface=ether4 name=vlan10 vlan-id=10
add interface=ether4 name=vlan20 vlan-id=20
add interface=ether4 name=vlan30 vlan-id=30
add interface=ether4 name=vlan40 vlan-id=40
add interface=ether4 name=vlan70 vlan-id=70
add interface=ether4 name=vlan80 vlan-id=80
You have 7 vlans and 9 ip pools DISCONNECT?
Okay I see what you are doing, you have one pool for the bridge, 7, for vlans,
and a MISTAKEN DUPLICATE (two bridge pools), one needs to be removed.
In general I recommend creating a VLAN and not an open subnet as you have on bridge.
In other words, the bridge does no DHCP should just provide ports etc…
Bridge ports, assuming ether 3-5 and wlan are all trunk ports going to “smart” devices that can read vlan tags??
Typically if the WLAN port is on the router itself then the bridge port would look like
add bridge=bridge interface=wlan1 pvid=xx ingress-filtering=yes allow priority and untagged frames only (where xx, is the vlan you are using for wifi)
Okay ether5 is its own Subnet, but you have it as part of the bridge, so another CONFLICT
You have the ether 5 on the bridge but you have the bridge the same address…
What are you doing??
Get rid of those mangle rules for now… no purpose
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++
In summary, you need to show in a network diagram what are the purpose of your ports including wlan port.
what vlans are supposed to go through those ports… and what are the ports connected to.
I think this is the issue, not your routes.
Guessing I would say that ether5 is something separate than the rest, what is it for?
Why do you have the bridge giving out DHCP, what is that for?
Answering those two questions will allow for a cleaner setup.
What you should do is define one or more vlans along with the 7 you have if you have one or two more groups of users you want to reach.
let me know and we can clean up this config very quickly.