OSPF Failover between Edgerouter and RB5009

The answer to this will probably be something stupid simple that I’m overlooking, but I’m wracking my brain on it and looking for some guidance.

I have 4 routers involved in this problem:

  • Router 1 is an RB5009. It is an ABR for a Backbone and Area 2
  • Router 2 is an Edgerouter only in Area 2
  • Router 3 is an Edgerouter only in Area 2
  • Router 4 is an Edgerouter. It is an ABR for Backbone and Area 2.

Both ABR’s have full neighbor adjacencies to both the Backbone and Area 2. All parts of Area 2 have full adjacencies between their neighbors.

I currently have traffic on Area 2 routed from Router 2→4 with Router 1 being the backup route due to the capacity of wireless links.

If I disable the port on Router 4, ideally everything on Area 2 should re-route and exit via Router 1….but it doesn’t and I’m not sure why.

Any thoughts? I’m open to suggestions.

Hi,

It would help:

  • present the diagram of network
  • show your confuiguration with no security info
  • try to describe the real problem in clean words
  • show what you did to solve the problem

OSPF neighbor relationships are working.

If R4 goes down for any reason, Area 2 doesn’t reverse flow across the backup path out and I’m not understanding why.

Here’s the sanitized code from the MT, aka R1

# 2025-12-02 17:06:18 by RouterOS 7.12.1
# software id = ABCD-1234
#
# model = RB5009UPr+S+
# serial number = ABCDEFGHIJK
/interface bridge
add name=PubFi
add name=LoopBack
/interface ethernet
set [ find default-name=ether2 ] name=ToMAIN poe-out=forced-on
set [ find default-name=ether1 ] mtu=1504 name=ToONT poe-out=off
set [ find default-name=ether5 ] name=ToLOCAL poe-out=off
set [ find default-name=ether3 ] poe-out=off
set [ find default-name=ether4 ] poe-out=off
/interface vlan
add interface=PubFi name=PubFi vlan-id=2
add interface=ToGFS name=ToNEXT vlan-id=12
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip pool
add name=dhcp_pool0 ranges=192.168.1.34-192.168.1.46
/ip dhcp-server
add address-pool=dhcp_pool1 interface=ToGFS lease-time=1d name=dhcp1
/routing ospf instance
add disabled=no name=ToHOME redistribute=connected router-id=10.1.1.106
/routing ospf area
add disabled=no instance=ToHOME name=ToHOME
add area-id=2.2.2.2 disabled=no instance=ToHOME name=ToNEXT
/snmp community
add addresses=::/0 name=public
/interface bridge port
add bridge=PubFi interface=ToMAIN
add bridge=PubFi interface=ether6
add bridge=PubFi interface=ether7
add bridge=PubFi interface=ether8
add bridge=PubFi interface=ether4
/ip address
add address=10.1.1.106 interface=LoopBack network=10.1.1.106
add address=192.168.1.33/28 interface=ToGFS network=192.168.1.32
add address=192.168.2.1/29 interface=ToNEXT network=192.168.2.0
add address=10.0.106.1/24 interface=ToGFS network=10.0.106.0
add address=192.168.23.40/24 interface=ToONT network=192.168.23.0
/ip dhcp-server network
add address=192.168.1.32/28 dns-server=1.2.3.4, 5.6.7.8 \
    gateway=192.168.1.33
/ip service
set telnet port=1234
set ftp port=2345
set ssh port=3456
/routing ospf interface-template
add area=ToHOME disabled=no interfaces=ToONT networks=\
    192.168.23.0/24,10.0.106.0/24,192.168.1.32/28
add area=ToNEXT cost=100 disabled=no interfaces=ToNEXT networks=\
    192.168.2.0/28 priority=1
/system note
set show-at-login=no
/system ntp client
set enabled=yes
/system ntp client servers
add address=1.2.3.4

R1 used to be a Ubiquiti Edgerouter and failover to the backup route worked and pushed everything out R1. That router died off so we decieded to replace it with the RB5009, and now while OSPF is up, nothing traverses the backup route.