ifconfig -a 中未找到 VMnet0

ifconfig -a 中未找到 VMnet0

我正在尝试设置虚拟机,它应该有一个网络接口vmnet0虚拟机网卡。但是,我收到了错误消息。

无法将“以太网 2”连接到虚拟网络“/dev/vmnet0”。更多
信息可在 vmware.log 文件中找到。无法连接
虚拟设备“以太网 2”。

我这样做的目的是为了以太网共享和互联网共享。

我已经在我的 Linux 机器上重新安装了最新版本的 VMWare。
它的版本是Linux kali 4.9.0-kali4-amd64 #1 SMP Debian 4.9.30-1kali1 (2017-06-06) x86_64 GNU/Linux

在日志的底部我看到:

2017-10-07T03:46:15.441-05:00| vmx| I125: 017-10-07T03:46:19.545-05:00| vmx| I125: VNET: 'ethernet2' enable link state propagation, lsp.state = 5
2017-10-07T03:46:19.545-05:00| vmx| I125: VNET: MACVNetPortOpenDevice: Ethernet2: can't open vmnet device (No such file or directory)
2017-10-07T03:46:19.545-05:00| vmx| I125: VNET: MACVNetPort_Connect: Ethernet2: can't open data fd
2017-10-07T03:46:19.546-05:00| vmx| I125: TOOLS received request in VMX to set option 'synctime' -> '0'
2017-10-07T03:46:19.546-05:00| vmx| A100: ConfigDB: Setting tools.syncTime = "FALSE"
2017-10-07T03:46:19.553-05:00| vmx| I125: Msg_Post: Error
2017-10-07T03:46:19.553-05:00| vmx| I125: [msg.vnet.connectvnet] Could not connect 'Ethernet2' to virtual network '/dev/vmnet0'. More information can be found in the vmware.log file.
2017-10-07T03:46:19.553-05:00| vmx| I125: [msg.device.badconnect] Failed to connect virtual device 'Ethernet2'.
2017-10-07T03:46:19.553-05:00| vmx| I125: ----------------------------------------
2017-10-07T03:51:34.104-05:00| vmx| I125: GuestRpcSendTimedOut: message to toolbox-dnd timed out.
2017-10-07T03:51:37.712-05:00| vmx| I125: VNET: MACVNetPortOpenDevice: Ethernet1: can't open vmnet device (No such file or directory)
2017-10-07T03:51:37.712-05:00| vmx| I125: VNET: MACVNetPort_Connect: Ethernet1: can't open data fd
2017-10-07T03:51:37.713-05:00| vmx| I125: TOOLS received request in VMX to set option 'synctime' -> '0'
2017-10-07T03:51:37.713-05:00| vmx| A100: ConfigDB: Setting tools.syncTime = "FALSE"
2017-10-07T03:51:37.720-05:00| vmx| I125: Msg_Post: Error
2017-10-07T03:51:37.720-05:00| vmx| I125: [msg.vnet.connectvnet] Could not connect 'Ethernet1' to virtual network '/dev/vmnet1'. More information can be found in the vmware.log file.
2017-10-07T03:51:37.720-05:00| vmx| I125: [msg.device.badconnect] Failed to connect virtual device 'Ethernet1'.

重新启动服务后:

root@kali:~/Desktop/Miscellanous/0-restart# /etc/init.d/vmware restart
Stopping VMware services:
   VMware Authentication Daemon                                        done
   VM communication interface socket family                            done
   Virtual machine communication interface                             done
   Virtual machine monitor                                             done
   Blocking file system                                                done
Starting VMware services:
   Virtual machine monitor                                             done
   Virtual machine communication interface                             done
   VM communication interface socket family                            done
   Blocking file system                                                done
   Virtual ethernet                                                   failed
   VMware Authentication Daemon                                        done
root@kali:~/Desktop# sudo vmware-modconfig --console --install-all
[AppLoader] GLib 不支持 GSettings。
停止 VMware 服务:
   VMware 身份验证守护进程已完成
   VM 通信接口套接字系列完成
   虚拟机通信接口完成
   虚拟机监控完成
   阻止文件系统已完成
make:进入目录“/tmp/modconfig-vDjnxF/vmmon-only”
使用内核构建系统。
/usr/bin/make -C /lib/modules/4.12.0-kali2-amd64/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/.\
  MODULEBUILDDIR= 模块
