Project

General

Profile

Actions

Bug #6930

closed

DHCP server should be disabled for /31 and /32

Added by Kill Bill over 7 years ago. Updated about 7 years ago.

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

100%

Estimated time:
Plus Target Version:
Release Notes:
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)

Actions #1

Updated by Jim Thompson over 7 years ago

  • Assignee set to Renato Botelho
Actions #2

Updated by Renato Botelho over 7 years ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100
Actions #3

Updated by Andy Kniveton over 7 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.

Actions #5

Updated by Andy Kniveton over 7 years ago

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

Actions #6

Updated by Jim Pingle about 7 years ago

  • Status changed from Feedback to Resolved

Seems to be good here.

Actions #7

Updated by Jim Pingle about 7 years ago

  • Target version changed from 2.4.0 to 2.3.3
Actions

Also available in: Atom PDF