XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Netbox - Conflicting IP addresses break sync

    Scheduled Pinned Locked Moved Advanced features
    5 Posts 3 Posters 96 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P Offline
      Pilow
      last edited by

      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.

      P 1 Reply Last reply Reply Quote 0
      • olivierlambertO Online
        olivierlambert Vates 🪐 Co-Founder CEO
        last edited by

        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.

        D 1 Reply Last reply Reply Quote 0
        • D Offline
          DustinB @olivierlambert
          last edited by

          @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.

          1 Reply Last reply Reply Quote 0
          • P Offline
            Pilow @Pilow
            last edited by

            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

            1 Reply Last reply Reply Quote 0
            • olivierlambertO Online
              olivierlambert Vates 🪐 Co-Founder CEO
              last edited by

              Adding @pdonias in the loop

              1 Reply Last reply Reply Quote 0
              • First post
                Last post