make[1]: 进入目录 '/usr/src/linux-headers-4.12.0-kali2-amd64'
  CC [M] /tmp/modconfig-vDjnxF/vmmon-only/linux/driverLog.o
  CC [M] /tmp/modconfig-vDjnxF/vmmon-only/linux/driver.o
  CC [M] /tmp/modconfig-vDjnxF/vmmon-only/linux/hostif.o
  CC [M] /tmp/modconfig-vDjnxF/vmmon-only/common/memtrack.o
  CC [M] /tmp/modconfig-vDjnxF/vmmon-only/common/apic.o
  CC [M] /tmp/modconfig-vDjnxF/vmmon-only/common/vmx86.o
  CC [M] /tmp/modconfig-vDjnxF/vmmon-only/common/cpuid.o
  CC [M] /tmp/modconfig-vDjnxF/vmmon-only/common/task.o
  CC [M] /tmp/modconfig-vDjnxF/vmmon-only/common/hashFunc.o
在从 /usr/src/linux-headers-4.12.0-kali2-common/arch/x86/include/asm/msr.h:4:0 包含的文件中,
                 来自 /usr/src/linux-headers-4.12.0-kali2-common/arch/x86/include/asm/processor.h:20,
                 来自 /usr/src/linux-headers-4.12.0-kali2-common/arch/x86/include/asm/cpufeature.h:4,
                 来自 /usr/src/linux-headers-4.12.0-kali2-common/arch/x86/include/asm/thread_info.h:52,
                 来自 /usr/src/linux-headers-4.12.0-kali2-common/include/linux/thread_info.h:37,
                 来自 /usr/src/linux-headers-4.12.0-kali2-common/arch/x86/include/asm/preempt.h:6,
                 来自 /usr/src/linux-headers-4.12.0-kali2-common/include/linux/preempt.h:80,
                 来自 /usr/src/linux-headers-4.12.0-kali2-common/include/linux/spinlock.h:50,
                 来自 /usr/src/linux-headers-4.12.0-kali2-common/arch/x86/include/asm/mmu.h:4,
                 来自 /usr/src/linux-headers-4.12.0-kali2-common/arch/x86/include/asm/desc.h:6,
                 来自 /tmp/modconfig-vDjnxF/vmmon-only/common/task.c:70:
/usr/src/linux-headers-4.12.0-kali2-common/arch/x86/include/asm/msr-index.h:561:0: 警告:“MSR_MISC_FEATURES_ENABLES”已重新定义
 #定义 MSR_MISC_FEATURES_ENABLES 0x00000140

在 /tmp/modconfig-vDjnxF/vmmon-only/common/vmx86.h:32:0 包含的文件中,
                 来自 /tmp/modconfig-vDjnxF/vmmon-only/common/task.c:51:
/tmp/modconfig-vDjnxF/vmmon-only/./include/x86msr.h:115:0: 注意:这是先前定义的位置
 #定义 MSR_MISC_FEATURES_ENABLES 0x140

  CC [M] /tmp/modconfig-vDjnxF/vmmon-only/common/comport.o
在 /tmp/modconfig-vDjnxF/vmmon-only/common/vmx86.h:32:0 包含的文件中,
                 来自 /tmp/modconfig-vDjnxF/vmmon-only/common/vmx86.c:43:
/tmp/modconfig-vDjnxF/vmmon-only/./include/x86msr.h:115:0:警告:“MSR_MISC_FEATURES_ENABLES”重新定义
 #定义 MSR_MISC_FEATURES_ENABLES 0x140

在从 /usr/src/linux-headers-4.12.0-kali2-common/arch/x86/include/asm/msr.h:4:0 包含的文件中,
                 来自 /usr/src/linux-headers-4.12.0-kali2-common/arch/x86/include/asm/processor.h:20,
                 来自 /usr/src/linux-headers-4.12.0-kali2-common/arch/x86/include/asm/cpufeature.h:4,
                 来自 /usr/src/linux-headers-4.12.0-kali2-common/arch/x86/include/asm/thread_info.h:52,
                 来自 /usr/src/linux-headers-4.12.0-kali2-common/include/linux/thread_info.h:37,
                 来自 /usr/src/linux-headers-4.12.0-kali2-common/arch/x86/include/asm/preempt.h:6,
                 来自 /usr/src/linux-headers-4.12.0-kali2-common/include/linux/preempt.h:80,
                 来自 /usr/src/linux-headers-4.12.0-kali2-common/include/linux/spinlock.h:50,
                 来自 /usr/src/linux-headers-4.12.0-kali2-common/include/linux/rcupdate.h:38,
                 来自 /usr/src/linux-headers-4.12.0-kali2-common/include/linux/rculist.h:10,
                 来自 /usr/src/linux-headers-4.12.0-kali2-common/include/linux/pid.h:4,
                 来自 /usr/src/linux-headers-4.12.0-kali2-common/include/linux/sched.h:13,
                 来自 /tmp/modconfig-vDjnxF/vmmon-only/common/vmx86.c:31:
