Project

General

Profile

Bug #10264

Gateways created at the console do not apply the naming convention used in the GUI

Added by Steve Wheeler 5 months ago. Updated about 2 months ago.

Status:
Resolved
Priority:
Normal
Category:
Console Menu
Target version:
Start date:
02/16/2020
Due date:
% Done:

100%

Estimated time:
Affected Version:
2.4.x
Affected Architecture:
All

Description

When you create a gateway in the webgui by setting an interface as static and adding a new gateway it will, by default, create a gateway named 'WANGW' for example.

However if you do the same thing from the console menu the gateway created is named 'GW_WAN'.

That is not normally an issue if, for example, you are changing the WAN interface from DHCP to Static IP. If you are changing an existing static IP however you then create a second gateway.
If WANGW was set as default then the result is no default route as WANGW is now invalid.

Gateways created in the webgui and the console should use the same naming convention to avoid that.

Associated revisions

Revision b504ede5 (diff)
Added by Viktor Gurov 5 months ago

Same gateway naming convention for the console and the WebGUI. Issue #10264

Revision 46505ce4 (diff)
Added by Viktor Gurov 2 months ago

Same gateway naming convention for the console and the WebGUI. Issue #10264

(cherry picked from commit b504ede55d68d82e84a5c48ff75ddc805b6ce391)

History

#1 Updated by Chris Linstruth 5 months ago

  • Subject changed from Gatways created at the console do not apply the naming convention used in the GUI to Gateways created at the console do not apply the naming convention used in the GUI

#2 Updated by Viktor Gurov 5 months ago

Fix (+ the same for IPv6 gateways):
https://github.com/pfsense/pfsense/pull/4196

#3 Updated by Renato Botelho 5 months ago

  • Status changed from New to Feedback
  • Assignee set to Renato Botelho
  • % Done changed from 0 to 100

PR has been merged, thanks!

#4 Updated by Viktor Gurov 3 months ago

  • Status changed from Feedback to Resolved

works as expected on 2.5.0.a.20200409.0657

#5 Updated by Jim Pingle 2 months ago

  • Status changed from Resolved to Feedback
  • Target version changed from 2.5.0 to 2.4.5-p1

#6 Updated by Jim Pingle about 2 months ago

  • Status changed from Feedback to Resolved

Gateway created from the console is now <interface name>GW which matches the default GUI name style.

Also available in: Atom PDF