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

  • 相关阅读:
    ASPxGridView控件的基本属性
    未整理笔记
    ASPxGridView中Command列自定义按钮点击事件概要
    Cookie的使用
    ASPxGridView行的选中和行的焦点
    改变“骨感”,让OKR变得“丰满”
    高成就者的5个共同点
    项目的风险管理
    实际执行动作对OKR目标落地的重要性
    13种公认的高绩效习惯
  • 原文地址:https://www.cnblogs.com/zhuangliu/p/8980339.html
Copyright © 2011-2022 走看看