Several problems in solving the virtual host's Internet access

  

Friends who are not very familiar with virtual machines and networks, but especially want to use virtual machines to access the Internet. This article helps you to access virtual machines without the knowledge of computer network. .

Virtual Machine Software VMware Workstation 5 or higher is recommended. Note: Be sure to use the full installation, green or lite is beyond the scope of this article.

1. The process of installing VMware Workstation, I naturally need not say more, the next step, you can get it. But here I want to remind you that after installing the VMware Workstation software, it will be in the local connection, more Two virtual NICs, one is the VMware Network Adapter for VMnet1. The other is the VMware Network Adapter for VMnet8

Note: To ensure that the VMware Network Adapter for VMnet8 is enabled, this is the virtual NIC to be used in the NAT network mode. . Pay attention to the IP address of this network card, do not need to do manual settings, remember!

2. Next, you can create a new virtual machine and install the operating system in the virtual machine. Be sure to select the NAT mode when setting up the virtual machine to select "network mode".

3. Install the operating system in the virtual machine, start the virtual system, open the IE browser. At this time, the virtual machine can go online, remember!! The network card in the virtual system does not need to do anything. Settings.

If this time, the virtual machine still can't access the Internet. I suggest you check the following places to ensure that several services of NAT Internet access have been started. The specific operations are as follows:

Start-- -Settings--Control Panel---Administrative Tools---Services

Ensuring that the VMware DHCP Service and VMware NAT Service Services are Started

Some Issues Concerning Virtual Machines Using NAT to Not Access the Internet
>

Many friends, when using VMware Workstation, the virtual machine created uses NAT, but it can't access the Internet in the virtual machine. The reason may be as follows:

1. The host is Windows XP Professional SP2 or Windows Server 2003 SP1, if so, you need to turn off the firewall of VMnet1 and VMnet8.

The method is: right-click "Local Area Connection" and select Properties → Advanced → Settings. In the "Windows Firewall" dialog box, click "Advanced" to remove the "√" in front of VMnet1 and VMnet8.

2, your host installed Rising, Jiangmin or Skynet firewall, or other firewall software, these firewall software you did not properly configure, resulting in VMware can not share the Internet through its built-in NAT function, this When you can disable third-party firewall software.

3, you may have XP built-in "Internet Connection Sharing" in VMnet8 or VMnet1, you have to know that with VMware's NAT function, you do not need to enable sharing on the host, because VMware has built-in NAT Sharing. If so, please remove these shares and restart VMware's NAT service (or restart your computer)

4. You may have used the "green" or "thin" version of VMware Workstation. If so, please use the full version to install. If you need Chinese, you can install Chinese Chinese patch.

Recommended Practice:

The host does not install third-party firewall software, install the full version of VMware Workstation (that is, the English version of VMware Workstation downloaded from the VMware Workstation website or some download sites (VMware- The size of workstation-5.5.3-34685 is 92.4M), install the Chinese patch, modify the XP firewall, let VMnet1 and VMnet8 not use the firewall (host NIC use). Create a virtual machine using a NAT NIC, set to "in the virtual machine" Automatically obtain IP and DNS addresses", in doing so, you can directly access the Internet directly.

About VMware's general settings for sharing Internet access with hosts

In the virtual machine's network connection "Local connection" just use "automatically obtain IP address", there is a need for fixed IP to "Internet Protocol" settings. (Right "Local Area Connection" - Double click "Internet Protocol" to see if it is automatic! Fixed IP Also change here!)

1. Of course, the virtual machine's Internet access mode is selected as NAT. Right click on the virtual machine you want to set, select "Settings" (because there are more than To plan one, select "Ethernet" in "Hardware" and change the network connection on the right to NAT-OK.

2. Click "Edit" in the menu bar - select "Virtual Network Settings". First remove the "automatic bridge" (remove the hook), then select "DHCP" to enable the DHCP service, click "Start" - Apply, and then open the "NAT" function in the same way.

NAT Features of the Internet Mode

1. The virtual network card of the host is not set (the default is automatically obtained)

2. The network card in the virtual system is not set (default is automatically obtained)

The premise of this two implementations is that the virtual dhcp server works normally

The second way is to connect to the Internet: bridging mode

The virtual machine selects "Bridge" and can be directly connected to the Internet after bridging. But I can't share data with the host, so I use the "shared" way to make the virtual machine share the host network card, so as to achieve the purpose of surfing the Internet and sharing the host data.

In the network neighborhood--------- ADSL--Properties---Advanced----Internet Connection Sharing--- - Put the "Allow other computers..." item on the bottom, and then select the option below as "Local Area Connection" -------- OK

The warning box appears. OK, then disconnect ADSL, then reconnect ADSL, go online, OK!

Copyright © Windows knowledge All Rights Reserved