Bug #8220
closedUI does not allow multiple MAC for same DHCP address
100%
Description
The UI does not allow multiple MAC addresses to be assigned the same DHCP address, even when using different hostnames. Several forum posts and a previously closed issue, this should be allowed given that a different hostname is used.
https://forum.pfsense.org/index.php?topic=53418.0
https://forum.pfsense.org/index.php/topic,36066.msg186013.html#msg186013
https://redmine.pfsense.org/issues/1682
Unfortunately, it appears that the UI is blocking this.
https://github.com/pfsense/pfsense/blob/master/src/usr/local/www/services_dhcp_edit.php#L193-L199
Files
Updated by Jim Pingle over 6 years ago
As the discussion in some of those former tickets and posts implied, the IP address can be reused as well as the hostname. I removed both uniqueness checks from the page and the configuration appears to function properly.
Needs some more testing/confirmation but it looks OK here.
Updated by Jim Pingle over 6 years ago
Also: This problem was introduced over 4 years ago when a contributor added the IP address check instead of removing "IP" from the input error text in ce13cc5f8f661f4ef0d24e237a83d4caccea6a11
Updated by Jim Pingle over 6 years ago
- Status changed from New to Feedback
- % Done changed from 0 to 100
Applied in changeset b2605914777a8026910bf8ce8b324fce61803ad2.
Updated by Paighton Bisconer over 6 years ago
Confirmed working on Current Base System 2.4.3.a.20180213.0339 built on Tue Feb 13 03:39:40 CST 2018