1

Hello all,

I'm trying to assign a static IP to a CentOS VM through XenServer (7.6) CLI !

For windows vm it is possible !!

I followed the below steps,

1) xe vm-vif-list vm=(VM-name-label)

2) xe vif-list vm-uuid=(uuid-of-the-VM)

3) xe vif-configure-ipv4 uuid=(UUID-of- VIF) mode=static address=w.x.y.z/24 gateway=a.b.c.d

When I use the above steps I got some error, Please find the error below,

Error Message

"You attempted an operation on a VM which lacks the feature." Screenshot of the error info

Can anyone please help me to solve this? Kindly let me know if I miss anything ??

Thanks in advance,

Antonynixson I

M. Rostami
  • 127
  • 1
  • 2
  • 13

1 Answers1

0

I know it is too late but it seems from the screenshot that the gateway is not reachable by the ip subnet mask

and it seems xenserver treat any error with the same message

Hani
  • 109
  • 3