Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Anycast IP address multiple device assignments #906

Closed
contemno opened this issue Feb 20, 2017 · 5 comments
Closed

Anycast IP address multiple device assignments #906

contemno opened this issue Feb 20, 2017 · 5 comments

Comments

@contemno
Copy link

Minor request: Be able to assign an IP address to more than one device.

@jeremystretch
Copy link
Member

Just to clarify, IP addresses are assigned to interfaces in NetBox, not devices.

There's nothing special about an anycast IP address other than that it has been intentionally instantiated multiple times. Thus, it should be sufficient to create multiple IP address objects (each with the same IP) to represent anycast address assignment.

It might be appropriate to create an "anycast" role for IP addresses, which is a proposed feature, but discussion on that should be held in #819.

@specialcircumstances
Copy link

Would this not be prevented by the prevent duplicate option within a VRF?

@contemno
Copy link
Author

@specialcircumstances That's correct, it would not be possible if the 'prevent duplicate' option is enabled on a VRF.

The issue I was addressing is when viewing the IP address details page there's no indication that it's an anycast (or virtual) IP address assigned to multiple interfaces (on different devices) within the same VRF. The IP address details page will only list the device and interface associated with the single IP address instance currently being viewed.

The workaround is to disable the 'prevent duplicate' option (if applicable) and label the IP addresses as anycast somewhere in the description field as a cue to the user to manually search for the IP address to find all interfaces (and associated devices) assigned the same IP address in the same VRF.

@ossark
Copy link

ossark commented May 7, 2019

It would be awesome if one can link the same IP to multiple interfaces for Anycast, VRRP, HSRP, CARP etc address types. As the "prevent duplicates" option is somewhat mandatory imo this invalidates the usefulness of the above mentioned address types to almost zero.

@njgarfield
Copy link

njgarfield commented May 7, 2019

+1
For anycast operations, by definition, it should be possible to re-use an allocated IP address to multiple devices. Use cases are anycast-rp and anycast DNS.

@lock lock bot locked as resolved and limited conversation to collaborators Jan 16, 2020
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants