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

    How to delete a non existing gateway??

    Scheduled Pinned Locked Moved Routing and Multi WAN
    14 Posts 3 Posters 1.5k 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.
    • Cool_CoronaC
      Cool_Corona
      last edited by

      This is the routing

      09a2a3e9-2fac-41be-9b27-406db244711f-billede.png

      This is the monitoring tab....

      b309e0e8-8d62-4159-a274-663235d6bc01-billede.png

      Where does WANGW come from??

      V awebsterA 3 Replies Last reply Reply Quote 0
      • V
        viragomann @Cool_Corona
        last edited by

        @cool_corona
        A assume, it might be stated in the WAN interface settings.

        1 Reply Last reply Reply Quote 0
        • awebsterA
          awebster @Cool_Corona
          last edited by

          @cool_corona WANGW is generated automatically when you are using a DHCP configuration on the WAN interface. It contains the default gateway presented by the DHCP lease offer.

          –A.

          V 1 Reply Last reply Reply Quote 0
          • V
            viragomann @awebster
            last edited by

            @awebster said in How to delete a non existing gateway??:

            @cool_corona WANGW is generated automatically when you are using a DHCP configuration on the WAN interface. It contains the default gateway presented by the DHCP lease offer.

            Such a gateway usually gets a "DHCP" suffix to its name.

            awebsterA 1 Reply Last reply Reply Quote 0
            • awebsterA
              awebster @viragomann
              last edited by

              @viragomann Just checked a couple of my systems, there is no DHCP suffix, just WANGW, maybe newer versions of pfSense do this?

              –A.

              V 1 Reply Last reply Reply Quote 0
              • V
                viragomann @awebster
                last edited by

                @awebster said in How to delete a non existing gateway??:

                Just checked a couple of my systems, there is no DHCP suffix, just WANGW,

                I see. Thought I've seen that multiple times, but maybe this was only on certain versions.

                1 Reply Last reply Reply Quote 0
                • V
                  viragomann @Cool_Corona
                  last edited by

                  @cool_corona
                  So I have to add that this gateway is set as default. You might to set another one as default first.

                  1 Reply Last reply Reply Quote 0
                  • Cool_CoronaC
                    Cool_Corona
                    last edited by

                    There is nothing else in the WAN interface settings and the WAN ip is fixed and not assigned as DHCP.

                    So where do I delete it manually as monitoring can be confused and not logging properly.

                    V 1 Reply Last reply Reply Quote 0
                    • V
                      viragomann @Cool_Corona
                      last edited by

                      @cool_corona said in How to delete a non existing gateway??:

                      So where do I delete it manually as monitoring can be confused and not logging properly.

                      So simply disable monitoring in the gateway settings.

                      This one is set as your default gateway. Do you have another gateway to use? Already mentioned, set another gateway as default. Then you should be able to delete it.
                      If you don't need any default gateway in your setup, select "none" from the drop-town at default gateway and hit save, then delete the gateway.

                      Cool_CoronaC 1 Reply Last reply Reply Quote 0
                      • Cool_CoronaC
                        Cool_Corona @viragomann
                        last edited by

                        @viragomann

                        But there is no other GW to delete besides the one I use which is TDC GW.

                        V 1 Reply Last reply Reply Quote 0
                        • V
                          viragomann @Cool_Corona
                          last edited by

                          @cool_corona said in How to delete a non existing gateway??:

                          But there is no other GW to delete besides the one I use which is TDC GW.

                          So which one do you want to delete? This or the WANGW shown in the monitoring?

                          Cool_CoronaC 1 Reply Last reply Reply Quote 0
                          • Cool_CoronaC
                            Cool_Corona @viragomann
                            last edited by

                            @viragomann WANGW

                            V 1 Reply Last reply Reply Quote 0
                            • V
                              viragomann @Cool_Corona
                              last edited by

                              @cool_corona
                              There might still remain an rrd file for this, a leftover from an gateway you've already deleted.
                              You can delete the rrd file to rid of it from the monitoring page.

                              Go to Diagnostics > Command Prompt and type in the command

                              ls -l /var/db/rrd/WAN*
                              

                              to list all files beginning with WAN.

                              The file might be called something like WANGW-quality.rrd. Then you can delete it by executing

                              rm /var/db/rrd/WANGW-quality.rrd
                              
                              Cool_CoronaC 1 Reply Last reply Reply Quote 1
                              • Cool_CoronaC
                                Cool_Corona @viragomann
                                last edited by

                                @viragomann Did it via winSCP instead.

                                Thank you

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