[英]Cannot ping ubuntu VM from mac os
I have an ubuntu VM running in VirtualBox. 我有一个在VirtualBox中运行的ubuntu VM。 I am trying to ping it, but cannot. 我正在尝试ping通,但不能。 I have the network setting changed from 'NAT' to 'bridged'. 我的网络设置从“ NAT”更改为“ bridged”。
here is the screenshot of the ip address info: 这是IP地址信息的屏幕截图:
and here is the result of a ping.... 这是ping的结果...
i did some google searching, but have not been able to pinpoint the issue yet.... thanks 我做了一些谷歌搜索,但还不能查明问题。...谢谢
When you use NAT mode, you will never ping the virtual machine from the host machine because it is the NAT restriction. 使用NAT模式时,永远不会从主机ping虚拟机,因为这是NAT限制。 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. 但是,当您使用桥接模式时,您应该能够ping通虚拟机,因为它会创建一条直接路径,就像两个计算机都直接连接一样。 If the ping is fail, perhaps there is some program or application that are blocking the network like a firewall. 如果ping失败,则可能是某些程序或应用程序像防火墙一样阻止了网络。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.