Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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.
127.0.0.1               localhost
192.168.179.129         jipsl01t jipsl01t.com

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

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 professional 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.

1 Answer 1

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 jipsl01t.com 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 :

C:\Windows\system32\drivers\etc\hosts

share|improve this answer

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