To change the hostname, domain, DNS servers, and default gateway in VMware vSphere or Infrastructure (VI) Client:
- Highlight the ESX host and click the Configuration tab.
- Click DNS and Routing.
- Click Properties.
- To change the hostname, domain, and DNS servers, click the DNS Configuration tab and enter the appropriate values.
Note: Disable VMware High Availability if you do not want virtual machines to failover during the hostname IP change.
- To change the default gateway, click the Routing tab and enter the appropriate value.
- Reboot the ESX host for the changes to take effect.
- Reconnect the ESX host to vCenter Server with the new IP address.