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

Can't delete gateway because it's in use...but it doesn't exist!

Scheduled Pinned Locked Moved General pfSense Questions
6 Posts 3 Posters 2.6k 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.
  • D
    DJenner8
    last edited by Oct 5, 2018, 5:41 AM

    I had an interface defined for which I defined a gateway and that gateway was used in a couple of gateway groups. That interface was deleted because it didn't exist any more.

    I can't delete the gateway for the deleted interface because "it is in use in a gateway group." However, it does not appear in the definition of the gateway group.

    How do I get rid of this rogue, ghost gateway?

    Thanks, Dave

    1 Reply Last reply Reply Quote 0
    • J
      jimp Rebel Alliance Developer Netgate
      last edited by Oct 5, 2018, 2:29 PM

      Download a backup of config.xml from Diagnostics > Backup & Restore and check for reference(s) to the gateway name it's complaining about. There must be something in there that it's flagging.

      Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

      Need help fast? Netgate Global Support!

      Do not Chat/PM for help!

      1 Reply Last reply Reply Quote 0
      • D
        DJenner8
        last edited by Oct 24, 2018, 4:03 AM

        OK, I found 11 references to the undefined interface in the config.xml file. Some of the references are for the gateway I can't delete.

        Can I just remove all references to the interface in the config.xml file and reload the config.xml file? I can probably figure out how to do that, but I might make a mistake. Can I screw up the pfSense router to the point that I can't recover and reload the original file?

        Thanks,
        Dave

        1 Reply Last reply Reply Quote 0
        • D
          DJenner8
          last edited by Oct 24, 2018, 5:12 AM

          I tried to post config.xml changes I would make, but the Website says the posting was SPAM and rejected it!

          1 Reply Last reply Reply Quote 0
          • T
            tim.mcmanus
            last edited by Nov 3, 2018, 10:19 PM

            Recreate the Interface and add the gateway. Then go through the process of removing the gateway. I ran into the same issue, but I had disabled the interface instead of deleting it. Just go back and add it, and then go through the process of deleting the gateway.

            1 Reply Last reply Reply Quote 0
            • D
              DJenner8
              last edited by Nov 8, 2018, 7:17 PM

              Thanks! That worked.

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                [[user:consent.lead]]
                [[user:consent.not_received]]