/usr/src/linux-headers-4.12.0-kali2-common/arch/x86/include/asm/msr-index.h:561:0: 注意:这是上一个定义的位置
 #定义 MSR_MISC_FEATURES_ENABLES 0x00000140

  CC [M] /tmp/modconfig-vDjnxF/vmmon-only/common/phystrack.o
  CC [M] /tmp/modconfig-vDjnxF/vmmon-only/vmcore/moduleloop.o
  CC [M] /tmp/modconfig-vDjnxF/vmmon-only/bootstrap/monLoaderVmmon.o
  CC [M] /tmp/modconfig-vDjnxF/vmmon-only/bootstrap/monLoader.o
在从 /tmp/modconfig-vDjnxF/vmmon-only/./include/vm_asm.h:43:0 包含的文件中,
                 来自 /tmp/modconfig-vDjnxF/vmmon-only/linux/hostif.c:60:
/tmp/modconfig-vDjnxF/vmmon-only/./include/x86msr.h:115:0:警告:“MSR_MISC_FEATURES_ENABLES”重新定义
 #定义 MSR_MISC_FEATURES_ENABLES 0x140

在从 /usr/src/linux-headers-4.12.0-kali2-common/arch/x86/include/asm/msr.h:4:0 包含的文件中,
                 来自 /usr/src/linux-headers-4.12.0-kali2-common/arch/x86/include/asm/processor.h:20,
                 来自 /usr/src/linux-headers-4.12.0-kali2-common/arch/x86/include/asm/cpufeature.h:4,
                 来自 /usr/src/linux-headers-4.12.0-kali2-common/arch/x86/include/asm/thread_info.h:52,
                 来自 /usr/src/linux-headers-4.12.0-kali2-common/include/linux/thread_info.h:37,
                 来自 /usr/src/linux-headers-4.12.0-kali2-common/arch/x86/include/asm/preempt.h:6,
                 来自 /usr/src/linux-headers-4.12.0-kali2-common/include/linux/preempt.h:80,
                 来自 /usr/src/linux-headers-4.12.0-kali2-common/include/linux/spinlock.h:50,
                 来自 /usr/src/linux-headers-4.12.0-kali2-common/include/linux/rcupdate.h:38,
                 来自 /usr/src/linux-headers-4.12.0-kali2-common/include/linux/rculist.h:10,
                 来自 /usr/src/linux-headers-4.12.0-kali2-common/include/linux/pid.h:4,
                 来自 /usr/src/linux-headers-4.12.0-kali2-common/include/linux/sched.h:13,
                 来自 /usr/src/linux-headers-4.12.0-kali2-common/include/linux/binfmts.h:4,
                 来自 /tmp/modconfig-vDjnxF/vmmon-only/linux/hostif.c:32:
/usr/src/linux-headers-4.12.0-kali2-common/arch/x86/include/asm/msr-index.h:561:0: 注意:这是上一个定义的位置
 #定义 MSR_MISC_FEATURES_ENABLES 0x00000140

  CC [M] /tmp/modconfig-vDjnxF/vmmon-only/bootstrap/bootstrap.o
在 /tmp/modconfig-vDjnxF/vmmon-only/./common/vmx86.h:32:0 中包含的文件中,
                 来自 /tmp/modconfig-vDjnxF/vmmon-only/linux/driver.h:32,
                 来自 /tmp/modconfig-vDjnxF/vmmon-only/linux/driver.c:47:
/tmp/modconfig-vDjnxF/vmmon-only/./include/x86msr.h:115:0:警告:“MSR_MISC_FEATURES_ENABLES”重新定义
 #定义 MSR_MISC_FEATURES_ENABLES 0x140

