Can't add static lease from inside DHCP range in pfSense

5,406

The problem when you set a static IP inside the DHCP Range, is that if the computer which you set the static IP is ever off line, the IP that was specified to him could be assigned to another machine. When the original computer comes on line, it will not be able to get that IP.

pfSense enforces this, but I figure you could always edit the relevant PHP file to turn this rule off. Which I don't know how to do, so anyone wanting to do this would need to do your own research.

Shouldn't be hard to do, although it's a lot easier just to either:

-> Split the DHCP Pool so it doesn't include the desired IP or;

-> Give up and just assign an IP outside of the pool.

Share:
5,406
Dims
Author by

Dims

Software developer & Machine Learning engineer C/C++/Java/C#/Python/Mathematica/MATLAB/Kotlin/R/PHP/JavaScript/SQL/HTML/ LinkedIn: http://www.linkedin.com/in/dimskraft Telegram: https://t.me/dims12 I prefer fishing rod over fish.

Updated on September 18, 2022

Comments

  • Dims
    Dims over 1 year

    When trying to add my computer to static lease, I get the following error

    enter image description here

    I don't understand the reason for this. If I would want to assign IP from outside DHCP range, I would assign it statically locally on the device connecting. If I am assigning IP at the server, I see no reason I can't set it from inside DHCP range.

    All previous routers were allowing me to assign within range.

    Is it possible to turn off this "check" so that I will be able to set any address I want?

    • Michael Frank
      Michael Frank over 9 years
      How is 50 inside the range of 100-200?
    • Dims
      Dims over 9 years
      @PatriceLevesque you are describing a problem, which can occur if local set address. But what problem can occur if all addresses, both auto and manual, are set on server? Server knows all of them. How can this lead to any problems?