Project

General

Profile

Bug #6930

DHCP server should be disabled for /31 and /32

Added by Kill Bill 3 months ago. Updated 15 days ago.

Status:
Resolved
Priority:
Very Low
Category:
Web Interface
Target version:
Start date:
11/14/2016
Due date:
% Done:

100%

Affected version:
All
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)

Associated revisions

Revision e6650368
Added by Renato Botelho 2 months ago

Disable DHCP server on interfaces with subnet >= 31. Fixes #6930

Revision 403dad2a
Added by Renato Botelho 2 months ago

Disable DHCP server on interfaces with subnet >= 31. Fixes #6930

History

#1 Updated by Jim Thompson 3 months ago

  • Assignee set to Renato Botelho

#2 Updated by Renato Botelho 2 months ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100

#3 Updated by Andy Kniveton 2 months 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.

#5 Updated by Andy Kniveton 2 months ago

Yup looks much better looking at the error message in the source code.

#6 Updated by Jim Pingle about 1 month ago

  • Status changed from Feedback to Resolved

Seems to be good here.

#7 Updated by Jim Pingle 15 days ago

  • Target version changed from 2.4.0 to 2.3.3

Also available in: Atom PDF