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

    WAN IP on /31 (255.255.255.254) subnet is not an option in pfsense

    Scheduled Pinned Locked Moved General pfSense Questions
    6 Posts 4 Posters 4.3k 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.
    • J
      jdejong
      last edited by

      Moving our rack to a Data Center and they use /31 subnets for routing and i also have a /27 block for my load balancers/servers. I was working on pre-configuring our fw with all of our new addresses but I saw that the mask skips from /30 to /32. Is there anyways to setup a /31 wan ip?

      Thanks in advance

      Jonathan

      1 Reply Last reply Reply Quote 0
      • marcellocM
        marcelloc
        last edited by

        If you will not need to communicate to hosts neer/close to your /31 setup, workaround configuring it with /30

        Treinamentos de Elite: http://sys-squad.com

        Help a community developer! ;D

        1 Reply Last reply Reply Quote 0
        • J
          jdejong
          last edited by

          Well here is what they gave me….

          .2 GW
          .3/31 Switch IP facing ISP
          .64/27 routes to .3

          So my guess is /30 would break accessing of the GW.

          If I manually edit the pfsense config files will that work?

          1 Reply Last reply Reply Quote 0
          • marcellocM
            marcelloc
            last edited by

            Will not break as 2 and 3 are on same /30 subnet.

            If you edit file it may work too.

            Treinamentos de Elite: http://sys-squad.com

            Help a community developer! ;D

            1 Reply Last reply Reply Quote 0
            • M
              Metu69salemi
              last edited by

              /31 has only network name and broadcast addresses
              /30 has these too, but in addition it has also 2 client ip's

              1 Reply Last reply Reply Quote 0
              • jimpJ
                jimp Rebel Alliance Developer Netgate
                last edited by

                /31 prefixes are not supported by FreeBSD in 8.x, so pfSense can't support them either.

                Support was just added to 9.x two months ago, so perhaps once pfSense 2.1 moves to FreeBSD 9.x it can be added.

                http://svnweb.freebsd.org/base?view=revision&revision=226572

                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
                • First post
                  Last post
                Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.