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

  • 相关阅读:
    点击按钮倒计时
    js实现-小框框全选
    CSS文字,文本,背景,盒模型等记录
    xps9560黑苹果展示
    面试——谈谈你对抽象和接口的理解(小知识大考点)
    谈谈你对Java 面向对象思想的理解
    谈谈你对Java 平台的理解
    HashMap1.7 问题总结
    2.3.2 InnoDB内存
    2.3 InnoDB 体系架构
  • 原文地址:https://www.cnblogs.com/zhuangliu/p/8980339.html
Copyright © 2011-2022 走看看