Project

General

Profile

Regression #11729

Automatic default gateway mode does not select expected entries

Added by Marcos Mendoza about 2 months ago. Updated about 1 month ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Gateway Monitoring
Target version:
Start date:
03/25/2021
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Default
Affected Version:
2.5.0
Affected Architecture:

Description

  1. New 21.02p1/2.5 install
  2. Have a monitored WAN gateway
  3. Have Default gateway set to Automatic
  4. Create a new unmonitored gateway on LAN

The default gateway is switched from the monitored WAN_DHCP gateway to the unmonitored LAN gateway. Having unmonitored gateways get highest priority breaks any setup where you would want automatic gateway switching, and effectively makes it the same as having that unmonitored gateway selected on "Default gateway IPv4".

The behavior should be changed to make unmonitored gateways have lowest priority, hence allowing automatic failover to work in these situations.

unmonitored_gateway.png (43.8 KB) unmonitored_gateway.png Marcos Mendoza, 03/25/2021 10:08 AM
GWlan.png (39.1 KB) GWlan.png Alhusein Zawi, 04/01/2021 10:19 PM

Associated revisions

Revision f511939a (diff)
Added by Viktor Gurov about 2 months ago

Automatic default gateway set fix. Issue #11729

Revision 8b7f7e66 (diff)
Added by Viktor Gurov about 2 months ago

Automatic default gateway set fix. Issue #11729

(cherry picked from commit f511939a42fbf9002d58f53f4d61e71dca20a4a6)

History

#2 Updated by Jim Pingle about 2 months ago

  • Tracker changed from Bug to Regression
  • Subject changed from Automatic gateway is always set to unmonitored gateway to Automatic default gateway mode does not select expected entries
  • Status changed from New to Pull Request Review
  • Target version set to 2.5.1

#3 Updated by Renato Botelho about 2 months ago

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

Merged and cherry-picked to 2.5.1

#4 Updated by Alhusein Zawi about 1 month ago

fixed

creating a LAN GW is not switching default GW.

2.5.1-RC (amd64)
built on Thu Apr 01 11:53:55 EDT 2021
FreeBSD 12.2-STABLE

#5 Updated by Alhusein Zawi about 1 month ago

  • Status changed from Feedback to Resolved

Also available in: Atom PDF