Bug #11296
openStatic route targets may still reachable via default route when the gateway they should route through is down
0%
Description
https://forum.netgate.com/topic/160103/static-routes-not-as-expected:
When WAN gateway is down, I can still access/ping stuff that is set "static route" thru the primary WAN.
`/etc/rc.gateway_alarm` must delete static routes entries for that gateway
Related issues
Updated by Viktor Gurov almost 4 years ago
Updated by Jim Pingle almost 4 years ago
- Status changed from New to Pull Request Review
- Target version set to CE-Next
Updated by Renato Botelho almost 4 years ago
- Status changed from Pull Request Review to Feedback
- Assignee set to Viktor Gurov
PR has been merged. Thanks!
Updated by Viktor Gurov almost 4 years ago
- % Done changed from 0 to 100
Applied in changeset 3fca57f8fae3733845c90338943c418bb77e68b7.
Updated by Alhusein Zawi almost 4 years ago
- Status changed from Feedback to Resolved
Fixed.
If WAN GW is down I cannot ping even if there was static route.
2.5.0-RELEASE (amd64)
built on Tue Feb 16 08:56:29 EST 2021
FreeBSD 12.2-STABLE
Updated by Jim Pingle over 3 years ago
- Target version changed from CE-Next to 2.6.0
Updated by Jim Pingle over 3 years ago
- Plus Target Version set to 21.05
Already present on 21.05 builds.
Updated by Jim Pingle over 3 years ago
- Subject changed from When WAN gateway is down, I can still access/ping stuff that is set "static route" thru the primary WAN to Static route targets may still reachable via default route when the gateway they should route through is down
Updating subject for release notes.
Updated by Jim Pingle over 3 years ago
- Target version changed from 2.6.0 to 2.5.2
Updated by Jim Pingle over 3 years ago
- Status changed from Resolved to New
- Target version changed from 2.5.2 to 2.6.0
- Plus Target Version changed from 21.05 to 21.09
Per Jim T, reverted this from 2.6.0 and 2.5.2. It appears to be causing some unintended side effects.
Can revisit a different approach, or perhaps making it optional and off by default, for the next release.
Updated by Jim Pingle over 3 years ago
- Status changed from New to Feedback
Applied in changeset 25b839d4990bd5e3f55b2eccbdea74d1d2b92d5d.
Updated by Jim Pingle over 3 years ago
- Related to Regression #11986: Static routes may not be in routing table when expected added
Updated by Jim Pingle about 3 years ago
- Plus Target Version changed from 21.09 to 22.01
Moving ahead, too close to release to make another attempt at this and have enough time to validate the change in behavior.
Updated by Jim Pingle about 3 years ago
- Plus Target Version changed from 22.01 to 22.05
Updated by Jim Pingle about 3 years ago
- Target version changed from 2.6.0 to CE-Next
Updated by Alhusein Zawi about 3 years ago
Static route is still reachable while WAN gateway is Marked Gateway as Down.
22.01.a.20211120.0600
Updated by Jocelyn Viau almost 3 years ago
Thank you for reporting this issue, I have a very similar problem. In my case, I added a static route that goes through a routed IPSec tunnel (VTI). When the tunnel goes down, the traffic for that static route still tries to go through the tunnel and get lost. When the tunnel is down or the IPSec VTI gateway is unreacheable, I would like the static route that uses the VTI Gateway to be removed from the routing table and have the traffic be routed using the remaining routing table.
Updated by Jim Pingle over 2 years ago
- Plus Target Version changed from 22.05 to 22.09
Updated by Jim Pingle over 2 years ago
- Plus Target Version changed from 22.09 to 22.11
Updated by Jim Pingle about 2 years ago
- Plus Target Version changed from 22.11 to 23.01
Updated by Jim Pingle about 2 years ago
- Start date deleted (
01/23/2021) - % Done changed from 100 to 0
- Plus Target Version changed from 23.01 to Plus-Next
While this can be confusing, any solution tried thus far has broken more than it has fixed. If someone wants to pick it up and try we can look at proposed solutions, but for now there isn't a compelling reason to keep it on a specific target.