修改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 certain Windows Vista builds—including 4074 and possibly others—does not work correctly or is not included with Windows. To use networking in these Windows Vista guest operating systems, you must change the network adapter. A driver for the vmxnet adapter is included in VMware Tools.
VMware GSX Server: Choose VM > Settings > Network Adapter (Windows) or VM > Settings > NIC (Linux), and select vmxnet as the virtual device to use. Then install VMware Tools. 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 to edit the configuration (.vmx) file for your Windows Vista virtual machine. Add the following line:
Ethernet[n].virtualDev = "vmxnet"
Replace [n] with the number of the Ethernet adapter. The first Ethernet adapter is number 0, so the line for that adapter is
Ethernet0.virtualDev = "vmxnet"
Include a line for each Ethernet adapter configured for the virtual machine. Then install VMware Tools. A driver for the vmxnet adapter is included in VMware Tools.
VMware Workstation 4.x or lower on a Linux host: Choose VM > Settings, select Network Adapter, and then select vmxnet as the virtual device to use. Then install VMware Tools. A driver for the vmxnet adapter is included in VMware Tools.
VMware Workstation 5.0.x: Install VMware Tools. A driver for the network adapter is included in VMware Tools.
VMware Workstation 5.5.x and VMware Server 1.x: Install VMware Tools. A vmxnet driver for the network adapter is included in VMware Tools. Installing VMware Tools automatically switches the network adapter to vmxnet, and installs the vmxnet driver.
Alternatively, you can change the network adapter to e1000 (the Intel® PRO/1000 MT Adapter) before installing Windows Vista. Use a text editor such as Notepad to edit the configuration (.vmx) file for your Windows Vista virtual machine. Add the following line:
Ethernet[n].virtualDev = "e1000"
Replace [n] with the number of the Ethernet adapter. The first Ethernet adapter is number 0, so the line for that adapter is
Ethernet0.virtualDev = "e1000"
Include a line for each Ethernet adapter configured for the virtual machine.
ESX Server 2.x: In the Hardware page, under Network Adapter, click Edit. In the Network Adapter page, in the Device Binding list, select the virtual network device that you want the virtual machine to use. In the Virtual Device list, choose vmxnet. Then install VMware Tools. A driver for the vmxnet adapter is included in VMware Tools.
ESX Server 3.x: Install VMware Tools. A vmxnet driver for the network adapter is included in VMware Tools. Installing VMware Tools automatically switches the network adapter to vmxnet, and installs the vmxnet driver.
Alternatively, you can change the network adapter to e1000 (the Intel® PRO/1000 MT Adapter) before installing Windows Vista. Use a text editor such as Notepad to edit the configuration (.vmx) file for your Windows Vista virtual machine. Add the following line:
Ethernet[n].virtualDev = "e1000"
Replace [n] with the number of the Ethernet adapter. The first Ethernet adapter is number 0, so the line for that adapter is
Ethernet0.virtualDev = "e1000"
Include a line for each Ethernet adapter configured for the virtual machine.

 


posted @ 2008-08-21 11:17  h2appy  阅读(2406)  评论(0编辑  收藏  举报