pedron
pedron

Reputation: 237

Cannot ping ubuntu VM from mac os

I have an ubuntu VM running in VirtualBox. I am trying to ping it, but cannot. I have the network setting changed from 'NAT' to 'bridged'.

here is the screenshot of the ip address info:

VM

and here is the result of a ping....

terminal

i did some google searching, but have not been able to pinpoint the issue yet.... thanks

Upvotes: 1

Views: 5131

Answers (1)

yogipriyo
yogipriyo

Reputation: 635

When you use NAT mode, you will never ping the virtual machine from the host machine because it is the NAT restriction. But when you use the bridged mode, you should be able to ping the virtual machine because it will create a direct path as if both of the machine directly connected. If the ping is fail, perhaps there is some program or application that are blocking the network like a firewall.

Upvotes: 4

Related Questions