go4321 发表于 2015-4-5 17:56:19

修改vmware的网卡类型

  参见VMware Guest Operating System Installation Guide中的内容可知:
  
  vmware workstation的默认网卡是AMD PCNet AM79C970A,可以改变网卡配置,虚拟出Intel(R) PRO/1000和VMware PCI Ethernet Adapter网卡。

在.vmx文件中添加或修改如下语句:
ethernet0.virtualDev = "e1000"

值为"e1000"指定网卡类型为Intel(R) PRO/1000
值为"vlance"指定网卡类型为AMD PCNet AM79C970A(默认为此项)

  值为"vmxnet"指定网卡类型为VMware PCI Ethernet Adapter
  
  

  
  
  下面是VMware Guest Operating System Installation Guide中的一段内容:

The AMD Ethernet card driver included with certainWindows Vista builds—including 4074 and possibly others—does not work correctlyor is not included with Windows. To use networking in these Windows Vista guestoperating systems, you must change the network adapter. A driver for the vmxnetadapter is included in VMware Tools.
VMware GSX Server: ChooseVM > Settings >Network Adapter (Windows) or VM > Settings > NIC (Linux), and select vmxnet as the virtual device to use. Then install VMwareTools. A driver for the vmxnet adapter is included in VMware Tools.
VMware Workstation 4.x or lower,or VMware ACE, on a Windows host: Use a text editor such as Notepad toedit the configuration (.vmx) file for your WindowsVista virtual machine. Add the following line:
Ethernet.virtualDev = "vmxnet"
Replace with thenumber of the Ethernet adapter. The first Ethernet adapter is number 0, so theline for that adapter is
Ethernet0.virtualDev = "vmxnet"
Include a line for each Ethernet adapter configuredfor the virtual machine. Then install VMware Tools. A driver for the vmxnetadapter is included in VMware Tools.
VMware Workstation 4.x or lower ona Linux host: Choose VM > Settings, select NetworkAdapter, and then select vmxnet as thevirtual device to use. Then install VMware Tools. A driver for the vmxnetadapter is included in VMware Tools.
VMware Workstation 5.0.x:Install VMware Tools. A driver for the network adapter is included in VMwareTools.
VMware Workstation 5.5.x andVMware Server 1.x: Install VMware Tools. A vmxnet driver for the networkadapter is included in VMware Tools. Installing VMware Tools automaticallyswitches the network adapter to vmxnet, and installs the vmxnet driver.
Alternatively, you can change the network adapterto e1000 (the Intel® PRO/1000 MT Adapter) before installing Windows Vista. Use atext editor such as Notepad to edit the configuration (.vmx) file for your Windows Vista virtual machine. Add thefollowing line:
Ethernet.virtualDev = "e1000"
Replace with thenumber of the Ethernet adapter. The first Ethernet adapter is number 0, so theline for that adapter is
Ethernet0.virtualDev = "e1000"
Include a line for each Ethernet adapter configuredfor the virtual machine.
ESX Server 2.x: In theHardware page, under Network Adapter, click Edit.In the Network Adapter page, in the Device Bindinglist, select the virtual network device that you want the virtual machine touse. In the Virtual Device list, choose vmxnet.Then install VMware Tools. A driver for the vmxnet adapter is included in VMwareTools.
ESX Server 3.x: InstallVMware Tools. A vmxnet driver for the network adapter is included in VMwareTools. Installing VMware Tools automatically switches the network adapter tovmxnet, and installs the vmxnet driver.
Alternatively, you can change the network adapterto e1000 (the Intel® PRO/1000 MT Adapter) before installing Windows Vista. Use atext editor such as Notepad to edit the configuration (.vmx) file for your Windows Vista virtual machine. Add thefollowing line:
Ethernet.virtualDev = "e1000"
Replace with thenumber of the Ethernet adapter. The first Ethernet adapter is number 0, so theline for that adapter is
Ethernet0.virtualDev = "e1000"
Include a line for each Ethernet adapter configuredfor the virtual machine.  
  
页: [1]
查看完整版本: 修改vmware的网卡类型