LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-27-2012, 08:22 AM   #1
linuxreza
Member
 
Registered: Jan 2012
Location: Mumbai, India
Distribution: Redhat
Posts: 30
Blog Entries: 1

Rep: Reputation: Disabled
Can't ping the two vmware guest os


Hello friends .
Once again i am here with the new problem.
I have install the RHEL 5 and windows xp in a vmware workstation.
The host os is Windows xp as well.

Now the issue is , i can ping the host os windows xp from the guest winxp machine , i can ping my guest RHEL 5 as well from the guest XP, i can ping the home router as well. Overall i can ping all the machine from the guest os xp in vmware workstation.

But i can't ping the guest winxp machine from the RHEL 5 os. while winxp guest os pings the guest RHEL 5 guest os .

when i try to ping it ,, it shows nothing ...

# ping 192.168.0.102



nothing appers after a long time as well.
KIndly help me .
 
Old 07-27-2012, 08:36 AM   #2
roger_heslop
Member
 
Registered: Oct 2009
Location: Leander, TX
Distribution: Fedora 20
Posts: 97

Rep: Reputation: 35
What kind of network is your VM using? Is it NATing?

If it is, your host can't ping, because when it recieves the address it send the packet to your default gateway to be lost forever.
The only way I know around this is to change the network type, I'm a fan of bridging myself.
 
Old 07-28-2012, 12:12 AM   #3
linuxreza
Member
 
Registered: Jan 2012
Location: Mumbai, India
Distribution: Redhat
Posts: 30
Blog Entries: 1

Original Poster
Rep: Reputation: Disabled
I am using the bridge connection type in both the guest os (RHEL5 , xp) . My guest os windows xp can ping my guest os linux and host system windows xp , but my this guest os winxp can't ping from any other system neither other guest os (RHEL5) nor the host system (Winxp) .
pleaaase help me ..

I am using the vmware workstation 6.
when i ping the guest os (winxp) from the guest os (RHEL5) it shows nothing..

i have given the

# ping 192.168.0.105




it losts all the packages
 
Old 07-28-2012, 12:23 AM   #4
nixblog
Member
 
Registered: May 2012
Posts: 426

Rep: Reputation: 52
Quote:
Originally Posted by linuxreza View Post
I am using the vmware workstation 6.
when i ping the guest os (winxp) from the guest os (RHEL5) it shows nothing..
Is the firewall switched on in XP - common mistake...
 
Old 07-28-2012, 01:44 AM   #5
sharadchhetri
Member
 
Registered: Aug 2008
Location: INDIA
Distribution: Redhat,Debian,Suse,Windows
Posts: 179

Rep: Reputation: 23
Quote:
Originally Posted by nixblog View Post
Is the firewall switched on in XP - common mistake...
Disable the firewall in XP and try again.
 
Old 07-28-2012, 03:35 AM   #6
linuxreza
Member
 
Registered: Jan 2012
Location: Mumbai, India
Distribution: Redhat
Posts: 30
Blog Entries: 1

Original Poster
Rep: Reputation: Disabled
I have disabled the firewall of the xp earlier .. I was done that ...
Help me
 
Old 07-28-2012, 05:50 AM   #7
roger_heslop
Member
 
Registered: Oct 2009
Location: Leander, TX
Distribution: Fedora 20
Posts: 97

Rep: Reputation: 35
Being that no NATing is involved, and you can ping from guest to host, we can safely say there is two-way communications (other wise the packet could not return).

The problem still sounds as though XP is not returning pings, even though the firewall is disabled. Try putting the VM in safemode with networking, and attempt a ping once more. That will ensure there are no anti-virus protections, 3rd party firewalls or some unaccounted service that is denying the packets.
 
Old 07-28-2012, 06:22 AM   #8
Chirel
Member
 
Registered: Nov 2009
Posts: 55

Rep: Reputation: 19
Hi,

Could you show us the output of :

