I am trying to combine 2 WAN links to have combined bandwidth for my LAN user’s.
My config is as follows.
IP Address Configuration
/ ip address add address=192.168.0.1/24 network=192.168.0.0 broadcast=192.168.0.255 interface=ether1 comment="" disabled=no
/ ip address add address=10.111.0.2/30 network=10.111.0.0 broadcast=10.111.0.3 interface=ether2 comment="" disabled=no
/ ip address add address=10.112.0.2/30 network=10.112.0.0 broadcast=10.112.0.3 interface=ether3 comment="" disabled=no
Mangle Configuration
/ ip firewall mangle add chain=prerouting in-interface=ether1 connection-state=new nth=5,1 action=mark-connection new-connection-mark=conn1 passthrough=yes comment="" disabled=no
/ ip firewall mangle add chain=prerouting in-interface=ether1 connection-mark=conn1 action=mark-routing new-routing-mark=conn1 passthrough=no comment="" disabled=no
/ ip firewall mangle add chain=prerouting in-interface=ether1 connection-state=new nth=4,1 action=mark-connection new-connection-mark=conn2 passthrough=yes comment="" disabled=no
/ ip firewall mangle add chain=prerouting in-interface=ether1 connection-mark=conn2 action=mark-routing new-routing-mark=conn2 passthrough=no comment="" disabled=no
Masquerade ether1 (Local) Network
/ ip firewall nat add chain=srcnat connection-mark=conn1 action=masquerade out-interface=ether2 comment="" disabled=no
/ ip firewall nat add chain=srcnat connection-mark=conn2 action=masquerade out-interface=ether3 comment="" disabled=no
Route
/ ip route add dst-address=0.0.0.0/0 gateway=10.111.0.1 scope=255 target-scope=10 routing-mark=conn1 comment="" disabled=no
/ ip route add dst-address=0.0.0.0/0 gateway=10.112.0.1 scope=255 target-scope=10 routing-mark=conn2 comment="" disabled=no
/ ip route add dst-address=0.0.0.0/0 gateway=10.111.0.1 scope=255 target-scope=10 comment="" disabled=no
The problem is all user’s traffic going through 1 WAN gateway only (i.e ether2) , traffic is not going though WAN2 (ether3) , I want to pass traffic equally from both interface. So even if any single user download any file, he must get bandwidth from both WAN interfaces.
What I am doing wrong?
Please Help!