Create and Add Another IP does not bring up next available IP #1363

Closed
opened 2025-12-29 16:31:47 +01:00 by adam · 1 comment
Owner

Originally created by @traveler3468 on GitHub (Oct 31, 2017).

Issue type

[ ] Feature request
[X] Bug report
[ ] Documentation

Environment

  • Python version: 2.7
  • NetBox version: 2.2.2

Description

When adding an IP address you can select to "Create and Add Another IP". I believe this used to bring up the next available IP address in the prefix you were working in? However; when I select the option now the IP address field is returning to the first IP address I added when I started adding IP addresses using the form. For example if I start by adding ip address 10.10.29.1/24 and then I select the Add another button it brings up the ip address field pre-filled with 10.10.29.1/24. And it does the same thing after adding more addresses that way. I can add 10 different addresses in the same prefix and it will bring up the address that I started with on the new form.

Originally created by @traveler3468 on GitHub (Oct 31, 2017). <!-- Before opening a new issue, please search through the existing issues to see if your topic has already been addressed. Note that you may need to remove the "is:open" filter from the search bar to include closed issues. Check the appropriate type for your issue below by placing an x between the brackets. If none of the below apply, please raise your issue for discussion on our mailing list: https://groups.google.com/forum/#!forum/netbox-discuss Please note that issues which do not fall under any of the below categories will be closed. ---> ### 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: 2.7<!-- Example: 3.5.4 --> * NetBox version: 2.2.2<!-- Example: 2.1.3 --> <!-- BUG REPORTS must include: * A list of the steps needed to reproduce the bug * A description of the expected behavior * Any relevant error messages (screenshots may also help) FEATURE REQUESTS must include: * A detailed description of the proposed functionality * A use case for the new feature * A rough description of any necessary changes to the database schema * Any relevant third-party libraries which would be needed --> ### Description When adding an IP address you can select to "Create and Add Another IP". I believe this used to bring up the next available IP address in the prefix you were working in? However; when I select the option now the IP address field is returning to the first IP address I added when I started adding IP addresses using the form. For example if I start by adding ip address 10.10.29.1/24 and then I select the Add another button it brings up the ip address field pre-filled with 10.10.29.1/24. And it does the same thing after adding more addresses that way. I can add 10 different addresses in the same prefix and it will bring up the address that I started with on the new form.
adam added the status: duplicate label 2025-12-29 16:31:47 +01:00
adam closed this issue 2025-12-29 16:31:48 +01:00
Author
Owner

@jeremystretch commented on GitHub (Nov 2, 2017):

I believe this used to bring up the next available IP address in the prefix you were working in?

I don't think NetBox has ever had this behavior.

For example if I start by adding ip address 10.10.29.1/24 and then I select the Add another button it brings up the ip address field pre-filled with 10.10.29.1/24.

NetBox does not do this on its own. It's possible your browser or an extension may be pre-populating the form field for you.

At any rate, this enhancement would be covered by #648 so I'm going to close this out as a duplicate.

@jeremystretch commented on GitHub (Nov 2, 2017): > I believe this used to bring up the next available IP address in the prefix you were working in? I don't think NetBox has ever had this behavior. > For example if I start by adding ip address 10.10.29.1/24 and then I select the Add another button it brings up the ip address field pre-filled with 10.10.29.1/24. NetBox does not do this on its own. It's possible your browser or an extension may be pre-populating the form field for you. At any rate, this enhancement would be covered by #648 so I'm going to close this out as a duplicate.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#1363