无法从Windows 10主机查看或访问我的ubuntu VM共享

Following on from my previous question: Can I share a folder from ubuntu VM to windows host

我想在我的virtualbox ubuntu 18.04上共享一个文件夹,以便Windows 10可以读/写到我的一个工作目录。

Nothing I am trying seems to be working very well. I have been reading: Using Samba to share a folder from a Linux guest with a Windows host in VirtualBox + links on from there and also this: https://www.geeksforgeeks.org/create-shared-folder-host-os-guest-os-virtual-box/

到目前为止,我所做的是:

在ubuntu(访客)中:  -sudo apt-get安装samba  -sudo vim /etc/samba/smb.conf     -赢得支持=是     -接口= 127.0.0.0/8 192.168.250.250/24     -用户共享允许访客=是  -sudo ufw disable(禁用防火墙)  -右键单击/ home / user / development(在文件管理器中)->本地网络共享:     -勾选分享此文件夹     -勾选两个框(允许创建/删除+来宾访问)     -请注意,我可以在此文件夹上看到绿色/红色<-->共享图标

在ubuntu virtualbox设置上:  -NAT网络适配器(用于Internet访问)     -Ubuntu guest虚拟机内部的10.0.2.15     -Windows主机上的192.168.71.1  -仅限主机的适配器(仅用于文件夹共享)     -Ubuntu guest虚拟机内部的192.168.250.250     -Windows主机上的192.168.56.103

在Windows上:  -此处尚未采取任何措施,但Windows IP地址为:192.168.1.108

这是我不能从Windows主机执行的操作:

  • Can not ping 10.0.2.15 - timeout
  • Can ping 192.168.71.1
  • Can not ping 192.168.250.250 - timeout
  • Can ping 192.168.56.103
  • In windows explorer: \\10.0.2.15 - cannot access check spelling etc...
  • In windows explorer: \\192.168.71.1 - takes me to my windows shared folders
  • In windows explorer: \\192.168.250.250 - cannot access check spelling etc...
  • In windows explorer: \\192.168.56.103 - takes me to my windows shared folders
  • In windows explorer: \\10.0.2.15\development - cannot access check spelling etc...
  • In windows explorer: \\192.168.71.1\development - cannot access check spelling etc...
  • In windows explorer: \\192.168.250.250\development - cannot access check spelling etc...
  • In windows explorer: \\192.168.56.103\development - cannot access check spelling etc...

这是我可以在Ubuntu VM上执行的操作:

  • Can ping windows box ip address: 192.168.1.108
  • Can access the internet
  • I can acceess smb://homegroup/ -> smb://user-virtualbox/ and see my development folder.

现在,我不确定从这里开始该怎么做或如何前进。