VirtualBox Ubuntu Virtual Machine Network access settings

Source: Internet
Author: User

An Ubuntu virtual machine is installed in native (Win7) with VirtualBox, and because of the use of bridging, the machine and the virtual machine are in the same network LAN, and the host can access the virtual machine. But when Ubuntu updated the software, only found that no internet connection. First ping localhost found normal no problem, indicating that the network card OK. However, when the virtual machine pings the machine, it fails to indicate that the virtual machine cannot access the other network. Tell me about the approximate steps I've solved.

1. First set the virtual machine fixed IP, modify the DNS server.

2. The above method failed, continue whether the network adapter settings mismatch problem

The local network adapter is set up as follows:

The virtual machine NIC is set up as follows:

The diagram can discover that the network adapter settings are exactly the same, and this is not the case, if you want the virtual machine to access the network through the computer then the adapter settings are required.

3. is network sharing

You can see that there is no network share, as if you saw the dawning of the problem, as shown below:

When you open a network share,

Can successfully access the network, the problem is solved.

4. Summary

In fact, it's just a simple question that has been used by VMware for a long time before, and this is a problem that has been encountered with VirtualBox. The problem is not difficult, is a simple problem troubleshooting, there is experience and analysis of things. Careful analysis will slowly find a way to solve the problem.

VirtualBox Ubuntu Virtual Machine Network access settings

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.