Project

General

Profile

Actions

Bug #6930

closed
KB RB

DHCP server should be disabled for /31 and /32

Bug #6930: DHCP server should be disabled for /31 and /32

Added by Kill Bill almost 10 years ago. Updated over 9 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)

JT Updated by Jim Thompson almost 10 years ago Actions #1

  • Assignee set to Renato Botelho

RB Updated by Renato Botelho over 9 years ago Actions #2

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

Applied in changeset commit:e66503688e06a8ce19875863ee87356bb4ce3cf8.

AK Updated by Andy Kniveton over 9 years ago Actions #3

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.

AK Updated by Andy Kniveton over 9 years ago Actions #5

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

JP Updated by Jim Pingle over 9 years ago Actions #6

  • Status changed from Feedback to Resolved

Seems to be good here.

JP Updated by Jim Pingle over 9 years ago Actions #7

  • Target version changed from 2.4.0 to 2.3.3
Actions

Also available in: Atom