Hello All,I am trying to setup bonding for 2 Seperate Internet Links (Point to Point Link from 2 different ISP) that i have, it seems i have managed to create a Bonded Output but i am facing the following problems:
1) When i do a speed check using www dot speedtest dot net i do not get a Combined speed, i get speed results of either ISP one or ISP two during multiple tests.Although I can ping Gateways/Core routers of both ISPs and internet also works.Speed also varies, either i get speed of ISP one or ISP two.
2) Redundancy/Failover doesnt work, if i disconnect one Link on either Wan, internet continues to be supplied to LAN but on returning the link, it remains "down" until router is rebooted. This happens for whichever WAN i do.
Any Help / Directions will be sincerely appreciated.I have attached suppout.rif for any info that may be helpful.just rename .txt to rif due to extension restrictions.
Below is my setup Info:
1) Router used for Bonding - Mikrotik RB2011UAS-2hnD-IN with RouterOS 6.4
2) Eth1 as WAN1, Eth2 as WAN2 and Eth3 as "bonded output" (WAN-OUT)
3) WAN1 - 192.168.3.1 ; WAN2 - 192.168.4.1 ; WAN-OUT - 192.168.0.1
4) WAN-OUT gives same results/problems whether i connect a laptop directly to it or through a switch.
5) WAN1 Speed - 4MBps ; WAN2 Speed - 3MBps
6) Script used to enter firewall/nat config as below:
/ip firewall mangle
add chain=input in-interface=WAN1 action=mark-connection new-connection-mark=WAN1_conn
add chain=input in-interface=WAN2 action=mark-connection new-connection-mark=WAN2_conn
add chain=output connection-mark=WAN1_conn action=mark-routing new-routing-mark=to_WAN1
add chain=output connection-mark=WAN2_conn action=mark-routing new-routing-mark=to_WAN2
add chain=prerouting dst-address=192.168.3.0/24 action=accept in-interface=WAN-OUT
add chain=prerouting dst-address=192.168.4.0/24 action=accept in-interface=WAN-OUT
add chain=prerouting dst-address-type=!local in-interface=WAN-OUT per-connection-classifier=both-addresses-and-ports:2/0 action=mark-connection new-connection-mark=WAN1_conn passthrough=yes
add chain=prerouting dst-address-type=!local in-interface=WAN-OUT per-connection-classifier=both-addresses-and-ports:2/1 action=mark-connection new-connection-mark=WAN2_conn passthrough=yes
add chain=prerouting connection-mark=WAN1_conn in-interface=WAN-OUT action=mark-routing new-routing-mark=to_WAN1
add chain=prerouting connection-mark=WAN2_conn in-interface=WAN-OUT action=mark-routing new-routing-mark=to_WAN2
/ip route
add dst-address=0.0.0.0/0 gateway=192.168.3.1 routing-mark=to_WAN1 check-gateway=ping
add dst-address=0.0.0.0/0 gateway=192.168.4.1 routing-mark=to_WAN2 check-gateway=ping
add dst-address=0.0.0.0/0 gateway=192.168.3.1 distance=1 check-gateway=ping
add dst-address=0.0.0.0/0 gateway=192.168.4.1 distance=2 check-gateway=ping
/ip firewall nat
add chain=srcnat out-interface=WAN1 action=masquerade
add chain=srcnat out-interface=WAN2 action=masquerade