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

    Static wan ip with /31 mask

    Scheduled Pinned Locked Moved General pfSense Questions
    4 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.
    • Y Offline
      yaroot
      last edited by

      Hi,
      I'm setting up pfSense as router/firewall for my company's new office, I've never used pfSense before, and we have two WANs (all with static ips) provided by different ISP. But I'm not able to setup the one with 255.255.255.252 (/31) netmask. There's no "/31" for mask option in "Interfaces=>WAN". ( It's a fiber optic connection, and uses a kind of modem before pfSense to convert fiber to normal cable).

      ps: I'm using 2.0 rc1 (because of easy multi wan support from what I've googled)

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

        Firewall/Virtual IP's

        How man static IP's does the fiber give you?

        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 0
        • Y Offline
          yaroot
          last edited by

          The ISP give us two networks:
          124.xx.yy.zz /31
          180.zz.yy.xx /29

          But it only work when I use the /31 masked ip address (tested on my laptop and old RouterOS)

          When I use 180.x.y.z I can't even ping the gateway of the network successfully.

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

            A /31 isn't generally considered a valid mask as it doesn't contain any routable addresses.

            FYI- 255.255.255.252 is /30, not /31.

            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.