Prefixes /w IPs in different VRFs #1181

Closed
opened 2025-12-29 16:29:48 +01:00 by adam · 4 comments
Owner

Originally created by @kopacko on GitHub (Aug 17, 2017).

Issue type: bug report

Python version:
NetBox version:

Jeremy,
I am honestly not sure if this a bug or should be feature request. I noticed that as I get more IPs into our setup, that a prefix where two VRFs meet, do NOT show all IPs.

For example, in a /30 routed linked between me and a provider the .1 IP would be a part of one BGP ASN and the .2 IP would be a part of another BGP ASN. Not sure what I should do to account for that.

Originally created by @kopacko on GitHub (Aug 17, 2017). <!-- Please note: GitHub issues are to be used only for feature requests and bug reports. For installation assistance or general discussion, please join us on the mailing list: https://groups.google.com/forum/#!forum/netbox-discuss Please indicate "bug report" or "feature request" below. Be sure to search the existing set of issues (both open and closed) to see if a similar issue has already been raised. --> ### Issue type: bug report <!-- If filing a bug, please indicate the version of Python and NetBox you are running. (This is not necessary for feature requests.) --> **Python version:** **NetBox version:** <!-- If filing a bug, please record the exact steps taken to reproduce the bug and any errors messages that are generated. If filing a feature request, please precisely describe the data model or workflow you would like to see implemented, and provide a use case. --> Jeremy, I am honestly not sure if this a bug or should be feature request. I noticed that as I get more IPs into our setup, that a prefix where two VRFs meet, do NOT show all IPs. For example, in a /30 routed linked between me and a provider the .1 IP would be a part of one BGP ASN and the .2 IP would be a part of another BGP ASN. Not sure what I should do to account for that.
adam closed this issue 2025-12-29 16:29:48 +01:00
Author
Owner

@jeremystretch commented on GitHub (Aug 17, 2017):

VRFs and ASNs are entirely separate concepts. Prefixes and IPs are grouped by VRF; as in the real world, each prefix or IP can belong to only one VRF (or the global table). The assignment of ASNs has no effect on this.

@jeremystretch commented on GitHub (Aug 17, 2017): VRFs and ASNs are entirely separate concepts. Prefixes and IPs are grouped by VRF; as in the real world, each prefix or IP can belong to only one VRF (or the global table). The assignment of ASNs has no effect on this.
Author
Owner

@kopacko commented on GitHub (Aug 17, 2017):

They are entirely separate concepts, sure. A VRF is just a organization of routes in a routing table.

"As in the real world" .... nice jab thanks.

Umm but multiple IPs, within a given prefix, can be members of different VRFs. A /24 could a 10 IPs in 10 different VRFs. Which is where my question came up. Several /30's in different VRFs within the same /24 prefix.

No idea why I mentioned AS, they had nothing to do with my train of thought.

@kopacko commented on GitHub (Aug 17, 2017): They are entirely separate concepts, sure. A VRF is just a organization of routes in a routing table. "As in the real world" .... nice jab thanks. Umm but multiple IPs, within a given prefix, can be members of different VRFs. A /24 could a 10 IPs in 10 different VRFs. Which is where my question came up. Several /30's in different VRFs within the same /24 prefix. No idea why I mentioned AS, they had nothing to do with my train of thought.
Author
Owner

@N-Mi commented on GitHub (Oct 23, 2017):

Hi,

I'm evaluating Netbox 2.2.2 (I think about migrating from Racktables to Netbox), and I have the same issue/request.

I have many prefixes that have /31 or /32 IPs in differents VRFs, and I can't find a way to fit this into Netbox.

I think having to associate a prefix to a VRF is a bit rigid. Maybe adding an option like "Shared across multiple VRFs" would solve this.

@N-Mi commented on GitHub (Oct 23, 2017): Hi, I'm evaluating Netbox 2.2.2 (I think about migrating from Racktables to Netbox), and I have the same issue/request. I have many prefixes that have /31 or /32 IPs in differents VRFs, and I can't find a way to fit this into Netbox. I think having to associate a prefix to a VRF is a bit rigid. Maybe adding an option like "Shared across multiple VRFs" would solve this.
Author
Owner

@mvangoor commented on GitHub (Oct 26, 2017):

@jeremystretch: Can you re-open this?

@mvangoor commented on GitHub (Oct 26, 2017): @jeremystretch: Can you re-open this?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#1181