How to change IP of XOA & XCP-ng?
-
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 staticcommand 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.
-
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.
-
@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.
-
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
-
xoa network staticsupports 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.
-
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
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login