Editing IP inside a populated range fails with error: Cannot create IP address inside range #11870

Closed
opened 2025-12-29 21:51:01 +01:00 by adam · 0 comments
Owner

Originally created by @julianstolp on GitHub (Nov 25, 2025).

Originally assigned to: @jnovinger on GitHub.

NetBox Edition

NetBox Community

NetBox Version

v4.4.6

Python Version

3.12

Steps to Reproduce

  1. Create one ip, ie 10.10.10.10/24
  2. Create ip range, ie 10.10.10.0-100/24
  3. Mark ip range as populated
  4. Try to edit existing ip 10.10.10.10/24 ie. add description
  5. Hit save button
  6. Error is displayed Cannot create IP address 10.10.10.10/24 inside range 10.10.10.0-100/24.

Expected Behavior

As stated in https://github.com/netbox-community/netbox/pull/19064#issuecomment-2786802457 this is somewhat expected behaviour. But a hint when marking as populated would be nice (like Prevent the creation and editing of IP addresses within this range) or the ability to edit the ip inside the range, because its edit not create.

Observed Behavior

Error is displayed Cannot create IP address 10.10.10.10/24 inside range 10.10.10.0-100/24.

Originally created by @julianstolp on GitHub (Nov 25, 2025). Originally assigned to: @jnovinger on GitHub. ### NetBox Edition NetBox Community ### NetBox Version v4.4.6 ### Python Version 3.12 ### Steps to Reproduce 1. Create one ip, ie 10.10.10.10/24 2. Create ip range, ie 10.10.10.0-100/24 3. Mark ip range as populated 4. Try to edit existing ip 10.10.10.10/24 ie. add description 5. Hit save button 6. Error is displayed _Cannot create IP address 10.10.10.10/24 inside range 10.10.10.0-100/24._ ### Expected Behavior As stated in https://github.com/netbox-community/netbox/pull/19064#issuecomment-2786802457 this is somewhat expected behaviour. But a hint when marking as populated would be nice (like _Prevent the creation **and editing** of IP addresses within this range_) or the ability to edit the ip inside the range, because its edit not create. ### Observed Behavior Error is displayed _Cannot create IP address 10.10.10.10/24 inside range 10.10.10.0-100/24._
adam added the type: bugstatus: acceptednetboxseverity: medium labels 2025-12-29 21:51:01 +01:00
adam closed this issue 2025-12-29 21:51:02 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#11870