Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
23.7 Legacy Series
»
Error(?) by adding/disabling of static routes from WebUI
« previous
next »
Print
Pages: [
1
]
Author
Topic: Error(?) by adding/disabling of static routes from WebUI (Read 1216 times)
it_hardway
Newbie
Posts: 11
Karma: 1
Error(?) by adding/disabling of static routes from WebUI
«
on:
January 15, 2024, 07:59:20 pm »
I've faces a strange system behaviour after disabling of an existing static default route and adding a similar one for testing. The new route was not added after system reboot. But when I've deleted the disable route, the new one started to work (even after rebooting).
How to reproduce:
1. In System -> Routes -> Configuration:
1.1. Add a default route like "0.0.0.0/0 -> GW1" with the comment "New route", do not disable it
1.2. Copy the created route with a comment "Test disabled"
1.3. Disable the copied route
1.4. Save changes and restart the system
2. In System -> Routes -> Status: check, that there is no default route
3. Delete the copied disabled route and restart the system
4. In System -> Routes -> Status: check, that the default route "New route" is available
I've spent quite a lot of time, before figured out, that a disabled item has such side-effects
System information:
Type: opnsense
Version: 23.7.11
Architecture: amd64
Commit: 0f520fffd
Logged
tblum
Newbie
Posts: 17
Karma: 0
Re: Error(?) by adding/disabling of static routes from WebUI
«
Reply #1 on:
August 22, 2024, 02:09:46 pm »
I can confirm this behavior on 24.4.2 with non-default route. I had two routes to the same target over different gateways, one active (at least that's what I intended), one deactivated. The active route never showed up until I deleted the deactivated one. To be honest, I consider this as a bug, why do we have the option to deactivate a static route if not in this use case?
Logged
Patrick M. Hausen
Hero Member
Posts: 6803
Karma: 572
Re: Error(?) by adding/disabling of static routes from WebUI
«
Reply #2 on:
August 25, 2024, 09:25:56 pm »
Please file a bug ticket, then.
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
23.7 Legacy Series
»
Error(?) by adding/disabling of static routes from WebUI