Replies: 1 comment 3 replies
-
|
Hi, you should probably look at the ip2prefix code again. It does not treat all nodes uniformly and does two things:
We already have a |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I’d like to clarify the intended direction for ip2prefix in light of the comments about Starlink’s GeoFeed and prefix semantics.
As I understand it, ip2prefix currently links IPs to prefixes purely based on CIDR containment, treating all :Prefix nodes uniformly. In practice, prefixes represent different concepts: BGP prefixes (routing/origin), RIR prefixes (allocation), and GeoFeed prefixes (intended geolocation, e.g. Starlink).
The Starlink GeoFeed (geoip.starlinkisp.net/feed.csv) highlights this issue, since it provides geolocation intent and should coexist with BGP/RIR prefixes without being hierarchically mixed with them.
My understanding is that an IP should be able to belong to multiple prefix types in parallel (e.g. BGP + GeoFeed), while prefix-to-prefix PART_OF relationships should be restricted to semantically compatible prefix types rather than created solely based on CIDR containment.
Could you please confirm whether this interpretation is correct, and whether the expectation is for ip2prefix itself to become aware of prefix semantics, or for this separation to be enforced at the data model / labeling level outside of ip2prefix?
Beta Was this translation helpful? Give feedback.
All reactions