Community discussions

MikroTik App
 
billr
Member Candidate
Member Candidate
Topic Author
Posts: 106
Joined: Tue May 03, 2005 8:28 pm

Mikrotik, servers and failover

Thu Nov 01, 2007 11:21 pm

Maybe a strange question, but we need to improve our Mikrotik system.

Is it possible to run MT on (say) a dual blade system with failover - so each is mirrored, and if one fails the other takes over?

Or is there another configuration option - dual servers with failover.

Our problem is the MT server takes all our in and out network traffic and if it fails our entire network fails, so we need at least single redundancy.

I hope this is not a silly question; please explain if it is ....

Cheers, Bill
 
User avatar
Letni
Member
Member
Posts: 376
Joined: Tue Dec 05, 2006 5:16 am
Location: South Carolina

Re: Mikrotik, servers and failover

Fri Nov 02, 2007 2:08 am

I think you are looking for VRRP (Virtual Router Redundancy Protocol)
http://www.mikrotik.com/testdocs/ros/2.9/ip/vrrp.php
 
billr
Member Candidate
Member Candidate
Topic Author
Posts: 106
Joined: Tue May 03, 2005 8:28 pm

Re: Mikrotik, servers and failover

Fri Nov 02, 2007 10:39 am

Thanks for this - but unfortunately we have a number of VLANS.

The VRRP as implimented in MT says it does not support VLANS.
Is there a work around for this?

Cheers, Bill
 
billr
Member Candidate
Member Candidate
Topic Author
Posts: 106
Joined: Tue May 03, 2005 8:28 pm

NEED several copies of MT for Mikrotik, servers and failover

Fri Nov 02, 2007 11:18 am

I have a further question if we operate two mirrored servers, one as master and one as backup.

I would assume that as each server is running MT, we would need a licence for EACH server that we ran?
So if we had two servers, a master and a backup, this is obviously TWO licences?

Many thanks again..
 
Diganet
Member
Member
Posts: 342
Joined: Sun Oct 30, 2005 9:30 pm
Location: Denmark
Contact:

Re: Mikrotik, servers and failover

Fri Nov 02, 2007 1:11 pm

Thanks for this - but unfortunately we have a number of VLANS.

The VRRP as implimented in MT says it does not support VLANS.
Is there a work around for this?

Cheers, Bill
All it says is that you can't run VRRP on a VLAN interface, however you could run it on normal interfaces like dedicating a NIC on each box for this

/Henrik
 
billr
Member Candidate
Member Candidate
Topic Author
Posts: 106
Joined: Tue May 03, 2005 8:28 pm

Re: Mikrotik, servers and failover

Fri Nov 02, 2007 1:33 pm

I wondered if that was an answer.

Many thanks.

Cheers, Bill
 
uk52rob
just joined
Posts: 15
Joined: Mon May 16, 2005 9:37 am

Re: Mikrotik, servers and failover

Fri Nov 02, 2007 5:09 pm

Sorry if this is a silly question, but is this as simple as copying the profile of one MT box to another and setting up ONE VRRP IP address on a single interface of each box?

Thanks
 
billr
Member Candidate
Member Candidate
Topic Author
Posts: 106
Joined: Tue May 03, 2005 8:28 pm

Re: Mikrotik, servers and failover

Sat Nov 03, 2007 10:42 am

Anyone comment please?

ALSO - can someone comment to my question, that if we are running two mirrored MT servers then we need two licences? Or not?

Cheers, Bill
 
User avatar
GuJack20
Trainer
Trainer
Posts: 345
Joined: Sat Jun 12, 2004 9:44 pm
Location: Tirana
Contact:

Re: Mikrotik, servers and failover

Sat Nov 03, 2007 12:35 pm

