Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
22.1 Legacy Series
»
[SOLVED] Static route not applied after update to 22.1.5
« previous
next »
Print
Pages: [
1
]
Author
Topic: [SOLVED] Static route not applied after update to 22.1.5 (Read 1787 times)
clarknova
Full Member
Posts: 101
Karma: 6
[SOLVED] Static route not applied after update to 22.1.5
«
on:
April 12, 2022, 09:43:55 pm »
OPNsense 22.1.5-amd64
This firewall was running 22.1.2_1 until today and statics routes were applied as expected. After upgrading to 22.1.5, one of my many static routes is not active and I haven't been able to determine why not.
In the attached 'configured.png' you can see that 10.31/16 should be routed via 10.16.3.2. But in 'status.png' you see that this network is routed via 172.16.43.9 as a result of a demoted OSPF peer.
I restarted FRR and reapplied the static route configuration, but the problem persists. I checked in System > Routes > Log File but there is nothing in there to indicate a problem. Any idea why this route does not apply while other static routes do?
«
Last Edit: April 13, 2022, 05:19:40 pm by clarknova
»
Logged
clarknova
Full Member
Posts: 101
Karma: 6
Re: Static route not applied after update to 22.1.5
«
Reply #1 on:
April 12, 2022, 10:18:15 pm »
I rebooted the firewall and I was able to reach it for a short time via this static route, but within a minute or two the static route was removed, or perhaps overwritten by the OSPF route.
Logged
5SpeedFun
Full Member
Posts: 119
Karma: 7
Re: Static route not applied after update to 22.1.5
«
Reply #2 on:
April 13, 2022, 12:15:46 am »
Generally I think in most devices that do routing, static should be preferred over ospf. Did you give ospf a higher "administrative distance" somehow? Can you share more of your frr config? Any idea what the old version of frr was before you upgraded? I assume it got upgraded with the system upgrade.
Logged
clarknova
Full Member
Posts: 101
Karma: 6
Re: Static route not applied after update to 22.1.5
«
Reply #3 on:
April 13, 2022, 12:32:51 am »
This is the backup router in a pair, "routerb". The primary "routera" is still running OPNsense 22.1.2_1. Both report FRR version 7.5.1. I've attached both FRR running configs as reported in Routing > Diagnostics > General > Running Configuration.
You'll notice that both config are identical except:
hostname
cost is manually set to 100 on Wireguard interfaces on routera
cost is set to 65535 on all interfaces on routerb due to "CARP Demote" setting (which is set but not visible in the attachements).
Logged
clarknova
Full Member
Posts: 101
Karma: 6
[SOLVED] Static route not applied after update to 22.1.5
«
Reply #4 on:
April 13, 2022, 05:19:17 pm »
After another reboot today this is working as expected. I was able to then update to 22.1.6 and all is well. :shrug:
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
22.1 Legacy Series
»
[SOLVED] Static route not applied after update to 22.1.5