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

    Unable to delete an (unused) IPv6 gateway. Is this a bug?

    Scheduled Pinned Locked Moved General pfSense Questions
    10 Posts 2 Posters 855 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.
    • C
      ChrisJenk
      last edited by ChrisJenk

      Cross posting in this topic for better visibility.

      Netgate 6100 on 23.09.1.

      Please see https://forum.netgate.com/topic/185567/unable-to-delete-an-unused-ipv6-gateway-is-this-a-bug for details.

      I think it may be a bug?

      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        Is the new WAN using DHCPv6?

        C 1 Reply Last reply Reply Quote 0
        • C
          ChrisJenk @stephenw10
          last edited by ChrisJenk

          @stephenw10 Yup, that is what is in the configuration. It's not live (or even connected) yet so I can change that if it will allow me to delete the gateway...

          UPDATE: If I change the interface to 'Static IPv6 address' then I can delete the errant IPv6 gateway, but if I then change the interface back DHCP6 (or SLAAC) then it autocrats a gateway with an unhelpful name which I cannot then delete.

          My solution, which I think is okay, is to:

          • Change the interface to Static IPv6.

          • Delete the badly named IPv6 gateway.

          • Explicitly create a 'dynamic' IPv6 gateway on the WAN interface giving the gateway a sensible name.

          • Change the interface back to DHCP6 - it seems happy to use the pre-created gateway and doesn't autocreate another one.

          Hopefully this will be okay... This GUI behaviour seems kind of weird to me, though if it allowed gateways to be renamed then there would be no issue.

          1 Reply Last reply Reply Quote 0
          • stephenw10S
            stephenw10 Netgate Administrator
            last edited by

            A dhcp connection will create a dynamic gateway even if you have not added one manually. It will be available to edit so you can set any custom values on it.

            C 1 Reply Last reply Reply Quote 0
            • C
              ChrisJenk @stephenw10
              last edited by

              @stephenw10 Yes, the auto created gateway is available to edit, but you are not allowed to change it's name. The GUI allows you to change the name but when you try to save it it gives an error saying that gateways cannot be renamed. Is there some reason why gateways cannot be renamed? It's an annoying restriction; you can rename almost every other object in pfSense.

              1 Reply Last reply Reply Quote 0
              • stephenw10S
                stephenw10 Netgate Administrator
                last edited by

                I'm not sure exactly what the limitation is there but it's always existed. It looks like the required abstraction code does not exist. Yet.
                https://redmine.pfsense.org/issues/13294

                1 Reply Last reply Reply Quote 0
                • stephenw10S
                  stephenw10 Netgate Administrator
                  last edited by

                  OK I'm wrong it looks like it was restricted in 2.0 ๐Ÿ˜‰ : https://redmine.pfsense.org/issues/883

                  C 1 Reply Last reply Reply Quote 0
                  • C
                    ChrisJenk @stephenw10
                    last edited by

                    @stephenw10 So they fixed a bug by adding a restriction (instead of actually fixing it). Nice... Any way to enter a feature request for this (not that I would expect it to arrive any time soon)?

                    1 Reply Last reply Reply Quote 0
                    • stephenw10S
                      stephenw10 Netgate Administrator
                      last edited by

                      You can add comments to the feature request I linked: https://redmine.pfsense.org/issues/13294

                      C 1 Reply Last reply Reply Quote 0
                      • C
                        ChrisJenk @stephenw10
                        last edited by

                        @stephenw10 Done ๐Ÿ˜Š

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