Allow localhost more than one time (127.0.0.1 & ::1) #9361

Closed
opened 2025-12-29 20:49:00 +01:00 by adam · 2 comments
Owner

Originally created by @CoLuxe on GitHub (Mar 17, 2024).

NetBox version

v3.7.4

Feature type

Change to existing functionality

Proposed functionality

Currently every IP Adress is unique. So one IP adress can only exist once.
Since every device has a Loopback Interface and a standard IP adress assigned too it (127.0.01 & ::1) it should be possible, to create both IPs for every device/VM once.

Use case

When using applications on devices or VMs, often you dont use the build-in webserver for security reasons.
So the application only runs on the loopback interface and a reverse proxy redirecting to that.

Database changes

No response

External dependencies

No response

Originally created by @CoLuxe on GitHub (Mar 17, 2024). ### NetBox version v3.7.4 ### Feature type Change to existing functionality ### Proposed functionality Currently every IP Adress is unique. So one IP adress can only exist once. Since every device has a Loopback Interface and a standard IP adress assigned too it (127.0.01 & ::1) it should be possible, to create both IPs for every device/VM once. ### Use case When using applications on devices or VMs, often you dont use the build-in webserver for security reasons. So the application only runs on the loopback interface and a reverse proxy redirecting to that. ### Database changes _No response_ ### External dependencies _No response_
adam added the type: featurestatus: revisions needed labels 2025-12-29 20:49:00 +01:00
adam closed this issue 2025-12-29 20:49:00 +01:00
Author
Owner

@jeremystretch commented on GitHub (Mar 21, 2024):

Currently every IP Adress is unique. So one IP adress can only exist once.

This is configurable via the ENFORCE_GLOBAL_UNIQUE setting as well per individual VRFs.

When using applications on devices or VMs, often you dont use the build-in webserver for security reasons. So the application only runs on the loopback interface and a reverse proxy redirecting to that.

You haven't explained why you need to model the loopback IPs specifically. Are you creating services and binding these to specific IP addresses?

@jeremystretch commented on GitHub (Mar 21, 2024): > Currently every IP Adress is unique. So one IP adress can only exist once. This is configurable via the [`ENFORCE_GLOBAL_UNIQUE`](https://docs.netbox.dev/en/stable/configuration/miscellaneous/#enforce_global_unique) setting as well per individual VRFs. > When using applications on devices or VMs, often you dont use the build-in webserver for security reasons. So the application only runs on the loopback interface and a reverse proxy redirecting to that. You haven't explained why you need to model the loopback IPs specifically. Are you creating [services](https://docs.netbox.dev/en/stable/models/ipam/service/) and binding these to specific IP addresses?
Author
Owner

@jeremystretch commented on GitHub (Apr 3, 2024):

This issue is being closed as no further information has been provided. If you would like to revisit this topic, please first modify your original post to include all the requested detail, and then ask that the issue be reopened.

@jeremystretch commented on GitHub (Apr 3, 2024): This issue is being closed as no further information has been provided. If you would like to revisit this topic, please first modify your original post to include all the requested detail, and then ask that the issue be reopened.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#9361