Add a link to the parent Prefix in IP Ranges #7293

Closed
opened 2025-12-29 20:21:26 +01:00 by adam · 3 comments
Owner

Originally created by @a-belhadj on GitHub (Nov 28, 2022).

Originally assigned to: @jeremystretch on GitHub.

NetBox version

v.3.3.6

Feature type

Change to existing functionality

Proposed functionality

I want to see the parent prefix of an IP range when I look at my IP range (https://mynetbox/ipam/ip-ranges/2/)
A simple way to implement that is to display the prefix of a random IP in the range, but it will not work if the range goes through multiple prefixes.

Use case

We want to move our "fake" prefixes to IP ranges, but it's hard to know the parent prefix of an IP Address.

Database changes

It should be a computed value and shouldn't change the database

External dependencies

No dependencies

Originally created by @a-belhadj on GitHub (Nov 28, 2022). Originally assigned to: @jeremystretch on GitHub. ### NetBox version v.3.3.6 ### Feature type Change to existing functionality ### Proposed functionality I want to see the parent prefix of an IP range when I look at my IP range (https://mynetbox/ipam/ip-ranges/2/) A simple way to implement that is to display the prefix of a random IP in the range, but it will not work if the range goes through multiple prefixes. ### Use case We want to move our "fake" prefixes to IP ranges, but it's hard to know the parent prefix of an IP Address. ### Database changes It should be a computed value and shouldn't change the database ### External dependencies No dependencies
adam added the status: acceptedtype: feature labels 2025-12-29 20:21:26 +01:00
adam closed this issue 2025-12-29 20:21:26 +01:00
Author
Owner

@elipsion commented on GitHub (Dec 2, 2022):

This is implemented in #10692.

@elipsion commented on GitHub (Dec 2, 2022): This is implemented in #10692.
Author
Owner

@jeremystretch commented on GitHub (Jan 5, 2023):

Marking this as blocked by #7845. We need to determine an efficient way of automatically mapping child IP addresses, ranges, and prefixes to their parent prefixes.

@jeremystretch commented on GitHub (Jan 5, 2023): Marking this as blocked by #7845. We need to determine an efficient way of automatically mapping child IP addresses, ranges, and prefixes to their parent prefixes.
Author
Owner

@jeremystretch commented on GitHub (Dec 27, 2023):

Absent a solution for #7845, we can just do what we do for IP prefixes currently: Dynamically resolve any containing prefixes and list them in a table on the page.

@jeremystretch commented on GitHub (Dec 27, 2023): Absent a solution for #7845, we can just do what we do for IP prefixes currently: Dynamically resolve any containing prefixes and list them in a table on the page.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#7293