I need the advice of an OSPF guru for our interesting network.
here is the setup all locations have mikrotik rb450 and they are geographicly distant locations
the 10.10.10.x network is a metro ethernet network on a single subnet touching each location
location1
port1 192.168.1.1/24
port2 192.168.2.1/24
port3 192.168.3.1/24
port4 Internet1 (NAT) x.x.x.x
Port5 10.10.10.1
location1.5 (same building different office)
port1 192.168.1.2/24 (link to location1 port1 switch) (I have no Idea why this is setup this way I'd link it to 10.10 network myself)
port2 na
port3 192.168.99.1/24
port4 192.168.98.1/24
Port5 na
Location2
port1 192.168.4.1/24
port2 192.168.5.1/24
port3 192.168.6.1/24
port4 Internet2 (NAT) y.y.y.y
Port5 10.10.10.2
location3
port1 192.168.7.1/24
port2 192.168.8.1/24
port3 192.168.9.1/24
port4 NO INTERNET yet
Port5 10.10.10.3
Location4
port1 192.168.10.1/24
port2 192.168.11.1/24
port3 192.168.12.1/24
port4 Internet4 (NAT) z.z.z.z
Port5 10.10.10.4
here is what I need this network to do normally route internet traffic from it's own internet and if it is down route the internet traffic from the metroethernet port to any of the other internet locations.
I currently have RIP + manual static routes for the
0.0.0.0/0 with 200 as the distance for local internet
0.0.0.0/0 with 201 as the distance for backup internet
0.0.0.0/0 with 202 as the distance for backup internet
I manually go and change the distance if internet goes out (well actually with a script that pings an ip and disables the local default route)
I need to get rid of this script and rip and implement OSPF
here is what I tried and failed!
enable ospf on all interfaces added 0.0.0.0/0 network and default instance on all but the problem is the 0.0.0.0/0 on ospf has the same distance as the rest of the subnets which causes a big mess.
any input is appreciated.
Thank you in advance