Bug #10264
closedGateways created at the console do not apply the naming convention used in the GUI
100%
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.
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
Updated by Viktor Gurov almost 5 years ago
Fix (+ the same for IPv6 gateways):
https://github.com/pfsense/pfsense/pull/4196
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!
Updated by Viktor Gurov over 4 years ago
- Status changed from Feedback to Resolved
works as expected on 2.5.0.a.20200409.0657
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
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.