Unable to assign a NAT IP as the primary for a device #1209

Closed
opened 2025-12-29 16:30:03 +01:00 by adam · 0 comments
Owner

Originally created by @jeremystretch on GitHub (Sep 1, 2017).

Issue type

[ ] Feature request
[x] Bug report
[ ] Documentation

Environment

  • Python version: 3.4.3
  • NetBox version: 2.1.4

Description

When editing a device, the choices available for its primary IPv4 and IPv6 addresses will include all IPs assigned to its interface, as well as any NAT outside addresses of those IPs. However, attempting to assign a NAT outside IP as the primary for a device yields a validation error. This is because the validation allows only IPs assigned to interfaces of the device.

Originally created by @jeremystretch on GitHub (Sep 1, 2017). ### Issue type [ ] Feature request <!-- Requesting the implementation of a new feature --> [x] Bug report <!-- Reporting unexpected or erroneous behavior --> [ ] Documentation <!-- Proposing a modification to the documentation --> <!-- Please describe the environment in which you are running NetBox. (Be sure to verify that you are running the latest stable release of NetBox before submitting a bug report.) --> ### Environment * Python version: 3.4.3 * NetBox version: 2.1.4 ### Description When editing a device, the choices available for its primary IPv4 and IPv6 addresses will include all IPs assigned to its interface, as well as any NAT outside addresses of those IPs. However, attempting to assign a NAT outside IP as the primary for a device yields a validation error. This is because the validation allows only IPs assigned to interfaces of the device.
adam added the type: bug label 2025-12-29 16:30:03 +01:00
adam closed this issue 2025-12-29 16:30:03 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#1209