Why cannot VMWARE access the Internet?

Source: Internet
Author: User
Why cannot VMWARE access the Internet? -- Linux general technology-Linux technology and application information. For details, refer to the following section. Linux Internet access
Xp is host, linux is guest, and linux has never been used for two days of surfing the Internet. It is basically impossible to find a lot of information on the Internet. Fortunately, the Internet can finally be accessed. Here is a summary: vmvm Connection Network (bridge Connection)

A. Select VM-settings-Hardware-Ethernet from the vmvm.

B. Select Connect at power on in Device Status and Bridged in Network connection.

C. in Linux, Red Hat-system settings-network, select new-Ethernet connection-vmnics (eth0)-static IP address in network configuration, and set the IP address as follows: 192.168.18.71 subnet mask: 255.255.255.0 Default Gateway: 192.168.18.1 then select this configuration and activate it.

D. in windows, vmnet8 maps to the real Nic, sets the IP address of vmnet8 to the address of the same network as the real Nic, and sets the IP address of vmnet8 in the same way as that of the linux network. linux.

Details: vmnet8: 192.169.18.6; host: 192.168.18.33; subnet mask: 255.255.255.0; Default Gateway: 192.168.18.1

In short, the host and guest must all be in the same network segment and the same gateway.

VMware enables NAT access
I can't remember how I set up VMware to access the Internet last time. I had to study it again after reinstallation. Finally, I took a fancy to a method. I tried it and I was so excited that I had to record it.

1. Set VMnet8 to automatically obtain IP addresses, automatically obtain DNS servers, and enable it.

2. set the "local connection" of the operating system in your virtual machine to automatically obtain the IP address and DNS server (in the virtual machine, right-click "Local Connection"-double-click "Internet Protocol ", let's see if it's automatic! Change the fixed IP address here !)

3. Of course, the VM's Internet access method is selected as NAT.

Right-click the virtual machine you want to set and select "set" (because there are more than one virtual machine), select "Ethernet" in "hardware", and change the network connection on the right to "NAT-OK.

4. click "edit" in the menu bar and select "Virtual Network Settings". Remove the "Automatic bridging" and select "DHCP" to enable the DHCP service, click "start"-application, and then enable the "NAT" function in the same way.

5. The two most important services must be enabled: VMware DHCP Service and VMware NAT Service.

The procedure is as follows: Start --- set -- Control Panel --- management tools --- Service to ensure that the VMware DHCP Service and VMware NAT Service have been started.

P.S. In fact, the Host access method is quite complex, residential broadband, self-connection to the router using the homeshare proxy to access the Internet. It seems that the NAT method is quite useful. As long as the Host can access the Internet, VMware will be able to access the Internet with a little setup.



Through the above settings, and also set the IP address under the INTERNET under WONDOWS to share, still cannot access the INTERNET?
Expert guides ~~~ : 0) 1
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.