Netbox - Conflicting IP addresses break sync
-
Hi,
If you have a DR Job, the DR vms created have the same IP address as the source one
and you have the netbox plugins that halts on error, conflicting existing IP.Could you change that it checks mac+IP address ? as the two DR vms seems to have different mac addresses when created by the DR Job.
Same problem if you make a COPY of a VM ! the copied VM has the same IP address and conflicts when syncing (I bypassed this one by changing a bit in the mac address and no problem anymore ? so it checks the couple MAC+IP ??)
Any advice to get a smooth netbox sync appreciated.
-
Hi,
What would be the expected behavior? It's normal to report a conflict, because if you boot the copy, while leaving the original running, you will indeed have a conflict.
-
@olivierlambert said in Netbox - Conflicting IP addresses break sync:
Hi,
What would be the expected behavior? It's normal to report a conflict, because if you boot the copy, while leaving the original running, you will indeed have a conflict.
Is it possible to disable the NIC on the DR replica to validate that it boots to a desktop?
@Pilow changing the MAC address could effect DHCP and DNS. Changing the IP address occurs within the VM and XCP-ng/XO don't directly make edits to these types of settings.
-
you're right
I'm okay with error reporting, but it breaks the sync (all subsequent sync of other items to netbox is stopped)
Expected behavior would be an alarm ? and not to stop netbox plugin functionnality
-
Adding @pdonias in the loop