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

    How to assign public /29 in lan side as a public static IP ?

    Scheduled Pinned Locked Moved Routing and Multi WAN
    5 Posts 3 Posters 513 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.
    • M
      miklasz
      last edited by

      Hi,

      I used DrayTek before pfsense, my configuration is: i have /29 from my ISP

      X.X.X.48/29 where X.X.X.49 is the gateway,
      lan side: 192.168.7.0/24

      I was able on the lan side also assign public static IP from /29, and they worked from lan to wan to outside.

      Is it possible to do the same with pfsense without virtual IP???

      I use pfsense box with 3 network cards

      any idea ?

      Many thanks

      Bartosz

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

        is your /29 routed to you?

        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 24.11 | Lab VMs 2.8, 24.11

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

          yes, i am getting over PPPoE /29

          before I had draytek, and it routed subnet to inside lan, so i could have 192.168.7.0/24 and X.X.X.48/29 on the lan side

          X.X.X.49 assigned to draytek as my gateway, and rest i could manually assigned to hosts inside LAN or use draytek DMZ / virtual ip equivalent with pf sense.

          but i need to run 1 IP directly on the box and not sure how to do it

          any clues ?

          thx

          Bartosz

          1 Reply Last reply Reply Quote 0
          • K
            kpa
            last edited by

            If the /29 is properly routed to you and it terminates at your pfSense so to speak you should be able to just use the /29 addresses on the LAN freely. I have no idea why they tell you that the .49 should be the gateway address because in a routed configuration like that you can choose the addresses as you want, from the ISP's point of view it makes no difference which IP is used as the gw address.

            What I would try right now is to assign the .49/29 (just to keep consistent with your previous setup, no other reason) on the LAN interface of pfSense (console menu item 2) and then use the rest of the /29 for LAN hosts either statically or with DHCP. When you have that working you can add an IP alias on the LAN interface with the address 192.168.7.1/24 (Firewall->Virtual IPs) and assign addresses from the 192.168.7.0/24 range on your LAN hosts as well.

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

              "so i could have 192.168.7.0/24 and X.X.X.48/29 on the lan side "

              Not sure where your coming up with the 192.168.7 but sure you could use that on our local lan side along with your x.x.x.48/29 just on on the same network.. So 192.168.7 could be your lan, and .48/29 could be on an opt or a vlan..

              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 24.11 | Lab VMs 2.8, 24.11

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