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