I'm trying to setup loadbalance on a mikrotik 951.
The current setup is 1-WAN that is connected to an ISP router and 5-WAN that is on a mAP in a PTP bridge mode. wifi connected to another ISP router and ethernet is connected to 5-WAN on 951 as second WAN.
ISP subnet : 192.168.10.0/24 GW .1
ISP2 subnet : 192.168.1.0/24 GW .1 mAP .2
Any help why i got timeout?
Code: Select all
/ ip firewall mangle
add chain=prerouting dst-address=192.168.10.0/24 action=accept in-interface=Bridge-LAN
add chain=prerouting dst-address=192.168.1.0/24 action=accept in-interface=Bridge-LAN
add chain=prerouting in-interface=1-WAN connection-mark=no-mark action=mark-connection new-connection-mark=Vodafone_conn
add chain=prerouting in-interface=5-WAN connection-mark=no-mark action=mark-connection new-connection-mark=OTE_conn
add chain=prerouting in-interface=Bridge-LAN connection-mark=no-mark dst-address-type=!local per-connection-classifier=both-addresses:2/0 action=mark-connection new-connection-mark=Vodafone_conn
add chain=prerouting in-interface=Bridge-LAN connection-mark=no-mark dst-address-type=!local per-connection-classifier=both-addresses:2/1 action=mark-connection new-connection-mark=OTE_conn
add chain=prerouting connection-mark=Vodafone_conn in-interface=Bridge-LAN action=mark-routing new-routing-mark=to_Vofadone
add chain=prerouting connection-mark=OTE_conn in-interface=Bridge-LAN action=mark-routing new-routing-mark=to_OTE
add chain=output connection-mark=Vodafone_conn action=mark-routing new-routing-mark=to_Vofadone
add chain=output connection-mark=OTE_conn action=mark-routing new-routing-mark=to_OTE
/ ip route
add dst-address=0.0.0.0/0 gateway=192.168.10.1 routing-mark=to_Vofadone check-gateway=ping
add dst-address=0.0.0.0/0 gateway=192.168.1.1 routing-mark=to_OTE check-gateway=ping
add dst-address=0.0.0.0/0 gateway=192.168.10.1 distance=1 check-gateway=ping
add dst-address=0.0.0.0/0 gateway=192.168.1.1 distance=2 check-gateway=ping