my setup is:
rb493g where
ether1 192.168.1.254 1st department
ether2 192.168.2.254 2nd department
ether8 isp1
ether9 isp2
I need to setup the router for load balance and failover so:
192.168.1.0/24 uses gw on ether8, if it fails then ether9 and
192.168.2.0/24 uses gw on ether9, if it fails then ether8 and
the both subnets see eatch other
I have been following this tutorial
http://wiki.mikrotik.com/wiki/Advanced_ ... _Scripting
It is not working for me
Code: Select all
/ip route
add dst-address=8.8.8.8 gateway=109.x.x.x scope=10
add dst-address=209.85.227.103 gateway=109.x.x.x scope=10
add dst-address=209.85.227.147 gateway=182.x.x.x scope=10
add dst-address=74.125.230.152 gateway=182.x.x.x scope=10
/ip route
add dst-address=10.1.1.1 gateway=8.8.8.8 scope=10 target-scope=10 check-gateway=ping
add dst-address=10.1.1.1 gateway=209.85.227.103 scope=10 target-scope=10 check-gateway=ping
add dst-address=10.2.2.2 gateway=209.85.227.147 scope=10 target-scope=10 check-gateway=ping
add dst-address=10.2.2.2 gateway=74.125.230.152 scope=10 target-scope=10 check-gateway=ping
/ip route
add distance=1 gateway=10.1.1.1 routing-mark=ISP1
add distance=2 gateway=10.2.2.2 routing-mark=ISP1
add distance=1 gateway=10.2.2.2 routing-mark=ISP2
add distance=2 gateway=10.1.1.1 routing-mark=ISP2
Can somebody tell me what I am doing wrong and what are my options?
Thanks