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

    Subnet /23 into many /29

    Scheduled Pinned Locked Moved Routing and Multi WAN
    4 Posts 2 Posters 586 Views 2 Watching
    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.
    • S Offline
      shar0119
      last edited by shar0119

      I have setup a gateway with IP 888.777.666.2/23. I am trying to find a way to create many /29 subnets using pfsense as a pass through. For example, trying to create 888.777.666.120/29 with gateway 888.777.666.121.

      I tried creating a virtual IP 888.777.666.121/29 and a static route from 888.777.666.120/29 to 888.777.666.1/23 (WAN gateway). But though I can ping the machine at 888.777.666.122, I can't access it using SSH.

      Please note that I can't create a new interface for each of the /29 because the machine cannot have so many network cards.

      1 Reply Last reply Reply Quote 0
      • S Offline
        shar0119
        last edited by

        Ok so I completely disabled the firewall and it works fine now. So basically I am using pfsense in strict routing mode but that's all I need for now and I have another pfsense instance for LAN etc.

        1 Reply Last reply Reply Quote 0
        • S Offline
          shar0119
          last edited by

          Is there any way to make this work without turning off the firewall completely? I need to keep the firewall enabled to use traffic shaping on some of the /29 subnets.

          I have setup a rule to allow everything from any to any on WAN but that does not allow inbound access to any of the /29 IP addresses. Turning off the firewall does.

          Can someone please help?

          1 Reply Last reply Reply Quote 0
          • johnpozJ Offline
            johnpoz LAYER 8 Global Moderator
            last edited by johnpoz

            @shar0119 said in Subnet /23 into many /29:

            Please note that I can't create a new interface for each of the /29 because the machine cannot have so many network cards.

            That is why you would use vlans..

            So this /23 is routed to you?

            When you say gateway 888.777.666.121?? You mean assign pfsense interface with first IP in the subnet /29 off your /23 that is ROUTED to you??

            Are we talking public space Here - or is this something your trying to do in rfc1918 space? Having a hard time figuring it out - since have never seen anyone that has clue one to how IP works use 888.777.x.x since those are clearly not valid IP ranges.. To show something as public 1.2.3.0/23 would told me ok public that he is trying to hide, etc.

            If pfsense wan IP is using /23 mask of this 888.777.666.0/23 network... Then its not routed to you.. And you can not just create a lan side interface that overlaps that network like 888.777.666.120/29

            An intelligent man is sometimes forced to be drunk to spend time with his fools
            If you get confused: Listen to the Music Play
            Please don't Chat/PM me for help, unless mod related
            SG-4860 25.07 | Lab VMs 2.8, 25.07

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