Project

General

Profile

Actions

Bug #10264

closed

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

Added by Steve Wheeler almost 5 years ago. Updated over 4 years ago.

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

100%

Estimated time:
Plus Target Version:
Release Notes:
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.

Actions #1

Updated by Chris Linstruth almost 5 years 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
Actions #2

Updated by Viktor Gurov almost 5 years ago

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

Actions #3

Updated by Renato Botelho almost 5 years ago

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

PR has been merged, thanks!

Actions #4

Updated by Viktor Gurov over 4 years ago

  • Status changed from Feedback to Resolved

works as expected on 2.5.0.a.20200409.0657

Actions #5

Updated by Jim Pingle over 4 years ago

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

Updated by Jim Pingle over 4 years ago

  • Status changed from Feedback to Resolved

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

Actions

Also available in: Atom PDF