Community discussions

MikroTik App
 
router
just joined
Topic Author
Posts: 4
Joined: Tue Sep 27, 2011 5:05 pm

Company router EDITED

Wed Sep 28, 2011 3:58 pm

Hi everybody

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
/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
there are no other routes or gateways, it says reachable but I can not ping outside

Can somebody tell me what I am doing wrong and what are my options?
Thanks
Last edited by router on Thu Sep 29, 2011 3:57 pm, edited 1 time in total.
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7054
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: Company router

Wed Sep 28, 2011 4:01 pm

What do you mean by not seeing each other? In that setup both networks should be able to reach each other on Layer3.
 
router
just joined
Topic Author
Posts: 4
Joined: Tue Sep 27, 2011 5:05 pm

Re: Company router EDITED

Thu Sep 29, 2011 3:59 pm

well they see eatch other, but they cannot go out to internet

Who is online

Users browsing this forum: No registered users and 32 guests