Simple failover

I have a T-1 and DSL gateway, normally feeding 2 separate networks.
Is it sufficient to specify:

/ip route add gateway=192.168.1.1 check-gateway=ping
/ip route add gateway=192.168.2.1 distance=2

to get failover?
What are the parameters on “check-gateway=ping”?

Gunzoid -

Try the link below (the wiki) it has some examples of failover with a little bit of an explanation. It that doesn’t do it - come back and we’ll chat somemore…

http://wiki.mikrotik.com/wiki/MikroTik_RouterOS

Thom,
I took that directly off the wiki.
It seemed to be such a simple and straightforward way to do failover I was wondering if it actually worked .
I don’t need to do load balancing- just switch to an alternate gateway if one goes down.
My only concern was how often the primary gateway gets pinged as I figured it wouldn’t be too wise to have a short interval continuous ping going.
Is the interval built into “check-gateway=ping”? And if it isn’t, how is the interval set?

Gunzoid -
New Hampshire - I used to live in Maine about 30 years ago - pretty country!

The check gateway parameter is preset and I want to say it’s at least a couple times a second but not more than five. It is only 32 bytes - so not a lot of ‘data’.

Ususally when you do failover you don’t rely on the gateway - ususally you ping something further out to make sure you are getting past your provider. I ususally pick something like Google when I feel it is necessary.

The only issue with picking something further out is routing it out the correct gateway and getting the reply back on the same gateway. Then once you have ‘failed over’ your system - you want to continue to check your main gateway so that when it comes back up you switch back to it.

Simple is always good - I like the ‘KISS’ pricinple - Keep It Simple Stupid… :slight_smile: But once in a while you do have to go a bit further - depends on how reliable what you have is. T1’s are usually considered very reliable - having failover however is a prudent move on your part.

I know I’ve given you a bit more of an answer than you were looking for - just giving you all the facts to make a decision on.

Drop a line back if there is anything else.