Hello folks!
I have a network that spans 2 physical locations, each location has its own ISP/GW (see attachment).
DHCP server only sends ip of gw1 as default gw to all devices.
I am looking for a way for GW1 to redirect traffic to GW2 if ISP1 is down.
Would RIP be enough for such scenario? Any pointers would be appreciated.
Thank you!
I believe by default each gateway should take care of it’s own clients that are connected to that router. I am not entirely sure but if you implement OSPF and then use the check gateway ping that it may failover to one or the other gateway if one goes down… Not entirely sure. I will soon have a similar setup to play with and figure out.
OSPF will get you to a state of redundancy fairly easily. Be sure to advertise the default route from the failover point and as long as you have a static route going out to your main ISP, the OSPF route will only be used if the primary ISP goes down.
Here are some examples of OSPF in MikroTik
http://wiki.mikrotik.com/wiki/Manual:OSPF-examples
Thank you 43North and IPANetEngineer!
One thing I did not say is that there is a wireless link between the locations that we would like to limit traffic to when everything works fine (used to sync data between locations both ways)
Users at location one should use gw1 and users at location 2 should use gw2
I did not think OSPF because the gw are in the same subnet?
Does that make sense? I will look at the documentation and let you know what happens.
Thanks again!
There is no problem with the gateways being in the same subnet as long as they aren’t overlapping subnets. OSPF requires the subnet to be the same on both sides of an adjacency.
As far as the wireless link goes, you can build some queues to protect replication traffic when a failover occurs.