Project

General

Profile

Actions

Bug #14634

open

The default gateway icon is not updated when the default gateway is changed to none

Added by Fabiano B. Franco 9 months ago. Updated 5 months ago.

Status:
Confirmed
Priority:
Normal
Assignee:
-
Category:
Gateways
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Default
Affected Version:
2.6.0
Affected Architecture:
All

Description

Link to the discussion in question: https://forum.netgate.com/topic/180684/bug-in-default-gateway-selection

As described above:

Under the System menu, Routing, Gateways tab, Default gateway section.
In the fields:
Default gateway IPv4, and
Default gateway IPv6
set both = None. Save.
The message says:
"The gateway configuration has been changed.
The changes must be applied for them to take effect."
Click the Apply Changes button.
The globe icon still shows that the default gateway is WANGW. The same is shown in the dashboard.

The system continues working fine until a reboot, or until powering on the second server configured as backup (CARP/pfsync). After that, only LAN continues working, no internet access anymore (because WAN has no gateway).
It seems like an obvious question, but the fact of not stopping the internet access imediatly, it took me a lot of time to find out where the problem was. Two points here:
1 - it could have a better message after changing the default gateway field;
2 - it could apply the change immediatly, or print a message alerting the user about what will happen.

Thank you!


Files

clipboard-202311042010-0bvvg.png (17.5 KB) clipboard-202311042010-0bvvg.png Jordan G, 11/05/2023 01:10 AM
Screenshot(120).png (57.5 KB) Screenshot(120).png Christopher Cope, 12/09/2023 06:59 PM
Actions #1

Updated by Steve Wheeler 9 months ago

This looks likely to be the same cause as this: https://redmine.pfsense.org/issues/14171#note-3

The command used fails to delete the default route.

Actions #2

Updated by Jim Pingle 9 months ago

Actions #3

Updated by Marcos M 8 months ago

  • Related to Bug #14717: A default route can remain after setting the default gateway to None added
Actions #4

Updated by Marcos M 8 months ago

  • Status changed from New to Feedback

I tried replicating this on 2.8 dev. The default routes themselves are removed (see Diagnostics > Routes), however the globe icon does remain even when the default gateway is set to None. Please verify if this is the case in your situation.

Actions #5

Updated by Marcos M 8 months ago

  • Subject changed from Changing the Default gateway selection does not apply the change immediately to The default gateway icon is not updated when the default gateway is changed to none
Actions #6

Updated by Marcos M 8 months ago

  • Related to deleted (Bug #14717: A default route can remain after setting the default gateway to None)
Actions #7

Updated by Marcos M 8 months ago

Actions #8

Updated by yon Liu 8 months ago

however the globe icon does remain even when the default gateway is set to None

yes, it is this. and default route still keep in route list.

Actions #9

Updated by Alhusein Zawi 7 months ago

related to #12536

Actions #10

Updated by Jordan G 6 months ago

the globe icon is removed when changing default gateway to none, following applying the change, on 23.09.r.20231027.0151

behavior is as expected in the initial description

Actions #11

Updated by Christopher Cope 6 months ago

  • Status changed from Feedback to Confirmed

Tested on

23.09-RELEASE (amd64)
built on Tue Oct 31 19:56:00 UTC 2023
FreeBSD 14.0-CURREN

I'm still seeing the globe icon even when setting the default gateway to none, but the default route is removed from the routing table.

Actions #12

Updated by Jordan G 6 months ago

it goes away after applying for me...

Actions #13

Updated by Christopher Cope 5 months ago

The icon stays for me, when the default route is set to none. The changes were already applied and even after a reboot the icon was still there. I also tested on the latest development version with the same result:

24.03-DEVELOPMENT (amd64)
built on Thu Nov 30 13:34:00 UTC 2023
FreeBSD 15.0-CURRENT
Actions

Also available in: Atom PDF