DHCP problem
-
Build 2.0-BETA4 (i386) built on Wed Oct 20 06:03:46 EDT 2010
Now DHCP seems to be busted, since updating to this release I now get these errors, I am getting groups of them regularly - just deleted 480 of them !! the errors below are for one address but every static address on the network is doing it
2010-10-20 18:26:10 Local7.Error n36-gate Oct 20 18:26:09 dhcpd: from the dynamic address pool for 10.100.1/24
2010-10-20 18:26:10 Local7.Error n36-gate Oct 20 18:26:09 dhcpd: Remove host declaration s_lan_0 or remove 10.100.1.10 (.*)
2010-10-20 18:26:10 Local7.Error n36-gate Oct 20 18:26:09 dhcpd: Dynamic and static leases present for 10.100.1.10.This has to be a bug, neither my software nor hardware config has changed and DHCP worked fine until this update โฆ.
-
Static addresses cannot be included in your dynamic range, and never could be. i.e. that hasn't changed ever (it's a ISC dhcpd thing). Change the reservations so they're outside your normal scope. Input validation normally prevents that when you're adding reservations, but there must be some way around it, like changing the scope after the reservations are there.
-
That could happen if you assigned a static lease and then grew the size of your pool to include the static leases (which you shouldn't do). I'm not sure the input validation checks that particular change.
-
jiimp this is clearly the issue since this is exactly what I was allowed to do โฆ but prior to the current release, it is only in the last two builds that the 'error' - that I accept now as mine has surfaced. I'll modify again later and see if this is still 'allowed' .....
Test done : Yes the UI still permits you to modify the pool such that it overlaps the static addresses.
-
I'll fix the input validation to prevent that from being allowed.
I opened a ticket to track the issue:
http://redmine.pfsense.org/issues/964 -
The input validation should be fixed now. It won't be in the next new snapshot (it's already building) but it will be in the next one after.
-
Many thanks โฆ.