LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 03-08-2013, 04:47 AM   #1
techie_san778
Member
 
Registered: Jul 2011
Posts: 90

Rep: Reputation: Disabled
Exclamation Cannot Ping Guest OS from Host on VMware Workstation 9.0


Hello Friends,

I have a problem in :
1) pinging Host OS -> Guest OS.
2) pinging Guest OS -> Host OS
Both OS are on the same machine.
Here are the details of configurations:

Host OS : Windows XP SP2
Guest OS : RHEL 6.1

Host IP : Not Assigned.
Guest IP (eth 0): Not Assigned.

VMware Workstaion Configuration :
Version : 9.0
Network Adapter: NAT.
IP: 192.168.136.1


I really don't have any idea on the Network Adapter (of VMware workstation) configuration, so request you to pls make me understand the Network Adapter types (which one to use in which situation).

Pls guide me step-by-step to resolve the Host->Guest & Guest->Host OS ping issue.

Regards & Thanks in advance !!

Last edited by techie_san778; 03-08-2013 at 03:31 PM.
 
Old 03-08-2013, 11:24 PM   #2
shivaa
Senior Member
 
Registered: Jul 2012
Location: Grenoble, Fr.
Distribution: Sun Solaris, RHEL, Ubuntu, Debian 6.0
Posts: 1,800
Blog Entries: 4

Rep: Reputation: 286Reputation: 286Reputation: 286
- Which is guest OS?
- Are you using DHCP for guest? If yes, then both host as well as guest shold ping each other by IP.

On Windows:
Code:
> ipconfig -all
On host, if it's Unix:
Code:
~$ ifconfig -a
In order to have networking between both, you will need to define some domain or workgroup. Also check this out here and here.
 
Old 03-12-2013, 12:48 PM   #3
techie_san778
Member
 
Registered: Jul 2011
Posts: 90

Original Poster
Rep: Reputation: Disabled
Exclamation

Quote:
Originally Posted by shivaa View Post
- Which is guest OS?
- Are you using DHCP for guest? If yes, then both host as well as guest shold ping each other by IP.

On Windows:
Code:
> ipconfig -all
On host, if it's Unix:
Code:
~$ ifconfig -a
In order to have networking between both, you will need to define some domain or workgroup. Also check this out here and here.
Hi Shivaa,
Thanks for the info. As u have asked, the Guest OS is RHEL 6.0.
But some questions/////////////
1. I don't have any LAN connection. Its a standalone PC.
Will I be, in that case, able to ping Guest OS (RHEL 6) on VMware
?
2. Where to create the workgroup ? On the Host / Guest OS ?
 
Old 03-18-2013, 12:45 AM   #4
RivalReveler
LQ Newbie
 
Registered: Mar 2013
Posts: 3

Rep: Reputation: Disabled
as you said that your host os is rhel
set static ip to the host system.

as root user execute
#system-config-network

then give interface name eth0
ip 192.168.1.55 whtaever u want
netmask 255.255.255.0
gateway 192.168.1.1

save
save and quit
now restart the network service
#service network restart

now remove firewall rules(cause of not pinging)

#iptables -F

# service iptables save
# service iptables restart

now you system is having ip 192.168.1.55

now from the base system(xp) ping 192.168.1.55
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to share from windows 7(host) to RHEL6.2 (guest) on VMware workstation 8.0 shibir Linux - Server 5 05-30-2012 04:54 AM
Not able to ping from host pc(win7) to guest(rhel4.8) pc in vmware sathyguy Linux - Server 1 02-24-2012 11:25 PM
[SOLVED] VMware workstation with XP as host & Fedora9 X64 as guest himalayan Linux - Mobile 2 05-02-2011 03:53 AM
Cannot write to samba share with XP guest under VMware Workstation 6 (Feisty host) galileux Linux - Software 2 05-17-2007 04:22 PM
Why I can't ping winxp host form redhat linux guest in VMWare Jason Bao Linux - Newbie 4 09-09-2006 06:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 06:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration