Ubuntu in VM virtual machine cannot connect to network

Source: Internet
Author: User

Before Ubuntu is able to surf the internet, but today after the open found on the net, after a toss, done, recorded.

Scenario One: set the network connection to a custom NAT

settings for VMS hardware-and network adapter

This has been modified to connect to the Internet .....

There's a follow-up on the internet

3. settings for Ubuntu

VMware Enter Ubuntu system

Network Connections->auto Etho (Edit)->ipv4 Settings, System-Preferences

Method-Manual

Addresses-ADD

ip:192.168.116.x (X is any number between ~255 )

Netmask : 255.255.255.0

Gateway : 192.168.116.2

DNS : 192.168.116.2

Gateway View

VMnet8->nat Settings, Virtual Network Editor, Edit, VMware

now, if your machine's VMware NAT Service and the VMware DHCP Service These services are open and you can surf the web. If you are not yet reachable, proceed to the next step.





4. Open Related services

Open VMware NAT Service and the VMware DHCP Service These two services, if not open, are not able to access the network.

XP - Start  - Control Panel  - Management Tools  - Service Locate the VMware NAT service and vmware DHCP service Services, Whether to open the related service.

But there are other solutions that may be needed later.

Programme II

1. In NAT mode, the virtual machine is networked via VMNET8, so first check that the virtual machine's NAT and DHCP are turned on, click on the Edit--virtual network Editor View summary and DHCP Two tab in the Pop-up window.

Make sure that vmnet (NAT) is enabled and DHCP is on.

2. Detects if Internet Connection Sharing (ICS) is turned on, and in NAT mode, opening NAT and ICS can cause confusion, so ICS must be turned off.

3. If the above two steps are not a problem, then you need to see if some services that provide VMware Internet are not started, through the Start menu-run--services.msc View related services

Ensure that the VMware NAT service and VMware DHCP Service are in the started state. My Ubuntu virtual machine is unable to surf the internet exactly as VMware This service did not start.

Ubuntu in VM virtual machine cannot connect to network

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.