-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Comments
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. |
Would this not be prevented by the prevent duplicate option within a VRF? |
@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. |
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. |
+1 |
Minor request: Be able to assign an IP address to more than one device.
The text was updated successfully, but these errors were encountered: