Ethernet unplugging does not trigger failover

Started by pinpoint, September 10, 2025, 06:05:57 PM

Previous topic - Next topic
Running NIC in passthrough on both nodes. Interface go down as it should when I disconnect the cable. When running netsstat when disconnected, the WAN device dissappears from the routing table. It is present when wan is connected. I`ve read somewehre that some people experience a problem with default route persisting when upstream gateway is down.

Ok, but the default route from OSPF is not visible when WAN is unplugged?

I'm having a hard time now coming up with ideas without access to your system. Both nodes have their HA interface in area 0.0.0.0, there is an "allow all" firewall rule on that interface, designated router and backup designated router are visible? What about the link state database on both nodes? Can you show that in the UI?
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)



I ran all configs and logs into AI. I dont know how accurate this is but:
"Your OSPF daemon is learning routes, but not injecting them into the FreeBSD kernel routing table.
That's why you don't see a second default route from the peer node."

Routing tables

Internet:
Destination        Gateway            Flags         Netif Expire
default            81.xxx.xxx.1       UGS             re0
8.8.8.8            81.xxx.xxx.1       UGHS            re0
10.10.10.0/24      link#7             U               wg0
10.10.10.1         link#3             UHS             lo0
10.10.10.2         link#7             UHS             wg0
10.10.10.3         link#7             UHS             wg0
10.10.10.4         link#7             UHS             wg0
81.xxx.xxx.0/21    link#1             U               re0
81.xxx.xxx.1       link#1             UHS             re0
81.xxx.xxx.185     link#3             UHS             lo0
127.0.0.1          link#3             UH              lo0
192.168.50.0/24    link#2             U            vtnet0
192.168.50.1       link#3             UHS             lo0
192.168.50.2       link#3             UHS             lo0

Unplugged:
Routing tables

Internet:
Destination        Gateway            Flags         Netif Expire
10.10.10.0/24      link#7             U               wg0
10.10.10.1         link#3             UHS             lo0
10.10.10.2         link#7             UHS             wg0
10.10.10.3         link#7             UHS             wg0
10.10.10.4         link#7             UHS             wg0
127.0.0.1          link#3             UH              lo0
192.168.50.0/24    link#2             U            vtnet0
192.168.50.1       link#3             UHS             lo0
192.168.50.2       link#3             UHS             lo0


AI sounds at least plausible - so, anyone running FRR in production? What knob tells OSPF to actually add the routes to the routing table?
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)