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

    The gateway address 192.168.1.254 does not lie within one of the chosen interface's subnets.

    Scheduled Pinned Locked Moved General pfSense Questions
    4 Posts 2 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.
    • X
      xavier8854
      last edited by xavier8854

      Hi,
      I'm new to pfSense, but this error makes no sense to me

      • The IP of the WAN interface is static, 192.1068.1.253/24
      • I use the box as a router, its internal IP is 192.168.1.254/24
        When I try to add the box as a gateway to the WAN interface, I get the above message.
        I'm (very, use it for over 20 years) familiar with FreeBSD, also familiar with networking, but I don't understand this message, which is for me inadequate
        Thanks for help,
        Regards,
        Xavier
        PS the routing table has indeed no default route :
      [21.02.2-RELEASE][admin@gondor.groumpf.org]/root: netstat -rn
      Routing tables
      
      Internet:
      Destination        Gateway            Flags     Netif Expire
      127.0.0.1          link#6             UH          lo0
      192.168.1.253      link#12            UHS         lo0
      192.168.1.253/32   link#12            U      mvneta0.
      192.168.100.0/24   link#10            U      mvneta0.
      192.168.100.253    link#10            UHS         lo0
      
      JKnottJ 1 Reply Last reply Reply Quote 0
      • JKnottJ
        JKnott @xavier8854
        last edited by

        @xavier8854 said in The gateway address 192.168.1.254 does not lie within one of the chosen interface's subnets.:

        192.1068.1.253/24

        Typo perhaps?

        PfSense running on Qotom mini PC
        i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
        UniFi AC-Lite access point

        I haven't lost my mind. It's around here...somewhere...

        X 1 Reply Last reply Reply Quote 0
        • X
          xavier8854 @JKnott
          last edited by

          @jknott Obviously 😄 Post edited. Thanks for pointing
          Xavier

          1 Reply Last reply Reply Quote 0
          • X
            xavier8854
            last edited by

            Stupid me !
            I didn't notice that the CIDR popup near the WABN address was by default /32. Setting it to /24 fixed the problem
            Sorry
            Xavier

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