Assign Device Primary IP from the only interface IP #559

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

Originally created by @askbow on GitHub (Dec 1, 2016).

Given #685, when we add a single (first) IP to a a device with a single interface, an option to make this IP the Primary for the device seems logical.

That would improve usability (not having to go to the Device Edit dialog to set it).

As an extension, that option might be On by default if the interface is set as Management.

I've noticed a comment by @jeremystretch in #688

You need to set the assigned IP as the primary address for the device. (This happens by default when you assign the first IP to a device.)

and felt happy and rushed to try it, but it didn't work. We're running release 1.7.1, just upgraded today directly from 1.6.0. Might be a bug?

Originally created by @askbow on GitHub (Dec 1, 2016). Given #685, when we add a single (first) IP to a a device with a single interface, an option to make this IP the Primary for the device seems logical. That would improve usability (not having to go to the Device Edit dialog to set it). As an extension, that option might be On by default if the interface is set as Management. I've noticed a comment by @jeremystretch in #688 > You need to set the assigned IP as the primary address for the device. (This happens by default when you assign the first IP to a device.) and felt happy and rushed to try it, but it didn't work. We're running release 1.7.1, just upgraded today directly from 1.6.0. Might be a bug?
adam added the type: bug label 2025-12-29 16:23:11 +01:00
adam closed this issue 2025-12-29 16:23:11 +01:00
Author
Owner

@jeremystretch commented on GitHub (Dec 1, 2016):

This was working in a previous version. Looks like the form field got omitted from the template.

@jeremystretch commented on GitHub (Dec 1, 2016): This was working in a previous version. Looks like the form field got omitted from the template.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#559