Disable Static Route

Started by infinisourcekc, July 16, 2022, 08:32:34 PM

Previous topic - Next topic
Hello,

I have an interesting issue with static routes.  I have a static route of 10.96.69.0/24 that resides on another device.  The next hop gateway is 10.206.100.100/32.  All's fine so far, except if I try to disable that route in the web ui, the route is not ever pulled from the routing table.  The only way to remove the route is to delete the entry.  I've tried disabling the route and disabling the gateway to the next hop.  My firewall is currently running the latest 22.1.10.  Is this expected behavior?

Thanks,

Paul

So I tested this configuration a little bit further this morning.  Disabling a route in the GUI on OPNsense Version 19.7 produces the desired result.  The route disappears when it's disabled in the GUI and subsequently appears when the route is re-enabled.  Does anyone have any idea what's causing the latest version to not disable routes?


I definitely can do so; however, found this link that describes my issue:

https://github.com/opnsense/core/issues/5592

Should I open another bug or reference this one?  In my testing I noticed even disabling the gateway to withdraw the route and traffic still passes through the gateway regardless of it's state.  The only way to force traffic through another gateway is to delete the route or delete the gateway through which the route would traverse.

Oh boy.  Seems like there are more issues that accurately describe my problem.

https://github.com/opnsense/core/issues/5520