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

    Static IPs and disabling DCHP pool.

    Scheduled Pinned Locked Moved DHCP and DNS
    5 Posts 3 Posters 524 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.
    • nerlinsN
      nerlins
      last edited by nerlins

      I have to keep asking questions and plan this out, without much ability to test directly on Pfsense. My homelab isn't the best, so I am literally plugging in Pfsesne when I have time, tinkering, then shutting it off and putting my current Netgear router back in place so the WAF doesn't break...

      I haven't figured this one out yet: If I create an interface assignment, with it's specific subnet, is there a way to only have it operate as static IPs for the hosts, without the DCHP pool?

      It took me a while to wrap my head around the fact that when I create a pool of addresses for dynamic DHCP I can't select an IP in that pool for a static address. I am going to have all devices on my network be static, so the 'DHCP pool' of addresses on each subnet is just wasted IPs.

      JKnottJ 1 Reply Last reply Reply Quote 0
      • JKnottJ
        JKnott @nerlins
        last edited by

        @nerlins

        You don't have to enable a DHCP server if you don't want to, but using static mappings is easier than manually configuring static addresses. Create a small DHCP pool and put your static mappings elsewhere.

        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...

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

          @jknott said in Static IPs and disabling DCHP pool.:

          but using static mappings is easier than manually configuring static addresses

          Agree - this also allows for easier change of say mask, or gateway or ntp or dns.. Or any other option you might be handing out via dhcp. Vs touching each device to make such changes.

          Set your pool to be only a couple of addresses - this way when you connect a new device it can get an IP, and then you can just easy switch it to a reservation by just clicking the lease.

          If your network is so full you can not afford a handful of IPs in a pool.. Maybe its time to use a bigger mask.. /23 vs /24 for example.

          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

          JKnottJ 1 Reply Last reply Reply Quote 0
          • JKnottJ
            JKnott @johnpoz
            last edited by

            @johnpoz said in Static IPs and disabling DCHP pool.:

            Set your pool to be only a couple of addresses - this way when you connect a new device it can get an IP, and then you can just easy switch it to a reservation by just clicking the lease.

            And perhaps use a short lease time, if you don't have many DHCP pool addresses.

            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...

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

              Yup I would set like 1 hour or something for such IPs.. So worse case the lease expires 1 hour later.. But will continue to renew if you haven't yet changed it to a reservation.

              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.