Bug #6930
closed
DHCP server should be disabled for /31 and /32
Added by Kill Bill over 9 years ago.
Updated about 9 years ago.
Affected Architecture:
All
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)
- Assignee set to Renato Botelho
- Status changed from New to Feedback
- % Done changed from 0 to 100
Applied in changeset commit:e66503688e06a8ce19875863ee87356bb4ce3cf8.
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.
Yup looks much better looking at the error message in the source code.
- Status changed from Feedback to Resolved
- Target version changed from 2.4.0 to 2.3.3
Also available in: Atom
PDF