Page 1 of 1

Cannot ping host-only VM

Posted: 13. Aug 2012, 16:14
by Vinny
Setup:
Host: Mac OS X Lion, firewall off, Sophos scanning off
vboxnet0 is 192.168.200.1/24
Client: CentOS variant using host-only adapter, don't think firewall is installed
eth0 is 192.168.200.10/24

I cannot ping from Mac to Linux or vice-versa. I had this working on another Mac using Parallels, so I'm fairly sure that the Linux side has no firewalling (it is an embedded systems variant). Mac to Linux gives "sendto : Permission denied" and Linux to Mac just times out.

I started Wireshark and set it to capture on vboxnet0. I start pings from both the client and the host. I see ICMPs coming from the client (eth0), but nothing from the host (vboxnet0). No answers, of course.

I need to have a static IP due to the nature of the embedded system, and it does not need Internet access, just host access.

Any suggestions?

Thanks.

Re: Cannot ping host-only VM

Posted: 13. Aug 2012, 16:23
by Vinny
Got it!

On a hunch, I disabled Cisco AnyConnect (VPN Client). Sure enough, it immediately started working! I hate when vendors don't play within the rules of the OS.

Re: Cannot ping host-only VM

Posted: 17. Oct 2014, 18:29
by rfay
Awesome, and thanks for posting the answer. The Cisco Anyconnect was driving me crazy. And of course, after a host machine reboot, it was fixed... until I turned on the anyconnect client for another project...