Access the internet in the vmware Virtual linux Lan-general Linux technology-Linux technology and application information. The following is a detailed description. For linux beginners, it is best to use vmware to virtualize a linux instance in windows. If it is a LAN, NAT is the easiest way to use.
Use VMnet8. After the installation is complete, select the NAT mode and use ipconfig on the windows host to view the VMnet8 IP address. Run-> cmd-> ipconfig-all
Generally 192.168.X.1/255.255.255.0
In this case, if you set VMnet8 to automatically obtain the IP address, change it to a static IP address, and enter this IP address in VMnet8. Be sure not to set a gateway.
Check VMnet8 In the NAT entry in the vmware network settings, which is usually 192.168.X.2/255.255.255.0 ......
The address is VMnet8, the NAT gateway.
Now, in LINUX, set the IP address range of the network adapter IPaddress and VMnet8 (192.168.X.Z/255.255.255.0), and set the gateway to the IP address 192.168.x. 2 you just viewed.
In Linux, set the DNS to the DNS of your Host OS. Then you can access the Internet.
This article uses vmwarte + ubuntu7.10, vmware + fc9.0.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service