Virtual Machine Linux under the NAT Internet access is not the same as Windows, Windows system as long as the direct choice of NAT Internet access, no other configuration, and Linux to use NAT to access the Internet need to do another setting.
VMware offers: bridging, Host only and Nat three networking ways. I personally think that the NAT method is simpler, use him to share the host's IP, which is suitable for each host to allow only one IP situation. The specific configuration is as follows:
1, VMware network connectivity is the choice of NAT mode.
2, click the VMware formula bar, find the virtual network configuration options, in the network configuration in the NAT entry to view the Vmnet8,nat gateway configured as 192.168.x.2. (x is an arbitrary value, which may be different from the following X, without having to manage it)
NAT service here must be a started state, otherwise the network does not pass
3, in Windows, to see any network connection, you should find in addition to the original network card, but also more Vmnet1 and Vmnet8. Vmnet1 is the interface of Hostonly, and VMNET8 is the network interface of the NAT we want to use.
4, on the Windows host with ipconfig view VMnet8 IP address, is generally 192.168.x.1. At this time VMnet8 configuration should be automatically obtain IP, now changed to static IP, and the IP directly into the VMNET8, do not set the gateway.
5, in Linux, configure the network card IP and VMnet8 a network segment of the IP (192.168.x.3/255.255.255.0) (here x and step fourth X for the same number)
6, in Linux under the gateway configuration into just look at the ip192.168.x.2 can be. (Linux gateway is VMnet8 IP set in Windows vmware)
7, in Linux under the same DNS and Windows host.
8, run the command service under Linux Network restart Linux network services.
9, Ping 192.168.x.1 under Linux, after Windows Ping 192.168.x.3 successfully confirmed that the host and virtual machines have been able to access each other, and now can also realize the virtual machine shared host IP Internet.
Excerpt from: http://hi.baidu.com/luxey/blog/item/930244465957d3066a63e546.html