5

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?

Dims
  • 13,414

2 Answers2

2

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.

VL-80
  • 4,693
Teio
  • 46
0

I guess the problem is that remembering an IP address for a device, and excluding an address from the DHCP pool, are two different features.

For whatever reason, pfSense doesn't support excluding the address from the pool, and so does the only other sane thing, which is to prevent you assigning an address that will potentially conflict with a DHCP address it may give out to someone else in the future.

mwfearnley
  • 7,889