在从 /usr/src/linux-headers-4.12.0-kali2-common/arch/x86/include/asm/msr.h:4:0 包含的文件中,
                 来自 /usr/src/linux-headers-4.12.0-kali2-common/arch/x86/include/asm/processor.h:20,
                 来自 /usr/src/linux-headers-4.12.0-kali2-common/arch/x86/include/asm/cpufeature.h:4,
                 来自 /usr/src/linux-headers-4.12.0-kali2-common/arch/x86/include/asm/thread_info.h:52,
                 来自 /usr/src/linux-headers-4.12.0-kali2-common/include/linux/thread_info.h:37,
                 来自 /usr/src/linux-headers-4.12.0-kali2-common/arch/x86/include/asm/preempt.h:6,
                 来自 /usr/src/linux-headers-4.12.0-kali2-common/include/linux/preempt.h:80,
                 来自 /usr/src/linux-headers-4.12.0-kali2-common/include/linux/spinlock.h:50,
                 来自 /usr/src/linux-headers-4.12.0-kali2-common/include/linux/wait.h:8,
                 来自 /usr/src/linux-headers-4.12.0-kali2-common/include/linux/fs.h:5,
                 来自 /usr/src/linux-headers-4.12.0-kali2-common/include/linux/highmem.h:4,
                 来自 /tmp/modconfig-vDjnxF/vmmon-only/linux/driver.c:25:
/usr/src/linux-headers-4.12.0-kali2-common/arch/x86/include/asm/msr-index.h:561:0: 注意:这是上一个定义的位置
 #定义 MSR_MISC_FEATURES_ENABLES 0x00000140

在 /tmp/modconfig-vDjnxF/vmmon-only/./common/vmx86.h:32:0 中包含的文件中,
                 来自 /tmp/modconfig-vDjnxF/vmmon-only/vmcore/moduleloop.c:35:
/tmp/modconfig-vDjnxF/vmmon-only/./include/x86msr.h:115:0:警告:“MSR_MISC_FEATURES_ENABLES”重新定义
 #定义 MSR_MISC_FEATURES_ENABLES 0x140

在从 /usr/src/linux-headers-4.12.0-kali2-common/arch/x86/include/asm/msr.h:4:0 包含的文件中,
                 来自 /usr/src/linux-headers-4.12.0-kali2-common/arch/x86/include/asm/processor.h:20,
                 来自 /usr/src/linux-headers-4.12.0-kali2-common/arch/x86/include/asm/cpufeature.h:4,
                 来自 /usr/src/linux-headers-4.12.0-kali2-common/arch/x86/include/asm/thread_info.h:52,
                 来自 /usr/src/linux-headers-4.12.0-kali2-common/include/linux/thread_info.h:37,
                 来自 /usr/src/linux-headers-4.12.0-kali2-common/arch/x86/include/asm/preempt.h:6,
                 来自 /usr/src/linux-headers-4.12.0-kali2-common/include/linux/preempt.h:80,
                 来自 /usr/src/linux-headers-4.12.0-kali2-common/include/linux/spinlock.h:50,
                 来自 /usr/src/linux-headers-4.12.0-kali2-common/include/linux/rcupdate.h:38,
                 来自 /usr/src/linux-headers-4.12.0-kali2-common/include/linux/rculist.h:10,
                 来自 /usr/src/linux-headers-4.12.0-kali2-common/include/linux/pid.h:4,
                 来自 /usr/src/linux-headers-4.12.0-kali2-common/include/linux/sched.h:13,
                 来自 /tmp/modconfig-vDjnxF/vmmon-only/vmcore/moduleloop.c:31:
/usr/src/linux-headers-4.12.0-kali2-common/arch/x86/include/asm/msr-index.h:561:0: 注意:这是上一个定义的位置
 #定义 MSR_MISC_FEATURES_ENABLES 0x00000140

/tmp/modconfig-vDjnxF/vmmon-only/linux/driver.c:981:1: 警告:always_inline 函数可能无法内联 [-Wattributes]
 LinuxDriverSyncReadTSCs(uint64 *delta) //输出:TSC 最大值 - TSC 最小值
 ^~~~~~~~~~~~~~~~~~~~~~~~~
  LD [M] /tmp/modconfig-vDjnxF/vmmon-only/vmmon.o
  构建模块,第 2 阶段。
  MODPOST 1 模块
  CC /tmp/modconfig-vDjnxF/vmmon-only/vmmon.mod.o
  LD [M] /tmp/modconfig-vDjnxF/vmmon-only/vmmon.ko
