Policy Routing (UP/Down) through ISP_2 + Simple Queues with Packet Marks

Hello everyone, I’m sure this has been discussed so many times except how to deal with simple queues + packet marks added to shape the traffic instead of queue trees

I have to ISP lines ISP_1: 192.168.101.1 and ISP_2: 192.168.102.1
the second ISP is dedicated for traffic based on address-list already created (Social address list), here is the script:


/ip firewall mangle
add action=mark-connection chain=prerouting comment=“Mark Social Download Connection” new-connection-mark=c_social_dn src-address-list=Social
add action=mark-packet chain=prerouting connection-mark=c_social_dn new-packet-mark=pkt_social_dn

add action=mark-connection chain=prerouting comment=“Mark Social Upload Connection” dst-address-list=Social new-connection-mark=c_social_up
add action=mark-packet chain=prerouting connection-mark=c_social_up new-packet-mark=pkt_social_up

add action=mark-routing chain=prerouting comment=“Route Social Traffic to ISP 2” dst-address-list=Social dst-address-type=!local in-interface=bridge1 new-routing-mark=to_ISP2

/ip firewall nat
add action=masquerade chain=srcnat out-interface=ISP_1 src-address=10.100.0.0/22
add action=masquerade chain=srcnat out-interface=ISP_2 src-address=10.100.0.0/22

/ip route
add distance=1 gateway=192.168.102.1 routing-mark=to_ISP2
add distance=1 gateway=192.168.101.1


Finally the simple queues with the (UP/DOWN) packet marks created to give unlimited bandwidth for both download and upload:

/queue simple
add comment=“Social UP/DOWN” max-limit=400k/1500k name=Social packet-marks=pkt_social_dn,pkt_social_up queue=default/default target=10.100.0.0/22


Now the code seems to be working, I did tracert to one of the social ip addresses and traffic goes through ISP_2. But i have 2 questions here:
1- Is this the correct way of doing the simple queues with UP/DOWN packet marks since i used to do this with queue trees in v5?
2- How to know if both the UP/DOWN is going through the second ISP_2 dedicated to the social address list ?

Someone points me to the right way if possible :slight_smile: