VMware Communities
Thaneeru
Contributor
Contributor
Jump to solution

Not able to ping from VM1 to VM2

Hi Team,

I have Installed VMWare Workstation 9.0.2, named it as OracleVM1-H (HostName). Later I cloned it, named it as OracleVM2-H (Host Name).

Using IP Address I can ping from each other. (OracleVM1-H to OracleVM2H and  OracleVM2-H to OracleVM1H)

Using Host Name I'm not able to ping any of it.

Please find the attachment for ifconfig, /etc/hosts O/P.

Thanks in advance.

Naresh

0 Kudos
1 Solution

Accepted Solutions
julienvarela
Commander
Commander
Jump to solution

Ok sorry i haven't see, your /etc/hosts doesn't have the hostname you are trying to resolve.

So in the hosts file on OracleVM1-h you need to add this :

192.168.12.3 OracleVM2-h

And in the hosts file on OracleVM2-h you need to add :

192.168.12.2 OracleVM1-h

Then restart your network services.

Regards,

Julien.

Regards, J.Varela http://vthink.fr

View solution in original post

0 Kudos
3 Replies
julienvarela
Commander
Commander
Jump to solution

Hi,

What is the output when you try to reach the host using hostname?

Regards,

Julien.

Regards, J.Varela http://vthink.fr
0 Kudos
Thaneeru
Contributor
Contributor
Jump to solution

Hi,

Thanks For your reply.


[root@OracleVM1-H ~]# ping OracleVM2-H

ping: unknown host OracleVM2-H

[root@OracleVM1-H ~]#

[root@OracleVM2-H ~]# ping OracleVM1-H

ping: unknown host OracleVM1-H

[root@OracleVM2-H ~]#

Thanks,

Naresh

0 Kudos
julienvarela
Commander
Commander
Jump to solution

Ok sorry i haven't see, your /etc/hosts doesn't have the hostname you are trying to resolve.

So in the hosts file on OracleVM1-h you need to add this :

192.168.12.3 OracleVM2-h

And in the hosts file on OracleVM2-h you need to add :

192.168.12.2 OracleVM1-h

Then restart your network services.

Regards,

Julien.

Regards, J.Varela http://vthink.fr
0 Kudos