make[1]: 离开目录‘/usr/src/linux-headers-4.12.0-kali2-amd64’
/usr/bin/make -C $PWD SRCROOT=$PWD/。\
  MODULEBUILDDIR= 构建后
make[1]: 进入目录 '/tmp/modconfig-vDjnxF/vmmon-only'
make[1]:‘postbuild’是最新的。
make[1]: 离开目录‘/tmp/modconfig-vDjnxF/vmmon-only’
cp -f vmmon.ko ././vmmon.o
make:离开目录‘/tmp/modconfig-vDjnxF/vmmon-only’
make:进入目录“/tmp/modconfig-vDjnxF/vmnet-only”
使用内核构建系统。
/usr/bin/make -C /lib/modules/4.12.0-kali2-amd64/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/.\
  MODULEBUILDDIR= 模块
make[1]: 进入目录 '/usr/src/linux-headers-4.12.0-kali2-amd64'
  CC [M] /tmp/modconfig-vDjnxF/vmnet-only/driver.o
  CC [M] /tmp/modconfig-vDjnxF/vmnet-only/hub.o
  CC [M] /tmp/modconfig-vDjnxF/vmnet-only/userif.o
  CC [M] /tmp/modconfig-vDjnxF/vmnet-only/netif.o
  CC [M] /tmp/modconfig-vDjnxF/vmnet-only/bridge.o
  CC [M] /tmp/modconfig-vDjnxF/vmnet-only/procfs.o
  CC [M] /tmp/modconfig-vDjnxF/vmnet-only/smac.o
  CC [M] /tmp/modconfig-vDjnxF/vmnet-only/smac_compat.o
  CC [M] /tmp/modconfig-vDjnxF/vmnet-only/vnetEvent.o
在从 /usr/src/linux-headers-4.12.0-kali2-common/include/linux/pci.h:36:0 包含的文件中,
                 来自 /tmp/modconfig-vDjnxF/vmnet-only/compat_netdevice.h:27,
                 来自 /tmp/modconfig-vDjnxF/vmnet-only/netif.c:43:
/usr/src/linux-headers-4.12.0-kali2-common/include/linux/pci_ids.h:2258:0: 警告:“PCI_VENDOR_ID_VMWARE”已重新定义
 #定义 PCI_VENDOR_ID_VMWARE 0x15ad

在 /tmp/modconfig-vDjnxF/vmnet-only/net.h:38:0 包含的文件中,
                 来自 /tmp/modconfig-vDjnxF/vmnet-only/vnetInt.h:26,
                 来自 /tmp/modconfig-vDjnxF/vmnet-only/netif.c:42:
/tmp/modconfig-vDjnxF/vmnet-only/vm_device_version.h:56:0: 注意:这是先前定义的位置
 #定义 PCI_VENDOR_ID_VMWARE 0x15AD

在从 /usr/src/linux-headers-4.12.0-kali2-common/include/linux/pci.h:36:0 包含的文件中,
                 来自 /tmp/modconfig-vDjnxF/vmnet-only/compat_netdevice.h:27,
                 来自 /tmp/modconfig-vDjnxF/vmnet-only/netif.c:43:
/usr/src/linux-headers-4.12.0-kali2-common/include/linux/pci_ids.h:2259:0: 警告:“PCI_DEVICE_ID_VMWARE_VMXNET3”已重新定义
 #定义 PCI_DEVICE_ID_VMWARE_VMXNET3 0x07b0

在 /tmp/modconfig-vDjnxF/vmnet-only/net.h:38:0 包含的文件中,
                 来自 /tmp/modconfig-vDjnxF/vmnet-only/vnetInt.h:26,
                 来自 /tmp/modconfig-vDjnxF/vmnet-only/netif.c:42:
/tmp/modconfig-vDjnxF/vmnet-only/vm_device_version.h:73:0: 注意:这是先前定义的位置
 #定义 PCI_DEVICE_ID_VMWARE_VMXNET3 0x07B0

  CC [M] /tmp/modconfig-vDjnxF/vmnet-only/vnetUserListener.o
在 /tmp/modconfig-vDjnxF/vmnet-only/net.h:38:0 包含的文件中,
                 来自 /tmp/modconfig-vDjnxF/vmnet-only/vnetInt.h:26,
                 来自 /tmp/modconfig-vDjnxF/vmnet-only/bridge.c:53:
