Windows XP Guest VM is not reachable via ping

Discussions related to using VirtualBox on Windows hosts.
Post Reply
yeuwen
Posts: 6
Joined: 19. May 2010, 04:00
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: Windows XP

Windows XP Guest VM is not reachable via ping

Post by yeuwen »

Hi,

I have configured a Windows XP Guest vm to use bridged networking. IPCONFIG shows the same Subnet Mask and Default Gateway as what my Windows XP Host shows. I can ping my HOST IP from within the Guest vm but I am unable to ping my Guest VM IP.

What else am I missing?

Thank you.

Yeu Wen
baf
Volunteer
Posts: 829
Joined: 27. Sep 2008, 06:18
Primary OS: Mac OS X Leopard
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: linux,xp,win7
Location: Luleå or Skellefteå, Sweden

Re: Windows XP Guest VM is not reachable via ping

Post by baf »

Firewall in the guest?
Some say: "You learn as long as you live".
My way: "You live as long as you learn".
yeuwen
Posts: 6
Joined: 19. May 2010, 04:00
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: Windows XP

Re: Windows XP Guest VM is not reachable via ping

Post by yeuwen »

Hmm... yes it is caused by the guest windows firewall.

I actually cloned this vm from another vm which allows ping. I had thought all the settings would be the same as the original vm I clone from. Thanks for the reminder.
yeuwen
Posts: 6
Joined: 19. May 2010, 04:00
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: Windows XP

Re: Windows XP Guest VM is not reachable via ping

Post by yeuwen »

What is interesting is that when I run my original VM again, it responds to ping requests and guess what it has firewall set to ON.

Now, that is why I did not think about switching the firewall to off in the cloned VM.
BillG
Volunteer
Posts: 5106
Joined: 19. Sep 2009, 04:44
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows 10,7 and earlier
Location: Sydney, Australia

Re: Windows XP Guest VM is not reachable via ping

Post by BillG »

You do not need to turn the firewall off. All you need to do is allow ICMP echo, which is what ping uses.
Bill
yeuwen
Posts: 6
Joined: 19. May 2010, 04:00
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: Windows XP

Re: Windows XP Guest VM is not reachable via ping

Post by yeuwen »

Alright, but the point is my original VM does not need any firewall settings to be done. Wonder what else is different?
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: Windows XP Guest VM is not reachable via ping

Post by Sasquatch »

Did you change any setting of the original VM after you cloned it? Because 'File and printer sharing' is what toggles ICMP echo options in the firewall. If you put that as an exception, other systems can both ping and access files on that system. A default, clean install of XP with the latest updates should still block ping.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Post Reply