Community discussions

 
leon84
Member Candidate
Member Candidate
Topic Author
Posts: 173
Joined: Wed Dec 02, 2009 12:15 pm

Double Internet Gateway

Tue Oct 19, 2010 4:51 pm

Hi to all,
I would implement a redundant gateway in my routeros.
In particular consider that I have a RouterBoard with 3 interfaces: eth0, eth1 and eth2

eth0 and eth1 have different internet link, while eth2 is the ethernet interface connected to my lan.

I would to use eth0 as primary link to internet and gateway for my lan, but if link is down I would that router switch automatically on eth1.

In which way Can I implement this one?
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 5942
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: Double Internet Gateway

Tue Oct 19, 2010 5:15 pm

Add two default gateways with check-gateway=ping, and one with greater distance. If primary fails then other one with greater distance will become active.
http://wiki.mikrotik.com/wiki/Two_gateways_failover

There are also other examples that may be useful:
http://wiki.mikrotik.com/wiki/User/Routing
 
el berto
Member Candidate
Member Candidate
Posts: 197
Joined: Wed Sep 26, 2007 10:53 am

Re: Double Internet Gateway

Thu May 14, 2015 1:02 pm

But "check ping" would only check for gateway interface, not for ISP connection....

So, if my ADSL modem (192.168.1.1/24) is up but without internet connection I would have my default gateway set on 192.168.1.1, but non connection to outside.......
 
User avatar
ZeroByte
Forum Guru
Forum Guru
Posts: 4051
Joined: Wed May 11, 2011 6:08 pm

Re: Double Internet Gateway

Thu May 14, 2015 6:35 pm

When given a spoon,
you should not cling to your fork.
The soup will get cold.

Who is online

Users browsing this forum: No registered users and 102 guests