/tmp/modconfig-vDjnxF/vmnet-only/vm_device_version.h:56:0:警告:“PCI_VENDOR_ID_VMWARE”重新定义
 #定义 PCI_VENDOR_ID_VMWARE 0x15AD

在从 /usr/src/linux-headers-4.12.0-kali2-common/include/linux/pci.h:36:0 包含的文件中,
                 来自 /tmp/modconfig-vDjnxF/vmnet-only/compat_netdevice.h:27,
                 来自 /tmp/modconfig-vDjnxF/vmnet-only/bridge.c:52:
/usr/src/linux-headers-4.12.0-kali2-common/include/linux/pci_ids.h:2258:0: 注意:这是前一个定义的位置
 #定义 PCI_VENDOR_ID_VMWARE 0x15ad

在 /tmp/modconfig-vDjnxF/vmnet-only/net.h:38:0 包含的文件中,
                 来自 /tmp/modconfig-vDjnxF/vmnet-only/vnetInt.h:26,
                 来自 /tmp/modconfig-vDjnxF/vmnet-only/bridge.c:53:
/tmp/modconfig-vDjnxF/vmnet-only/vm_device_version.h:73:0:警告:“PCI_DEVICE_ID_VMWARE_VMXNET3”重新定义
 #定义 PCI_DEVICE_ID_VMWARE_VMXNET3 0x07B0

在从 /usr/src/linux-headers-4.12.0-kali2-common/include/linux/pci.h:36:0 包含的文件中,
                 来自 /tmp/modconfig-vDjnxF/vmnet-only/compat_netdevice.h:27,
                 来自 /tmp/modconfig-vDjnxF/vmnet-only/bridge.c:52:
/usr/src/linux-headers-4.12.0-kali2-common/include/linux/pci_ids.h:2259:0: 注意:这是前一个定义的位置
 #定义 PCI_DEVICE_ID_VMWARE_VMXNET3 0x07b0

  LD [M] /tmp/modconfig-vDjnxF/vmnet-only/vmnet.o
  构建模块,第 2 阶段。
  MODPOST 1 模块
  CC /tmp/modconfig-vDjnxF/vmnet-only/vmnet.mod.o
  LD [M] /tmp/modconfig-vDjnxF/vmnet-only/vmnet.ko
make[1]: 离开目录‘/usr/src/linux-headers-4.12.0-kali2-amd64’
/usr/bin/make -C $PWD SRCROOT=$PWD/。\
  MODULEBUILDDIR= 构建后
make[1]: 进入目录‘/tmp/modconfig-vDjnxF/vmnet-only’
make[1]:‘postbuild’是最新的。
make[1]: 离开目录‘/tmp/modconfig-vDjnxF/vmnet-only’
cp -f vmnet.ko ././vmnet.o
make:离开目录‘/tmp/modconfig-vDjnxF/vmnet-only’
启动 VMware 服务:
   虚拟机监控完成
   虚拟机通信接口完成
   VM 通信接口套接字系列完成
   阻止文件系统已完成
   虚拟以太网失败
   VMware 身份验证守护进程已完成
无法启动服务
root@kali:~/Desktop# sudo vmware-modconfig --console --install-all

此外,已重新编译,结果仍然相同。

答案1

我在使用 ubuntu 17.10 和 Workstation 14.0.0 时也遇到过类似的问题。

我已经将许多最初在 Windows 上创建的虚拟机迁移到此框中。每台机器都有两个网络适配器;一个 NAT(vmnet8),一个仅主机(vmnet1)。仅主机(vmnet1)将拒绝连接,并显示与上述相同的消息。我已使用“命令vmware-netcfg“命令。这似乎已经解决了问题。我需要两个适配器,以便当主机未连接到网络时,虚拟机仍然可以相互通信。

高血压

缺口

答案2

我遇到的问题是,我的硬件中有安全启动,因此内核模块vmnet.ko和在命令vmmon.ko期间成功编译,sudo vmware-modconfig --console --install-all但由于未签名,因此无法加载。出于某种原因,生成的日志文件/tmp/vmware-root/没有对此发出警告。我所做的是对以下两个模块进行签名本教程(这是针对 Ubuntu 的教程,我使用的是 Ubuntu),然后用 加载它们modprobe。然后使用 重新启动 vmware 服务 /etc/init.d/vmware restart

相关内容