Project

General

Profile

Bug #5651

Can't edit DHCP static mappings

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

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

0%

Estimated time:
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.

History

#1 Updated by Phillip Davis over 3 years ago

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.

#2 Updated by Chris Buechler over 3 years ago

  • 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.

#3 Updated by Chris Buechler over 3 years ago

  • Assignee set to Steve Beaver

#4 Updated by Phillip Davis over 3 years ago

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

#5 Updated by Steve Beaver over 3 years ago

  • Status changed from Confirmed to Feedback
  • Assignee changed from Steve Beaver to Jacob Graf

Committed above PR and tested.

#6 Updated by Chris Buechler over 3 years ago

  • Status changed from Feedback to Resolved

fixed

Also available in: Atom PDF