How to check if load balancing over 2 WAN is done correcty?

Hi,

I have RB953 with two miniPCI 3G modems.

I’ve configured two 3G PPP connections (same operator) and configured load balancing on them using these instructions:

http://wiki.mikrotik.com/wiki/Improved_Load_Balancing_over_Multiple_Gateways

with slight modifications on default routes (using interfaces instead of IP addresses) like here:

http://wiki.mikrotik.com/wiki/NTH_load_balancing_with_masquerade

I’m not sure how to check whether I configured everything OK. I see in IP - Firewall - Connections that some connections are marked as even, some as odd. I see in IP - Firewall - NAT that there are packets on both interfaces (although on odd interface it is twice as much as on the even interface).

But if I check with speed test I get inconsistent results.

I’ve found in some forum this link with instructions to refresh the page and IP address should change, but mine stays the same.
https://www.pfsense.org/ip.php

If I disable one interface the address changes and vice versa.

There could be two things. Either I configured something wrong or connection is remembered and this is not the correct way to test load balancing in my case.


This is my configuration:

/ip firewall mangle
add action=mark-connection chain=prerouting connection-state=new \
    in-interface=bridge1 new-connection-mark=odd nth=2,1
add action=mark-routing chain=prerouting connection-mark=odd in-interface=\
    bridge1 new-routing-mark=odd passthrough=no
add action=mark-connection chain=prerouting connection-state=new \
    in-interface=bridge1 new-connection-mark=even nth=2,2
add action=mark-routing chain=prerouting connection-mark=even in-interface=\
    bridge1 new-routing-mark=even passthrough=no
/ip firewall nat
add action=masquerade chain=srcnat out-interface=ppp-out1
add action=masquerade chain=srcnat out-interface=ppp-out2
/ip route
add check-gateway=ping distance=1 gateway=ppp-out1 routing-mark=odd
add check-gateway=ping distance=1 gateway=ppp-out2 routing-mark=even
add check-gateway=ping distance=1 gateway=ppp-out1,ppp-out2

download a large file using torrent. Some linux images are big enough to test it. Than seed the file to test your upload.