1 Platform
HOST: Windows XP SP3
VMware 7.1.2 in Chinese
Ubuntu 10.04
2 configuration method
2.1 install VMware 7 by yourself and install Ubuntu 10.04 on it. Before installing Ubuntu 10.04, You need to configure a Ubuntu Virtual Machine. When configuring the virtual machine, you will be prompted about the network connection method. Here, select the NAT method.
Of course, this networking method can also be set in "Virtual Machine-" Settings "in" Virtual Machine-"Virtual Machine" 7 menu after Ubuntu 10.04 is installed. After the "Virtual Machine Settings" panel is opened, there is a "network adapter" option in the "hardware" column. After you select it, the "Network Connection" option appears on the right side of the Panel, select "Nat. :
Click Open Link
2.2 On the Virtual Machine menu bar, select "edit-" Edit Virtual Network "to open the following panel and select vmnet8 in the panel, at this time, the "vmnet" column below will also have relevant changes. Remove the "use local DHCP service to assign Virtual Machine IP addresses" option.
Click Open Link
You can set the IP address on your own. By default, the virtual opportunity is assigned a CIDR block that switches to 192.168. In this case, I set the subnet to 172.20.99.0, and modify the corresponding "nat Settings.
2.3 modify the virtual network card vmnet in the "Network Connection" on the host, that is, your XP system, and set its DNS to the same as that on your host's XP system.
2.4 configure the corresponding IP address in Ubuntu 11.04, and configure its DNS to the same Internet DNS as your host XP system. The default gateway is consistent with the gateway settings in "nat Settings.
2.5 restart the Ubuntu 11.04 network. The command is sudo/etc/init. d/networking restart.
2.6 as a result, you should be able to access the Internet using NAT.