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

    Invalid gateway on install

    Scheduled Pinned Locked Moved General pfSense Questions
    5 Posts 3 Posters 465 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.
    • R
      rwfitzy
      last edited by

      Trying to do a fresh install of 2.7.2 and getting invalid WAN gateway using the following all fictional STATIC IP except last octet with Google DNS 8.8.8.8 and VLAN tagging disabled.

      IP: 123.123.123.102/29
      Gateway: 123.123.123.97

      If I exit to a prompt, netstat -rn shows the IP assigned to the interface with no default gateway, cannot ping internet addresses. I just type the following and it works and I can resolve/ping internet addresses with no problem:

      route add default 123.123.123.97

      I exit back to restart the install to get same result. The error is:

      Cannot set WAN interface Default Gateway: 123.123.123.97

      What's invalid or a workaround?

      chpalmerC 1 Reply Last reply Reply Quote 0
      • chpalmerC
        chpalmer @rwfitzy
        last edited by chpalmer

        @rwfitzy

        Deleting this as new information has come to light.. Thanks Steve!

        Triggering snowflakes one by one..
        Intel(R) Core(TM) i5-4590T CPU @ 2.00GHz on an M400 WG box.

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

          That's a known bug in the Net Installer. It's fixed in the coming version.

          You can probably just enter that as /24 for the install.

          R 1 Reply Last reply Reply Quote 1
          • R
            rwfitzy @stephenw10
            last edited by

            @stephenw10 Unfortunately /24 with .1 gateway did not work. This is a network subnet assigned by the data center, assuming that has something to do with it. It happened once before to me but in my lab where i had private network to complete install. I'll have to visit and do the install on a private subnet again or wait. Any idea of fix release date? Thanks for the info.

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

              You don't have to set .1 as the gateway. It still has to be the real gateway IP. The subnet simply has to contain both the host and gateway IPs.

              The next Installer version should be very soon.

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