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

Assign Static IP to CentOS7 VM through CLI in XenServer 7.6

Antony nixson


9 answers to this question

Recommended Posts

  • 0

Hello Alan,


Thanks for the replay,

Yes the article says its for windows VM, i have to do the same in linux vm,

I have tried with xenserver 6.5, 7.2 and 7.6

6.5 does not have the feature (vif-configure-ipv4)

7.2 and 7.6 returns 

(You attempted an operation on a VM which lacks the feature.)


i don't know, what went wrong.

Link to comment
  • 0

Hello Tobias,


I'm a Xenserver newbie, so pardon me if this sounds silly. I have checked the thread but it is for windows VM, In my case i'm using CentOs7  vm, Both Windows and CentOs has the same cli command to change/assign ip address right ???

also the command xe vif-configure-ipv4 uuid=(UUID-of- VIF) mode=static address=w.x.y.z/24 gateway=a.b.c.d will not assign static IP address ?? its returning a error info like

something like (You attempted an operation on a VM which lacks the feature.) !! I believe this may not be supported for Linux But i'm not sure?  if the command works means it has to assign IP address right ? 




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