简体   繁体   English

无法从Mac OS Ping Ubuntu VM

[英]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.

相关问题 无法从Mac OS ping到XP - can't ping from mac os to xp 与Mac OS共享ubuntu 16.04 vm文件夹(带有samba) - Sharing ubuntu 16.04 vm folder with mac os (with samba) mac os ping:ping 必须以 root 身份运行 - mac os ping: ping must run as root 从MAC OS(EL Capitan)到预建Oracle VM的JDBC连接 - JDBC Connection from MAC OS(EL Capitan) to Prebuilt Oracle VM 从 Mac OS X Lion 到 Ubuntu 的 NX 键盘映射问题 - Keymap issues with NX from Mac OS X Lion to Ubuntu 我无法在 VM Ware 虚拟机上打开 Mac OS Mojave,它上面有我需要恢复的数据文件 - I cannot open a Mac OS Mojave on VM Ware virtual machine, and it has data files on it that I need to recover 无法在Mac OS X主机上的Windows 10 VirtualBox VM中运行基于docker的Windows容器 - Cannot run docker based Windows container in Windows 10 VirtualBox VM on Mac OS X host 如何在Mac OS主机上使用固定IP与本地VM进出网络(融合) - how to network to and from local VM (fusion) with fixed IP on mac os host 如何从Mac OSX中弹出USB HID设备以在Ubuntu VM中使用? - How to eject a USB HID Device from Mac OSX to use in Ubuntu VM? 无法在Mac OS X中从cmd行启动Android模拟器 - Cannot start Android emulator from cmd line in Mac OS X
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM