Project

General

Profile

Actions

Bug #5651

closed
JG JG

Can't edit DHCP static mappings

Bug #5651: Can't edit DHCP static mappings

Added by Jacob Graf over 10 years ago. Updated over 10 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Web Interface
Target version:
Start date:
12/17/2015
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.3
Affected Architecture:

Description

When trying to add a static IP assignment under DHCP server, you get an error "The IP address must lie in the LAN subnet." even though the IP that was entered is indeed within the subnet and is also outside of the DHCP scope. Previous entries that were created under a prior version can no longer be edited due to the same error.

PD Updated by Phillip Davis over 10 years ago Actions #1

What pfSense version?
I don't see that problem. Please give an example of the LAN subnet/mask, DHCP scope and the particular static IP address you are trying.

CB Updated by Chris Buechler over 10 years ago Actions #2

  • Subject changed from The IP address must lie in the LAN subnet error to Can't edit DHCP static mappings
  • Category set to Web Interface
  • Status changed from New to Confirmed
  • Target version set to 2.3
  • Affected Version set to 2.3

I see the issue, if you edit an existing static mapping on 2.3, it fails input validation.

CB Updated by Chris Buechler over 10 years ago Actions #3

  • Assignee set to Anonymous

PD Updated by Phillip Davis over 10 years ago Actions #4

PR https://github.com/pfsense/pfsense/pull/2292 should fix this.
I also added checks to stop people using the network address or broadcast address - I can't think of a use case where those would be valid as DHCP static mapped addresses.

This is a similar problem to https://redmine.pfsense.org/issues/5654

Updated by Anonymous over 10 years ago Actions #5

  • Status changed from Confirmed to Feedback
  • Assignee changed from Anonymous to Jacob Graf

Committed above PR and tested.

CB Updated by Chris Buechler over 10 years ago Actions #6

  • Status changed from Feedback to Resolved

fixed

Actions

Also available in: Atom