Verifying ESX host networking configuration on the service console
Purpose
This article provides steps to verify the networking files on your ESX host.
Resolution
To verify that the current networking configuration is valid and correct:
Verify the format and content of /etc/hosts .
Here is an example of the hosts file:
127.0.0.1 localhost.localdomain localhost 192.168.1.10 server.domain.com server
Verify the contents of /etc/sysconfig/network . Confirm that the proper values for your environment exist for the fully qualified hostname and gateway. Consult your network administrator if you are unsure of the proper values.
Verify that /etc/sysconfig/network-scripts/ifcfg-vswif0 has the correct settings for IP address (IPADDR), subnet mask (NETMASK), and network (NETWORK). Consult your network administrator if you are unsure of the correct settings.
Note: Changes to the network and ifcfg-vswif0 files require a restart of the network service. T o restart the network service, run the following command and press Enter: