Bug #4878
closedDHCP pools can be out of range causing DHCP server to exit
0%
Description
For example:
LAN 192.168.1.1/24 with DHCP pool 192.168.1.100-192.168.1.199 working fine.
OPT1 192.168.2.1/24 with DHCP pool 192.168.1.100-192.168.1.199 working fine.
Interfaces->OPT1 - edit the IP address to 192.168.3.1/24, Save and Apply (without going to the DHCP settings and fixing those.
The system makes a new dhcpd.conf that has OPT1 with DHCP pool outside of the OPT1 subnet.
dhcpd exits complaining about this.
Thus there is now no DHCP service on any interface, even though it is only OPT1 that has a dud configuration.
It would be nice if this user "accident" did not break DHCP for every interface on the system.
Updated by Phillip Davis about 9 years ago
https://github.com/pfsense/pfsense/pull/1783
has a suggested solution.
Updated by Chris Buechler about 9 years ago
- Status changed from New to Confirmed
- Target version set to 2.2.5
Updated by Phillip Davis about 9 years ago
Note: The eventual pull request for master was https://github.com/pfsense/pfsense/pull/1824
That was merged to master a couple of weeks ago.
For RELENG_2_2 this pull request is waiting to be merged:
https://github.com/pfsense/pfsense/pull/1836
Updated by Renato Botelho about 9 years ago
- Status changed from Confirmed to Feedback
Pull request has been merged. Thanks!
Updated by Chris Buechler about 9 years ago
- Status changed from Feedback to Resolved
this is fine with the exception of #5200 which we'll address there.