Jump to content
Welcome to our new Citrix community!
  • 0

Assign Static IP to CentOS7 VM through CLI in XenServer 7.6


Antony nixson

Question

1 answer to this question

Recommended Posts

  • 0

Hi

I'm experiencing a similar issue with Ubuntu 18.04 on XenServer 7.3 7.6 8.1 and 8.2.
On Ubuntu 16.04 I can use the following:

xe -s <xenhost_ip< -u root -pw <root pass>vm-param-set uuid=75767879-3456-4c4c-f4f4-1111fcfc9472 xenstore-data:vm-data/gw=10.11.12.1
xe -s <xenhost_ip< -u root -pw <root pass>vm-param-set uuid=75767879-3456-4c4c-f4f4-1111fcfc9472 xenstore-data:vm-data/ip=10.11.12.13

but it does not seem to work on Ubuntu 18 and onwards.

And as you state - the "xe vif-configure-ipv4" only seems to have Windows support.
I hope somebody out there has found a workaround.

 

Rgs,

Anders

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...