Cannot Ping Host from Guest Machines

Discussions about using Windows guests in VirtualBox.
Locked
Cilibertoac
Posts: 5
Joined: 14. Mar 2013, 21:21

Cannot Ping Host from Guest Machines

Post by Cilibertoac »

I have the host on Windows 7 Pro and 3 VM with Windows XP Pro; but it was pinging before a few weeks ago.

Can:
the WM's can ping each other
the host can ping the VM's
the VM's can tnsping the Oracle DB on host
the VM's can connect to OEM on host
the VM's can access other VM's shared folders
the host can access VM's shared folders

Cannot:
the VM's cannot ping the host
the VM's cannot access host shared folders

All machines have static IP
Network: Bridged networking

Any suggestions
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Cannot Ping Host from Guest Machines

Post by Perryg »

firewall since windows update?
Cilibertoac
Posts: 5
Joined: 14. Mar 2013, 21:21

Re: Cannot Ping Host from Guest Machines

Post by Cilibertoac »

Hi Perryg,

Thanks for a reply; the firewall settings are the same on the host and router as before, I have tried to turn off the firewall but still had same issue.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Cannot Ping Host from Guest Machines

Post by Perryg »

Something is blocking it. One way pings are only caused by firewalls, which included the ability to use ICMP, which Windows usually shuts down.
Some virus software also trap ICMP.

What you need to ask yourself is what changed, what was installed.
Cilibertoac
Posts: 5
Joined: 14. Mar 2013, 21:21

Re: Cannot Ping Host from Guest Machines

Post by Cilibertoac »

Tonight, I can uninstall the McAfee to see what happens, but I installed virtualbox and created the VM's with the McAfee already installed.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Cannot Ping Host from Guest Machines

Post by Perryg »

OK but you said it did work and now it does not. If McAfee was already installed then it should not be the cause. I would really check that ICMP was still allowed first if it were me.

Or better yet set a rule for it http://www.sysprobs.com/enable-ping-reply-windows-7
Cilibertoac
Posts: 5
Joined: 14. Mar 2013, 21:21

Re: Cannot Ping Host from Guest Machines

Post by Cilibertoac »

Actually that was not the issue due to I have the microsoft firewall turned on and have McAfee firewall, I uninstalled virtualbox and re-installed and now able to ping the host from VM's. Perryg, thanks for your help
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Cannot Ping Host from Guest Machines

Post by Perryg »

Ah then it really was a firewall issue. When you removed and re-installed VirtualBox Win will re-register it.
Look the firewall can be off and ICMP will not work unless it has been allowed. VirtualBox does not control this at any level is uses a simple hook to the hosts Nic drivers and lets the host deal with it.

In any regards it is working so case closed.
Cilibertoac
Posts: 5
Joined: 14. Mar 2013, 21:21

Re: Cannot Ping Host from Guest Machines

Post by Cilibertoac »

Perryg, thanks.
FartOnHeart
Posts: 3
Joined: 23. Jan 2018, 10:28

Re: Cannot Ping Host from Guest Machines

Post by FartOnHeart »

i have the same situation "cannot ping host" but i have firewall enabled on both guest and host.
Both host and guest is on windows.

Which side to check first, guest firewall? or the host firewall?

btw i checked both and all protocols, ports, IPs and programs are allowed for both inward and outward on both sides for host-only-network 10.0.0.1 (host) and 10.0.0.2(guest).

Hit and trial makes it work, by diagnosing network problem, enabling disabling Virtualbox-hostonly-network adapters and couple of restarts.

Problem is that i still unable to figure out why ping does not work from guest to host and what really makes it work?

second why host always ping guest without any issue while firewall rules look ok to me?

I have to fix the same problem every time i run VM. The guest Vm is for webserver which do need network at startup without issues. Please help me to get rid of this issue.
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Cannot Ping Host from Guest Machines

Post by mpack »

Topic is 8 years old. Please don't wake the dead.

Locking.
Locked