Bug #6930
closedDHCP server should be disabled for /31 and /32
100%
Description
Related forum thread: https://forum.pfsense.org/index.php?topic=121105.0
Basically
- disable the enable DHCP server checkbox when there's a /31 or /32 "subnet" configured on an interface
- do not allow saving /31 or /32 on an interface until the user has disabled the DHCP server there (or automatically disable it on save)
Updated by Renato Botelho almost 8 years ago
- Status changed from New to Feedback
- % Done changed from 0 to 100
Applied in changeset e66503688e06a8ce19875863ee87356bb4ce3cf8.
Updated by Andy Kniveton almost 8 years ago
It now doesn't enable dhcp on a /31 or /32 subnet, IMO the message "The DHCP Server can only be enabled on interfaces configured with a static IPv4 address. This system has none." could be worded a bit better as there is IPv4 enabled on the subnets, there is just not enough address space to assign DHCP addresses.
Updated by Phillip Davis almost 8 years ago
Something like https://github.com/pfsense/pfsense/pull/3309 ?
Updated by Andy Kniveton almost 8 years ago
Yup looks much better looking at the error message in the source code.
Updated by Jim Pingle over 7 years ago
- Status changed from Feedback to Resolved
Seems to be good here.
Updated by Jim Pingle over 7 years ago
- Target version changed from 2.4.0 to 2.3.3