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

    How to change IP of XOA & XCP-ng?

    Scheduled Pinned Locked Moved Management
    6 Posts 4 Posters 160 Views 4 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.
    • B Offline
      bryonadams
      last edited by

      I'm re-IPing things due to my v6 delegation having changed. Is there a better way to do this than SSH/console to the XOA VM in question and editing nmcli or /etc/network/interfaces? I was looking in the XOA UI and I don't see a way to do this. I do see the xoa network static command in the docs here, but I'm unclear how I would set both v4 and v6 there, since each would have their own gateway and I don't think the command to set a second IP makes sense to me.

      Same question for the XCP-NG host too.

      I feel like both of these should be possible from the web UI that XOA provides, but cannot find it.

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

        Hi,

        Thanks for asking. @julien-f are we managing IPv6 already via our helper script? Otherwise you need to indeed change it manually, like you would for a regular Debian VM. It's not exposed in XO UI because nobody asked before, but it doesn't mean it's a bad idea 🙂

        For XCP-ng, yes you can change a network address in the Host/network tab.

        B 1 Reply Last reply Reply Quote 0
        • B Offline
          bryonadams @olivierlambert
          last edited by

          @olivierlambert Thanks for the quick response! I overlooked the XCP-ng setting in the Hosts > Networking tab. I don't see v6 available there, is that the same where it's just not something XOA exposes in the UI, and I'd need to SSH or console into XCP-ng?

          Is there a way to edit the IPv4 of XO via the web UI? Understood that the helper script doesn't handle v6 atm.

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

            No, for XO there's no API nor UI to modify XOA network settings. Something we could change in the future (adding @lsouai-vates so we add it in the backlog, likely for XO 6).

            For XCP-ng, I'm not sure, let me ping @stormi

            1 Reply Last reply Reply Quote 0
            • julien-fJ Offline
              julien-f Vates 🪐 Co-Founder XO Team @bryonadams
              last edited by

              xoa network static supports setting IPv6 addresses but do not allow setting multiple gateways for a single interface at this time.

              And indeed, it's also not possible to set XOA's network config from the UI.

              1 Reply Last reply Reply Quote 1
              • stormiS Offline
                stormi Vates 🪐 XCP-ng Team
                last edited by

                Dual stack support for IPv4 + IPv6 on the management interface in XCP-ng 8.3:

                • requires reinstalling to define both IPv4 and IPv6 for the management interface
                • is still experimental, there are a few known issues

                CC @BenjiReis @gthvn1 @andriy.sultanov

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