Assignment of already existing virtual IP addresses to FHRP group not possible #5628

Closed
opened 2025-12-29 19:30:16 +01:00 by adam · 2 comments
Owner

Originally created by @hoalex on GitHub (Nov 7, 2021).

Originally assigned to: @jeremystretch on GitHub.

NetBox version

v3.1-beta1

Python version

3.8

Steps to Reproduce

  1. Create a new IP address of type "CARP"
  2. Open the edit view of the IP address object.
  3. Try to assign it to an FHRP group.

Expected Behavior

I would expect to see a third tab called "FHRP Group" under "Interface Assignment", next to Device and Virtual Machine.

Observed Behavior

There is no form field that allows me to assign a virtual IP address to an FHRP group.

Originally created by @hoalex on GitHub (Nov 7, 2021). Originally assigned to: @jeremystretch on GitHub. ### NetBox version v3.1-beta1 ### Python version 3.8 ### Steps to Reproduce 1. Create a new IP address of type "CARP" 2. Open the edit view of the IP address object. 2. Try to assign it to an FHRP group. ### Expected Behavior I would expect to see a third tab called "FHRP Group" under "Interface Assignment", next to Device and Virtual Machine. ### Observed Behavior There is no form field that allows me to assign a virtual IP address to an FHRP group.
adam added the status: acceptedtype: featurebeta labels 2025-12-29 19:30:16 +01:00
adam closed this issue 2025-12-29 19:30:16 +01:00
Author
Owner

@bluikko commented on GitHub (Nov 8, 2021):

I was about to open a new issue but I believe it could be addressed with this issue as well.

The problem I found out was that if the IP address that was assigned to a FHRP Group is moved to another place, say some device interface, then there is no way to reset the IP address back to the FHRP Group.

The only way is to delete the FHRP Group and recreate with assigning the IP address to the FHRP Group.

The problem root cause is the same as in this issue - there is no way to assign an IP address to FHRP Group. Alternatively, re-assignment of IP addresses that are assigned to FHRP Groups could be disabled but I am not sure this is a better way.

@bluikko commented on GitHub (Nov 8, 2021): I was about to open a new issue but I believe it could be addressed with this issue as well. The problem I found out was that if the IP address that was assigned to a FHRP Group is moved to another place, say some device interface, then there is no way to reset the IP address back to the FHRP Group. The only way is to delete the FHRP Group and recreate with assigning the IP address to the FHRP Group. The problem root cause is the same as in this issue - there is no way to assign an IP address to FHRP Group. Alternatively, re-assignment of IP addresses that are assigned to FHRP Groups could be disabled but I am not sure this is a better way.
Author
Owner

@jeremystretch commented on GitHub (Nov 8, 2021):

I would expect to see a third tab called "FHRP Group" under "Interface Assignment"

And what fields would you find under that tab? How would you expect to find and select a specific FHRP group? The reason there's no tab for FHRP group is that there's no context available to aid in the selection of a group. Suppose you have a hundred FHRP groups with the same ID. How do find the right one?

@jeremystretch commented on GitHub (Nov 8, 2021): > I would expect to see a third tab called "FHRP Group" under "Interface Assignment" And what fields would you find under that tab? How would you expect to find and select a specific FHRP group? The reason there's no tab for FHRP group is that there's no context available to aid in the selection of a group. Suppose you have a hundred FHRP groups with the same ID. How do find the right one?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#5628