Project

General

Profile

Actions

Bug #11296

open

Static route targets may still reachable via default route when the gateway they should route through is down

Added by Viktor Gurov 9 months ago. Updated about 2 months ago.

Status:
New
Priority:
Normal
Assignee:
Category:
Routing
Target version:
Start date:
01/23/2021
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
22.01
Release Notes:
Default
Affected Version:
2.4.5-p1
Affected Architecture:

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

same issue on 2.5.0.a.20210121.2350
see also #9969 #10001


Related issues

Related to Regression #11986: Static routes may not be in routing table when expectedResolved06/02/2021

Actions
Actions #2

Updated by Jim Pingle 9 months ago

  • Status changed from New to Pull Request Review
  • Target version set to CE-Next
Actions #3

Updated by Renato Botelho 8 months ago

  • Status changed from Pull Request Review to Feedback
  • Assignee set to Viktor Gurov

PR has been merged. Thanks!

Actions #4

Updated by Viktor Gurov 8 months ago

  • % Done changed from 0 to 100
Actions #5

Updated by Alhusein Zawi 8 months 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

Actions #6

Updated by Jim Pingle 7 months ago

  • Target version changed from CE-Next to 2.6.0
Actions #7

Updated by Jim Pingle 5 months ago

  • Plus Target Version set to 21.05

Already present on 21.05 builds.

Actions #8

Updated by Jim Pingle 5 months 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.

Actions #9

Updated by Jim Pingle 5 months ago

  • Target version changed from 2.6.0 to 2.5.2
Actions #10

Updated by Jim Pingle 4 months 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.

Actions #11

Updated by Jim Pingle 4 months ago

  • Status changed from New to Feedback
Actions #12

Updated by Jim Pingle 4 months ago

  • Status changed from Feedback to New
Actions #13

Updated by Jim Pingle 3 months ago

  • Related to Regression #11986: Static routes may not be in routing table when expected added
Actions #14

Updated by Jim Pingle about 2 months 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.

Actions

Also available in: Atom PDF