Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Change Gateway Name

    Scheduled Pinned Locked Moved webGUI
    3 Posts 2 Posters 1.9k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • K
      kelsen
      last edited by

      Hi, I would like to change a gateway name but the GUI won't let me do it.
      Looks like the name is linked when you assign the gateway to an interface, but I think it should let me change it if I unassign it first and then make the changes.

      Sorry my poor english

      1 Reply Last reply Reply Quote 0
      • P
        phil.davis
        last edited by

        It won't let you change the name - that is referenced in the config by quite a few things and there is currently no code to update all the references cleanly. I suspect you will have to:

        1. Have a good backup
        2. Set the WANn interface gateway to none (this will break your internet access on the WAN concerned)
        3. Delete the gateway
        4. Add a new gateway with the name you want, pointing to the same IP address of the old gateway
        5. Select the new gateway on the WANn interface

        I can't think of another really clean way to do it, because you can't create the new gateway while the old one exists - the system will likely complain that the gateway IP is already in use on the old gateway.

        As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
        If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

        1 Reply Last reply Reply Quote 0
        • K
          kelsen
          last edited by

          Thank you for your reply @phil.davis, actually this was a suggestion more than an issue (I should have mentioned that before ^^).
          I know it's linked with the xml configuration file, but it has to be possible setting the WAN gateway to none.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.