Hi,
I am currently using the mangle rules and queue trees from http://wiki.mikrotik.com/wiki/Basic_traffic_shaping_based_on_layer-7_protocols
I have added additional rules to try and prioritize traffic based on customer type, residential, business, etc
add burst-limit=12M burst-threshold=0 burst-time=10s disabled=no limit-at=5M max-limit=10M name=Customers parent=global-in priority=1
add burst-limit=12M burst-threshold=0 burst-time=10s disabled=no limit-at=5M max-limit=10M name=Business_IN parent=Customers priority=1
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=1M max-limit=5M name=BUS_P2P_IN packet-mark=p2p parent=Business_IN priority=8 queue=default
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 max-limit=0 name=BUS_ALL_IN packet-mark=remaining_in parent=Business_IN priority=6 queue=default
add burst-limit=12M burst-threshold=0 burst-time=10s disabled=no limit-at=5M max-limit=10M name=Residential_IN packet-mark=RES_Packet parent=Customers priority=4
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=1M max-limit=5M name=RES_P2P_IN packet-mark=p2p parent=Residential_IN priority=8 queue=default
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 max-limit=0 name=RES_ALL_IN packet-mark=remaining_in parent=Residential_IN priority=6 queue=default
I have a mangle rule to mark a packet whether its a residential customer or business customer:
/ip firewall mangle
add action=mark-connection chain=prerouting comment="Mark Residential packets" disabled=no dst-address-list=Residential new-connection-mark=RESIDENTIAL passthrough=yes
add action=mark-packet chain=prerouting comment="Residential Packets" connection-mark=RESIDENTIAL disabled=no new-packet-mark=RES_Packet passthrough=no
It appears none of the traffic is hitting the “CUSTOMER” queue so is not going deeper into the “RESIDENTIAL” queue. What am I doing wrong?
Thanks in advance for any assistance.
Barry