虚拟箱访问问题


12

我有发送RTP数据包的程序。

但是我不知道要访问哪个IP。虚拟框中显示的IP为10.0.2.2

但是我无法从我的操作系统ping它...

我的计算机在工作域下,并且虚拟机位于WORKGROUP上。

我认为这是问题所在。有人可以指导我如何配置此正确方向吗?

先谢谢了。

Answers:


22

在您的VM设置->网络中。如果计算机关闭,则将NAT更改为桥接适配器:

这会将您的IP更新到主主机(可能是192.168.xx)

在此处输入图片说明

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.