Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have RedHat OS running on VMWare Player. My host operating system is windows7. Network configuration i am using on my virtual machine is NAT.

I have configured my Guest operating systems /etc/hosts to have following configuration.

[ora112@jipsl01t ~]$ cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.               localhost         jipsl01t

when i ping from my host operating system, i can ping to, but i can not ping to hostname (jipsl01t ) or hostname alias (

could anybody help me to understand why this is not working.

thanks in advance for any help

share|improve this question

closed as off topic by Michael Hampton, EEAA, mdpc, Ward, dunxd Jan 4 '13 at 11:03

Questions on Server Fault are expected to relate to server, networking, or related infrastructure administration within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

up vote 1 down vote accepted

In your case, the HOST is Windows 7 and GUEST is redhat.

So, if you want to resolve the names jipsl01t and from you HOST machine, you need to include hostname to IP address mapping details in the hosts file of your HOST machine, NOT on GUEST machine.

In windows the path for hosts file is :


share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.