zoukankan      html  css  js  c++  java
  • linux vmware 虚拟机网络连接状态

     
    安装vmware 时 虚拟机机网络连接状态的转换
     一:在连接虚拟机网卡的时候包如下错误
     

    Could not connect Ethernet0 to virtual network "/dev/vmnet8". More information can be found in the VMware.log file.

     
    Failed to connect virtual device Ethernet0
     
    在网上找了一下资料主要是因为vmware的虚拟网卡模块没有加载。
    vmware 关于网络的命令

    [root@pospweb ~]# vmware-networks  -h
    vmware-networks version: 0.1
    Usage: vmware-networks [--verbose | -v] <option>
    Use exactly one of these commands:
      --postinstall <component-name>,<old-version>,<new-version>
      --migrate-network-settings <location of settings file>
      --install-host-policy [<subnet>,<dhcp=0|1>]
      --uninstall-host-policy
      --start
      --stop
      --status

    Additional options:
      --help | -h
      --version


    hehgde

     start vmware虚拟网卡

    [root@pospweb ~]# vmware-networks  --start
    Started Bridge networking on vmnet0
    Failed to start DHCP service on vmnet1
    Failed to enable hostonly virtual adapter on vmnet1
    Failed to start DHCP service on vmnet8
    Failed to start NAT service on vmnet8
    Failed to enable hostonly virtual adapter on vmnet8
    Started Network detection service
    Failed to start some/all services

     启动不起来主要是vmware虚拟网卡的模块没有加载

    加载模块

    [root@pospweb ~]# modprobe vmnet

    启动虚拟网卡
    [root@pospweb ~]# vmware-networks  --start
    Started Bridge networking on vmnet0
    Started DHCP service on vmnet1
    Enabled hostonly virtual adapter on vmnet1
    Started DHCP service on vmnet8
    Started NAT service on vmnet8
    Enabled hostonly virtual adapter on vmnet8
    Started Network detection service
    Started all configured services on all networks

  • 相关阅读:
    JAVA网络编程入门
    悲观锁和乐观锁
    原子性---Atomic
    volatile关键字
    leetcode_111. 二叉树的最小深度
    leetcode_110. 平衡二叉树
    leetcode_108. 将有序数组转换为二叉搜索树
    leetcode_107. 二叉树的层次遍历 II
    leetcode_104. 二叉树的最大深度
    leetcode_101. 对称二叉树
  • 原文地址:https://www.cnblogs.com/zhuangliu/p/8980339.html
Copyright © 2011-2022 走看看