XenServer - Use a static IP on the management network interface

Information

A static IP should be assigned to the management NIC so communications will not be interrupted during address renewal.

Solution

Run the following command using the uuid of the management physical interface (pif):


xe pif-reconfigure-ip uuid=<pif_uuid> mode=static ip=<ip_address> netmask=<netmask> gateway=<gaateway> dns=<dns>