Workaround for Windows 7 NAT with VMware Virtual machine is not available online

Source: Internet
Author: User

Copyright notice: When reproduced, please indicate the original source and author information and this statement in the form of hyperlinks.
Http://fanlb.blogbus.com/logs/63808731.html

Symptoms:
You can ping through using NAT mode, but you can't open a webpage.

Workaround:

1, first to set up a virtual machine system for the NAT Internet mode


2, and then in the host's "Local Connection" settings shared to "local connection 3" (there may also be local connection 4, mainly to see which network card NAT is using), if it is PPPoE login mode, the broadband connection is shared


3, set the "Local Connection 3" property, DNS to fill in a can be used (also can not fill, preferably write on), and then remember the IP address


4, next to the virtual machine system to set up a local connection

The "gateway" of the virtual machine host is the IP address of the physical host's "Local Area Connection 3", and the subnet mask is the same as the physical host's "local Connection 3", typically 255.255.255.0, the IP guarantee of the virtual machine is a C segment.


Note: Be sure to write DNS on the network card of the virtual machine, if you do not write it will not be able to surf the Internet.

----------------------------------------------------------------

Method 2

Recently the system was upgraded to Windows 7, and it took a few days to be good, no problem. However, when running the VMware virtual machine, the problem arises and the virtual machine cannot be connected to the Internet. So Google, solve the problem.

Online Although there are solutions, but the introduction is not very detailed, at least I did not understand the first time, and found more than 10 URLs are exactly the same, even the picture has not changed.

Running VMware virtual machines on Vista is using NAT to surf the internet, which is not available in Windows 7. In the network and Sharing Center to look at the original is VMware created virtual connection is classified as a public network, unable to connect to the Internet. The home network was connected to the Internet, so I tried to move VMware's virtual connection to the home network, but without a result, there was no way.

So Google on the Internet, find a solution. Although the method is online, not my original, but I will introduce it more specific details.

First open the Windows 7 Network and Sharing Center , then click Change Adapter Settings on the left, you will see two virtual connections created by VMware, find VMnet1 , and remember its connection name (my local connection 2).

Then right-click on the connection you are currently using (e.g. I'm using a wireless network connection) Select Properties, put all the hooks on, and then select the name of the VMnet1 connection in your home network connection (for example, my local connection 2). Just like this:

Then select the VMnet1 connection, select Properties, double-click Internet Protocol version 4 , manually set the IP address, the default is 192.168.137.1, so you can. Be careful not to be in the same network segment as the connection you are currently using.

The settings on the host are complete. Run the virtual machine, I installed the virtual machine for Windows XP, like just set up the virtual machine in the current use of the connection, my local connection, the IP address is set to the same host VMnet1 IP unified network segment, 192.168.137.2 can, subnet mask using the default, The gateway is set to VMnet1 address, that is, I just 192.168.137.1, the other DNS can be set by itself, you can also use my 202.102.154.3.

Finally, select the settings for the virtual machine, set the network adapter to Host-only,

OK, so you can surf the Internet in the virtual machine.

In addition, I found that the virtual connection created by VirtualBox was also attributed to the public connection being unable to connect to the Internet, so VirtualBox should be in trouble with Windows 7 like VMware, You can follow the VMware approach to set up an Internet connection for VirtualBox.


Source: >  

From for notes (Wiz)

Workaround for Windows 7 NAT with VMware Virtual machine is not available online

Related Article

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.