Community discussions

MikroTik App
 
drzen
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 82
Joined: Thu Aug 09, 2007 3:59 pm
Location: Pordenone, Italy
Contact:

Hardware fault tollerance

Tue Jan 26, 2010 2:36 pm

Hi,

I have a routerOS with 7 lan interface (with hotspot, bandwidth queues,...) and 1 wan interface.
Here the overview:

Image

Now I want to give more stability with an hardware failover. What I want is a system similar to cisco pix where two routers are seen as a single router. In this way, I run a single router, the other is like a mirror. When the router1 fails, the router2 becomes active, without interruption of services (or with a short break).

Any ideas?

Thanks in advance
v.
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26385
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia

Re: Hardware fault tollerance

Tue Jan 26, 2010 2:43 pm

VRRP provides you with such feature
 
drzen
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 82
Joined: Thu Aug 09, 2007 3:59 pm
Location: Pordenone, Italy
Contact:

Re: Hardware fault tollerance

Tue Jan 26, 2010 2:45 pm

Ok.
I start reading: http://wiki.mikrotik.com/wiki/VRRP

v.
 
drzen
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 82
Joined: Thu Aug 09, 2007 3:59 pm
Location: Pordenone, Italy
Contact:

Re: Hardware fault tollerance

Tue Jan 26, 2010 3:04 pm

Well, I think that is the solution for me. Some doubts:

1. I have two routers R1, R2.
2. R1 is completly configured (firewall rules, nat, hotspot,...)
3. R2 without any configuration
4. For each interfaces (X is the lan id - see network diagram before):

R1 configuration:

/ip address add address=192.168.x.254/24 interface=etherX
/interface vrrp add interface=etherX vrid=49 priority=254
/ip address add address=192.168.x.254/32 interface=vrrpX

R2 configuration:

/ip address add address=192.168.x.2/24 interface=etherX
/interface vrrp add interface=etherX vrid=49
/ip address add address=192.168.x.254/32 interface=vrrpX

Is this correct? Or I need to duplicate on R2 every configuration (firewall rules, nat, hotspot,...)?

Thanks in advance.
v.
Last edited by drzen on Thu Jan 28, 2010 3:21 pm, edited 1 time in total.
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7056
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: Hardware fault tollerance

Tue Jan 26, 2010 3:27 pm

VRRP configuration is correct.
If you want to run hotspot or some other facilities, then of course their configuration must be the same on both routers.
 
drzen
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 82
Joined: Thu Aug 09, 2007 3:59 pm
Location: Pordenone, Italy
Contact:

Re: Hardware fault tollerance

Tue Jan 26, 2010 5:46 pm

I do a more specific post in scripting section about master/backup configuration sync.

Look at http://forum.mikrotik.com/viewtopic.php?f=9&t=38689

thanks
v.

Who is online

Users browsing this forum: complexxL9, Demidrol, eworm, GoogleOther [Bot], lurker888 and 209 guests