For the licenses im sure that you will need 2 licenses,cause they are 2 independent routers :(
 
galaxynet
Long time Member
Long time Member
Posts: 646
Joined: Fri Dec 17, 2004 2:52 pm
Contact:

Re: Mikrotik, servers and failover

Sat Nov 03, 2007 4:02 pm

billr -
Yes - you need two licenses - the routers would be two different router boxes. You wouldn't want them in the same box anyway - what if the nic failed...?

Yes you can use VVRP, IF your front end interface is NOT using a VLAN. Front end = 'public interface' which is what I have to assume is where you are getting your Internet feed from.

If your front end interface is on a VLAN then the only way to do a failover would be with some pretty creative script writing for the MT boxes....might be possible w/RIP / BGP /OFSP routing protocols....haven't tried that myself (using RIP / BGP / OFSP for failover).
 
billr
Member Candidate
Member Candidate
Topic Author
Posts: 106
Joined: Tue May 03, 2005 8:28 pm

Re: Mikrotik, servers and failover

Sat Nov 10, 2007 1:28 pm

Hmmm..

Thanks for the info..

Our 'front end' ie public interface is a leased line and a bonded adsl pair of lines.
Neither of these use VLANS.
However we have a number of VLANS on our network.

Am I right in assuming we can use VLANS therefore inside our network?

uk52rob who is my partner in crime may be able to clarify this.

Cheers, Bill
 
galaxynet
Long time Member
Long time Member
Posts: 646
Joined: Fri Dec 17, 2004 2:52 pm
Contact:

Re: Mikrotik, servers and failover

Sat Nov 10, 2007 3:02 pm

billr -
Well as long as that front end is just 'standard' tcp / udp then VVRP should work just fine for you. Bonded dsl and a lease line - you must be using dsl for failover or 'low' priority traffic... I don't see any problem with using VVRP with your setup as you have described it. VLANS on the 'inside' should not be a problem....

billr - you know the worst case here would be that you'd have to use 3 MT boxes.... First on the inside to handle the VLANS, then point it to the 2 VVRP MT boxes which would not have VLAN on either interface... An 'older' cpu at say 500mhz or better, would do everthing and still handle full duplex network speeds. So your worst case is still a pretty 'cheap' option.
 
billr
Member Candidate
Member Candidate
Topic Author
Posts: 106
Joined: Tue May 03, 2005 8:28 pm

Re: Mikrotik, servers and failover

Sat Nov 10, 2007 9:07 pm

Well that sounds **good**

We are seriously considering upgrading to some professional server grade kit (not just stuff that fell of the back of a lorry ..)

The only (ha!) problem is dealing with the VLANS.

Thanks for the advice.
 
billr
Member Candidate
Member Candidate
Topic Author
Posts: 106
Joined: Tue May 03, 2005 8:28 pm

Re: Mikrotik, servers and failover

Sun Nov 11, 2007 11:00 am

Actually to clarify things we have a 'slow' leased line and fast bonded adsl and use the bonded adsl for the bulk of our traffic.. It may seem the wrong way round but there are reasons..

We failover to the leased line when (note I say when) the adsl falls over - which it does once in a while..

Cheers and thanks for the advice.
 
billr
Member Candidate
Member Candidate
Topic Author
Posts: 106
Joined: Tue May 03, 2005 8:28 pm

Re: Mikrotik, servers and failover

Sun Nov 11, 2007 11:01 am

But (sorry) I should add, we are considering upgrading the leased line and doing things the way you surmised ;-))
 
galaxynet
Long time Member
Long time Member
Posts: 646
Joined: Fri Dec 17, 2004 2:52 pm
Contact:

Re: Mikrotik, servers and failover

Sun Nov 11, 2007 4:39 pm

billr -
Ok - well then when you get some type of config thrown together give us all a gander we'll help you get it right if necessary....

Nothing wrong with using dsl lines as the primary...I have had to do that in a few places, and I using bonding to do it as it provides 'built-in' failover. I use MT boxes as the bonded routers for the dsl lines on both ends. That way when one line fails, the router knows it and 'switches' everything over to the remaining dsl lines....

Cheers!

Who is online

Users browsing this forum: No registered users and 21 guests