On the Guest OS :
-1a- ipconfig
-2a- ping => RHEL VM

On the RHEL VM :
-1b- ip a
-2b- route
-3b- ping => Guest OS
 
Old 07-28-2012, 06:58 AM   #9
linuxreza
Member
 
Registered: Jan 2012
Location: Mumbai, India
Distribution: Redhat
Posts: 30
Blog Entries: 1

Original Poster
Rep: Reputation: Disabled
Dear Chirel
The IP Address of the guest os (Winxp)
ipconfig
ip address 192.168.0.105
subnet mask 255.255.255.0
Default gateway 192.168.0.1

when i ping my other guest (RHEL5 192.168.0.123) from the guest os winxp.

> ping 192.168.0.123 -t

Reply from 192.168.0.123: bytes=32 time <1ms TTL = 64
Reply from 192.168.0.123: bytes=32 time <1ms TTL = 64
Reply from 192.168.0.123: bytes=32 time <1ms TTL = 64
Reply from 192.168.0.123: bytes=32 time <1ms TTL = 64

==================================================================

The Ip address of the Guest os RHEL5
[root@vserver Desktop]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:0C:29:4E:72:B8
inet addr:192.168.0.123 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::20c:29ff:fe4e:72b8/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:948 errors:0 dropped:0 overruns:0 frame:0
TX packets:802 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:94774 (92.5 KiB) TX bytes:122376 (119.5 KiB)
Interrupt:169 Base address:0x2000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1914 errors:0 dropped:0 overruns:0 frame:0
TX packets:1914 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3705284 (3.5 MiB) TX bytes:3705284 (3.5 MiB)

============================================================

[root@vserver Desktop]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 * 255.255.255.0 U 0 0 0 eth0
169.254.0.0 * 255.255.0.0 U 0 0 0 eth0
default 192.168.0.1 0.0.0.0 UG 0 0 0 eth0


[root@vserver Desktop]# ping 192.168.0.105
PING 192.168.0.105 (192.168.0.105) 56(84) bytes of data.

--- 192.168.0.105 ping statistics ---
6 packets transmitted, 0 received, 100% packet loss, time 5004ms


Now Please suggest me what to do now ..

======
If any one want to take the remote of my system and want to solve this issue ,,,, please let me know ,,,,,,,
 
Old 07-28-2012, 07:13 AM   #10
fpmurphy
Member
 
Registered: Jan 2009
Location: /dev/ph
Distribution: Fedora, Ubuntu, Redhat, Centos
Posts: 297

Rep: Reputation: 62
The problem appears to be on the RHEL guest. Look at the number of errors for both TX and Rx on IPv4 and IPv6. Even the loopback has errors! Are you about to ping loopback on the RHEL guest?
 
Old 07-28-2012, 07:18 AM   #11
Chirel
Member
 
Registered: Nov 2009
Posts: 55

Rep: Reputation: 19
If on the guest os arp -a give you 00:0C:29:4E:72:B8 associated with ip 192.168.0.123, i can only have the same opinion then Roger Heslop.
The problem then must be that windows xp filter icmp reply even if you don't have firewall.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do i connect linux guest OS to a windows guest OS in vmware? nooralain Linux - Networking 8 05-03-2012 11:51 AM
Not able to ping from host pc(win7) to guest(rhel4.8) pc in vmware sathyguy Linux - Server 1 02-25-2012 12:25 AM
Linux guest on Vmware is not communicating to other guest machines Saravana Linux - Virtualization and Cloud 2 10-26-2009 12:14 AM
Configuration to access internet from vmware(host=winXP, guest on vmware=linux-5) afz_linux Linux - Newbie 3 12-30-2008 01:20 AM
Why I can't ping winxp host form redhat linux guest in VMWare Jason Bao Linux - Newbie 4 09-09-2006 07:56 AM


All times are GMT -5. The time now is 10:40 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration