cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 

Ping works only one-way to host in VM virtualbox

Ping works only one-way to host in VM virtualbox

Petteri_Oksanen
New Contributor
I am running EXOS VM's in Oracle VirtualBox.

I have a topology in this order: host1-sw1-sw2-host2.

I can ping from host2 to host1, but when I try to ping host1 to host2 the ping fails. I can't ping host2 from sw2 either. Here is snapshot of host1 and sw1:

32519261a5354d878da84c2d572b9223_RackMultipart20150415-18372-nzmdhx-onkelma1_inline.jpg



Here is a snapshot of sw2 and host2:

32519261a5354d878da84c2d572b9223_RackMultipart20150415-14213-198ahsz-onkelma2_inline.jpg



Switch 1 and 2 are connected through OSPF.
What is the correct way to connect hosts in virtualized network?

I know there is no route to host from 192.168.11.3, but it still reaches 192.168.12.0/24 network, shouldn't it reach to the host also?

Thanks

- Petteri
32 REPLIES 32

Indeed! Thanks, you were very helpful ļ™‚

Good to know things are working ok now.

This is great troubleshooting practice! THat's why I love these little things.

OK, I got it. It was windows firewall in the VM šŸ™‚

I totally forgot that they have integrated firewall's since I have used F-Secure for ages.

Now the windows machines can communicate.

Actually I was not aware that it is possible to capture traffic in virtualbox, that is very handy indeed!

Do you know that you can capture traffic inside VirtualBox?

You can configure what VB calls network tracing with the following command:
vboxmanage modifyvm --nictraceX on --nictracefileX .pcap

To disable it use:
vboxmanage modifyvm --nictraceX off

That way you can check what's going on at different places in your network...

Can you also post the vboxmanage showvminfo of your Windows PCs?

They are VM's
GTM-P2G8KFN