Problem solving for VM virtual machine not being able to surf the internet

Source: Internet
Author: User

VM Virtual machine can not be the Internet problem solved    in front of the words: Many netizens read my article, the virtual machine or can not surf the internet, contact me to help, the results to help them to fix it, all said blame himself too careless, did not carefully read the article. I am not afraid of netizens trouble me, I sincerely hope that you must first carefully read the article, step by step according to the article operation, general Self can solve the problem. Indeed, please contact me!         VM virtual machine on the Internet, there are many netizens to help me, said the virtual machine can not surf the Internet. Today we will discuss the problem of VM VMs not being able to surf the Internet.     first of all, make it clear that VM VMs are not connected to the Internet without dial-up (unless you don't want VMS and hosts to surf the internet at the same time).     once the VM software is installed, you have 10 network connection types to choose from. respectively: VMnet0, VMnet1, VMnet2, VMnet3, VMnet4, VMnet5, VMnet6, VMnet7, VMnet8, VMnet9.     three common network connections used by VM VMS default: Bridging (bridge) is Vmnet0,nat with Vmnet8,host-onlywith VMnet1.     let's go ahead and say this.       first, let's take a look at the three types of network connections common to VM VMS: Bridge, NAT, host-only.       See: (Click on edit virtual machine settings, on the Hardware Options page, check the network adapter, right out)

1, Bridge: is the virtual machine through the VMnet0 Bridge to the host's local connection.

Now the virtual machine is connected with the outside world through VMNET0, now the virtual machine is equivalent to the host is the same as a physical network of a computer, said the popular is now the virtual machine is equivalent to your host in a network with another real computer. So to use the bridge to make the virtual machine online, the premise must be your host in the local area network, that is, your host Internet access to have a router, you can use the bridge to make the virtual machine online. As for the virtual machine's IP settings and your host, with no IP to see if your router is enabled DHCP and DNS, the host does not use the virtual machine, the host to set up the virtual machine also to set. do not use a bridge for those who use dial-up access and do not have a router.

2, NAT: is the network address translation, through the VMNET8 connection as a gateway to make the virtual machine through the host Internet.

Now the virtual machine is through the VMnet8 with the outside world, said the popular is between your host and virtual machine add a router, virtual machine through this router online. Nat Way does not consider so much, as long as you host can be online virtual machine can be online, so there is no special request to recommend the use of NAT.

3, Host-only: is the virtual machine and the host in a private network.

At this time the virtual machine can only communicate with the host, the default it is not Internet access. (Of course not absolutely, want to go online but to do another setup)

The above is just a simple introduction of VM virtual machine commonly used three kinds of network connection, the general use of NAT virtual machine is very easy to surf the internet, so there is no special request to recommend the use of NAT.

 

Second, virtual machine can not access the Internet how to do

Because everyone's understanding is different, we have less analysis, more talk about solutions. The following are the steps to solve the problem of NAT mode virtual machine cannot be online:

1, first look at the host network connection has a few, mainly to see if there is no VMnet1, VMnet8 two virtual machine network connection (the key is VMnet8).

Win XP system view in: Right click on My Network Places--Properties. Win7 system view in: Network (right click), properties, left click Change network adapter settings. )



This is not a concern for virtual machines that use the full installation version, since the full-installed version of the VMS is usually installed after the two connections. But there are a lot of users using a lite version, green version of the virtual machine, it must first look at here. Because the green version needs to install the virtual machine's network service separately, installs generally in the downloaded virtual machine directory, the general name is called "installs. bat" or "Intall.dat", runs it. It is possible that the different names of the versions are not the same, and the NAT service is installed mainly on the installation. If you want to use other means to install the other way.

In addition, all connections here do not set up Internet Connection Sharing, NAT mode virtual machine Internet does not need to set up sharing .

2. See if the virtual machine's network connection settings are correct.

According to the previous three kinds of connection, see if you choose whether the wrong, generally no other special requirements, set as Nat.

after these two steps, you can start the virtual machine to try, note: In the NAT mode, the local connection in the virtual machine does not set the IP itself, should be automatically obtained. If you do not have access to the Internet, proceed to the following steps:3, power off the virtual machine, in the virtual machine's menu: Edit-- Edit Virtual network


Open the Virtual Network editor, (in the case of VM7.0 or above, version 6.5 below) Click the Restore Default button in the lower left corner. Out hints, dot yes.



When the network configuration is recovering, wait for it to recover, click OK.

If it is VM6.5 and the following version, the interface will be different, in the DHCP and NAT two pages, respectively, the VMnet8 service restart on the line.


Then start the virtual machine to try, you should be able to surf the Internet. If you cannot surf the Internet, do the following:

4, start the virtual machine, in the virtual machine system operation, start-run--cmd, and then determine open DOS small window, enter Ipconfig/all in the DOS small window, and then enter to see the local connection IP situation, see the following figure ( I'm following the NAT pattern ):

If this is the case above, which line of IP is also a lot, generally can surf the internet. If you can't surf the internet, first ping the Web address. such as Baidu, in DOS small window input ping www.baidu.com, see not pass.

http://hi.baidu.com/lyllh2004/item/2ca9fd251931d31009750843

Problem solving for VM virtual machine not 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.