[转]VMPlayer的Briged网络配置

VMware、VMware Player、VirtualBox、Windows Virtual PC等虚拟机软件都提供
了桥接(bridged)、网络地址转换(network address translation,NAT)和内
部网络(host-only,虚拟机不能连通外部网络)这三种网络选项来配置虚拟机的虚
拟网络。

VirtualBox安装后只会创建一个Host-only虚拟网卡,桥接和NAT都能正常使用。

Windows Virtual PC(Win7的XP Mode)安装后,都没有虚拟网卡,除了使用桥接
网络类型,主机均无法通过IP访问XP虚拟机的服务,当然也ping不通了,网络功能
比较弱。

VMware Workstation一切正常。

VMware Player安装后只有VMnet1和VMnet8这2个虚拟网卡,没有VMware Network
Adapter VMnet0,桥接网卡不会单独显示的。

下面是VMware虚拟网卡的说明:
网络类型    网络适配器名
Bridged      VMnet0
NAT          VMnet8
Host-only    VMnet1


目前系统使用了多种虚拟机软件,如何能让VMware Workstation、VMware Player、
VirtualBox、Windows Virtual PC等各种虚拟机系统互通访问呢?只能使用桥接网络。

上述虚拟机软件里,唯独VMware Player不能正常使用桥接网络,如何解决?

不要以为桥接就是添加一个VMnet0虚拟网卡!实际上解决方法是添加网络服务,
以Windows7为例,【控制面板网络和 Internet网络连接】
右键点击“本地连接”,“属性——网络——安装——服务——添加——从磁盘安装
——浏览”,然后定位到VMware Player的安装目录,选择netbridge.inf文件,比如
C:Program Files (x86)VMwareVMware Player etbridge.inf
确定之后,出现“选择网络服务”窗口,选择网络服务“VMware Bridge Protocol”
再次确定之后,确认该网络服务是选中状态,重启系统后即可在VMware Player里正
常使用桥接网络(Virtual Machine Settings——Hardware——Network Adapter——
Network connection——Bridged: Connected directly to the physical network)。

注:在任意物理网卡(本地连接或者无线网络连接)里添加网络服务VMware Bridge
Protocol都可以。

由于VMware Player不能指定桥接的物理网卡,所以当切换网络时桥接网络也提示出错。
比如无线变有线并禁用了无线网卡,桥接用Replicate还是记录上一个状态的网卡,不
Replicate则提示VMnet0没启动。因此切换物理网络时,不需要禁用网卡,在不使用的
网卡的属性里,不勾选“VMware Bridge Protocol”,
实在是有点麻烦啊!



解决方法的原文地址:
http://communities.vmware.com/thread/37514?start=15&tstart=0

问题:
Network bridge on device VMnet0 is not running

After installing vmware player, and starting the player I get the
following message:

The network bridge on device VMnet0 is not running. The virtual machine
will not be able to communicate with the host or with other machines on
your network. Virtual device Ethernet0 will start disconnected.

I have attempted to renew the ip address by running ifdown, and ifup,
but do not get a response. Any suggestions?


解决方法:
As for the other person still having trouble (?) You might note that when
you go into your Local Area Connection Properties, and click "Install..."
It's actually a "Service" that you want to install, (Not a protocol) and
you should see "VMware" there and just be able to select it on the left,
and select "VMware Bridge Protocol" on the right... (as in, you shouldn't
have to browse for an .inf) Then reboot.

本文来源:http://oicu.cc.blog.163.com/blog/static/12303947120117174842427/

原文地址:https://www.cnblogs.com/tukzer/p/3893652.html