OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 20.7 Legacy Series »
  • Changing Gateway name
« previous next »
  • Print
Pages: [1]

Author Topic: Changing Gateway name  (Read 4063 times)

afan

  • Newbie
  • *
  • Posts: 26
  • Karma: 2
    • View Profile
Changing Gateway name
« on: January 25, 2021, 06:29:49 pm »
Hi there,

One of my WAN connections had its connection type changed from DHCP to PPPoE.
However on the Gateways listing, I still get "ISP1_DHCP" and cannot get rid of the DHCP naming: when editing the GW, I get:

Quote
The following input errors were detected:
Changing name on a gateway is not allowed.

Just to avoid any misunderstandings when I take a look at this page in a year or so from now... is there any way to change the GW name manually?

Thanks.
Logged

afan

  • Newbie
  • *
  • Posts: 26
  • Karma: 2
    • View Profile
Re: Changing Gateway name
« Reply #1 on: January 26, 2021, 08:46:45 am »
Same for a Gateway group, by the way:

Quote
The following input errors were detected:
Changing name on a gateway group is not allowed.
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17751
  • Karma: 1620
    • View Profile
Re: Changing Gateway name
« Reply #2 on: January 26, 2021, 08:51:35 am »
The gateway name is tied to different subsystems and we're unsure how much breaks if a gateway is simply renamed. Looking into it from a core perspective is probably not very efficient.

If you want to change the name you could always create a new one and copy the old settings.

For most people gateways are static for dymanic interfaces (as weird as it sounds) since gateways are automatically created e.g. for DHCP and then a rigid naming schema is used to avoid complexity in other parts of the system.


Cheers,
Franco
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 20.7 Legacy Series »
  • Changing Gateway name
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2